diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-07-25 19:55:20 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-07-27 10:43:18 +0200 |
commit | 14933f7a430140d5b82f110b584bf85cfa471ee7 (patch) | |
tree | 30ff2a746f00fcaa610b909c16cf9555b26ee2ae /media-sound/fmit | |
parent | media-sound/qmmp: Move dev-qt/linguist-tools:5 to BDEPEND (diff) | |
download | gentoo-14933f7a430140d5b82f110b584bf85cfa471ee7.tar.gz gentoo-14933f7a430140d5b82f110b584bf85cfa471ee7.tar.bz2 gentoo-14933f7a430140d5b82f110b584bf85cfa471ee7.zip |
media-sound/fmit: Move dev-qt/linguist-tools:5 to BDEPEND, EAPI-8
Bug: https://bugs.gentoo.org/544938
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/fmit')
-rw-r--r-- | media-sound/fmit/fmit-1.0.15-r3.ebuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/media-sound/fmit/fmit-1.0.15-r3.ebuild b/media-sound/fmit/fmit-1.0.15-r3.ebuild index 1d322a86d482..07d0f788fdab 100644 --- a/media-sound/fmit/fmit-1.0.15-r3.ebuild +++ b/media-sound/fmit/fmit-1.0.15-r3.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit qmake-utils @@ -27,21 +27,20 @@ RDEPEND=" jack? ( virtual/jack ) portaudio? ( media-libs/portaudio ) " -DEPEND="${RDEPEND} - dev-qt/linguist-tools:5 -" +DEPEND="${RDEPEND}" +BDEPEND="dev-qt/linguist-tools:5" src_prepare() { # Fix the path to readme file to prevent errors on start up sed -i "/QFile readmefile/c\QFile readmefile \ (\"/usr/share/doc/${PF}/README.txt\");" \ - src/main.cpp || die "README sed failed" + src/main.cpp || die # Fix the PREFIX location, insert real path. sed -i "/QString fmitprefix/c\QString fmitprefix(STR(/usr));" \ - src/main.cpp || die "PREFIX fix sed failed" + src/main.cpp || die # Fix the PREFIX location, insert real path. sed -i "/QString fmitprefix/c\QString fmitprefix(STR(/usr));" \ - src/modules/MicrotonalView.cpp || die "PREFIX fix sed failed" + src/modules/MicrotonalView.cpp || die default } @@ -51,7 +50,7 @@ src_configure() { use ${flag} && config+=" acs_${flag}" done - "$(qt5_get_bindir)"/lrelease fmit.pro || die "Running lrelease failed" + "$(qt5_get_bindir)"/lrelease fmit.pro || die eqmake5 CONFIG+="${config}" fmit.pro PREFIX="${D}"/usr \ PREFIXSHORTCUT="${D}"/usr DISTDIR=/usr |