[gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
commit: d1a80e3ed1357abc0928a1f0dd143bd6f0366ec1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Jul 25 18:02:20 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jul 27 08:43:18 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a80e3e media-sound/fmit: Drop usage of 'D' in src_configure Closes: https://bugs.gentoo.org/836077 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/fmit/fmit-1.0.15-r3.ebuild | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/media-sound/fmit/fmit-1.0.15-r3.ebuild b/media-sound/fmit/fmit-1.0.15-r3.ebuild index 07d0f788fdab..5ca73642751a 100644 --- a/media-sound/fmit/fmit-1.0.15-r3.ebuild +++ b/media-sound/fmit/fmit-1.0.15-r3.ebuild @@ -52,6 +52,9 @@ src_configure() { "$(qt5_get_bindir)"/lrelease fmit.pro || die - eqmake5 CONFIG+="${config}" fmit.pro PREFIX="${D}"/usr \ - PREFIXSHORTCUT="${D}"/usr DISTDIR=/usr + eqmake5 CONFIG+="${config}" PREFIX=/usr fmit.pro +} + +src_install() { + emake install INSTALL_ROOT="${D}" }
[gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
commit: 14933f7a430140d5b82f110b584bf85cfa471ee7 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Jul 25 17:55:20 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jul 27 08:43:18 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14933f7a media-sound/fmit: Move dev-qt/linguist-tools:5 to BDEPEND, EAPI-8 Bug: https://bugs.gentoo.org/544938 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/fmit/fmit-1.0.15-r3.ebuild | 17 - 1 file 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
[gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
commit: 84ec93d3cf6d3c7721cf0c57f41a09427a42f0c9 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Fri Mar 27 03:31:45 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Apr 3 20:06:21 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ec93d3 media-sound/fmit: dev-qt/qtgui[-gles2 => -gles2-only] Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/fmit/{fmit-1.0.15-r2.ebuild => fmit-1.0.15-r3.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-sound/fmit/fmit-1.0.15-r2.ebuild b/media-sound/fmit/fmit-1.0.15-r3.ebuild similarity index 95% rename from media-sound/fmit/fmit-1.0.15-r2.ebuild rename to media-sound/fmit/fmit-1.0.15-r3.ebuild index 163fafa5f86..1d322a86d48 100644 --- a/media-sound/fmit/fmit-1.0.15-r2.ebuild +++ b/media-sound/fmit/fmit-1.0.15-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,7 +16,7 @@ IUSE="alsa jack oss portaudio" RDEPEND=" dev-qt/qtcore:5 - dev-qt/qtgui:5[-gles2] + dev-qt/qtgui:5[-gles2-only] dev-qt/qtmultimedia:5 dev-qt/qtopengl:5 dev-qt/qtsvg:5
[gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
commit: c627eff71fbf53e69edb82c8bf9fd1ee363f4acc Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed May 22 15:06:36 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed May 22 15:41:22 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c627eff7 media-sound/fmit: Drop 1.0.15-r1 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/fmit/fmit-1.0.15-r1.ebuild | 55 -- 1 file changed, 55 deletions(-) diff --git a/media-sound/fmit/fmit-1.0.15-r1.ebuild b/media-sound/fmit/fmit-1.0.15-r1.ebuild deleted file mode 100644 index d7e9c9594e3..000 --- a/media-sound/fmit/fmit-1.0.15-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit qmake-utils - -DESCRIPTION="Free Music Instrument Tuner" -HOMEPAGE="https://gillesdegottex.github.io/fmit; -SRC_URI="https://github.com/gillesdegottex/fmit/archive/v${PV}.tar.gz \ - -> ${P}.tar.gz" - -LICENSE="GPL-2+ LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="alsa jack oss portaudio" - -RDEPEND=">=sci-libs/fftw-3.3.4:3.0= - dev-qt/qtmultimedia:5 - dev-qt/qtopengl:5 - dev-qt/qtsvg:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5[-gles2] - alsa? ( media-libs/alsa-lib ) - jack? ( media-sound/jack-audio-connection-kit ) - portaudio? ( media-libs/portaudio )" - -DEPEND="${RDEPEND} - 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" - # Fix the PREFIX location, insert real path. - sed -i "/QString fmitprefix/c\QString fmitprefix(STR(/usr));" \ - src/main.cpp || die "PREFIX fix sed failed" - # 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" - default -} - -src_configure() { - local config flag - for flag in alsa jack portaudio oss; do - use ${flag} && config+=" acs_${flag}" - done - - "$(qt5_get_bindir)"/lrelease fmit.pro || die "Running lrelease failed" - - eqmake5 CONFIG+="${config}" fmit.pro PREFIX="${D}"/usr \ - PREFIXSHORTCUT="${D}"/usr DISTDIR=/usr -}
[gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
commit: f0c4c8ce8f40c4655183b7da2ae7195a0a1ba68c Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed May 22 14:07:16 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed May 22 15:41:22 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0c4c8ce media-sound/fmit: EAPI-7 bump, virtual/jack, missing DEPENDs Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/fmit/fmit-1.0.15-r2.ebuild | 58 ++ 1 file changed, 58 insertions(+) diff --git a/media-sound/fmit/fmit-1.0.15-r2.ebuild b/media-sound/fmit/fmit-1.0.15-r2.ebuild new file mode 100644 index 000..163fafa5f86 --- /dev/null +++ b/media-sound/fmit/fmit-1.0.15-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils + +DESCRIPTION="Free Music Instrument Tuner" +HOMEPAGE="https://gillesdegottex.github.io/fmit; +SRC_URI="https://github.com/gillesdegottex/fmit/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa jack oss portaudio" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5[-gles2] + dev-qt/qtmultimedia:5 + dev-qt/qtopengl:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + >=sci-libs/fftw-3.3.4:3.0= + virtual/opengl + alsa? ( media-libs/alsa-lib ) + jack? ( virtual/jack ) + portaudio? ( media-libs/portaudio ) +" +DEPEND="${RDEPEND} + 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" + # Fix the PREFIX location, insert real path. + sed -i "/QString fmitprefix/c\QString fmitprefix(STR(/usr));" \ + src/main.cpp || die "PREFIX fix sed failed" + # 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" + default +} + +src_configure() { + local config flag + for flag in alsa jack portaudio oss; do + use ${flag} && config+=" acs_${flag}" + done + + "$(qt5_get_bindir)"/lrelease fmit.pro || die "Running lrelease failed" + + eqmake5 CONFIG+="${config}" fmit.pro PREFIX="${D}"/usr \ + PREFIXSHORTCUT="${D}"/usr DISTDIR=/usr +}
[gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
commit: 4b952930195a538844490ae72aa6f618e642f120 Author: Pacho Ramos gentoo org> AuthorDate: Sun Jan 27 19:35:05 2019 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Jan 27 19:45:51 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b952930 media-sound/fmit: Drop old Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Pacho Ramos gentoo.org> media-sound/fmit/fmit-1.0.15.ebuild | 63 - 1 file changed, 63 deletions(-) diff --git a/media-sound/fmit/fmit-1.0.15.ebuild b/media-sound/fmit/fmit-1.0.15.ebuild deleted file mode 100644 index 57d69ae6f6a..000 --- a/media-sound/fmit/fmit-1.0.15.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit qmake-utils - -MY_PN="v${PV}" - -DESCRIPTION="Free Music Instrument Tuner" -HOMEPAGE="https://gillesdegottex.github.io/fmit; -SRC_URI="https://github.com/gillesdegottex/fmit/archive/${MY_PN}.tar.gz \ - -> ${P}.tar.gz" - -LICENSE="GPL-2+ LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="alsa jack oss portaudio" - -RDEPEND=">=sci-libs/fftw-3.3.4 - media-libs/freeglut - dev-qt/qtmultimedia:5 - dev-qt/qtopengl:5 - dev-qt/qtsvg:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - alsa? ( media-libs/alsa-lib ) - jack? ( media-sound/jack-audio-connection-kit ) - portaudio? ( media-libs/portaudio )" - -DEPEND="${RDEPEND}" - -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" - # Fix the PREFIX location, insert real path. - sed -i "/QString fmitprefix/c\QString fmitprefix(STR(/usr));" \ - src/main.cpp || die "PREFIX fix sed failed" - # 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" - default -} - -src_configure() { - local config - for flag in alsa jack portaudio oss; do - use ${flag} && config+=" acs_${flag}" - done - - "$(qt5_get_bindir)"/lrelease fmit.pro || die "Running lrelease failed" - - eqmake5 CONFIG+="${config}" fmit.pro PREFIX="${D}"/usr \ - PREFIXSHORTCUT="${D}"/usr DISTDIR=/usr -} - -src_install() { - emake DESTDIR="${D}" install - insinto /usr/share/doc/"${PF}"/ - doins README.txt - docompress -x /usr/share/doc/"${PF}"/ -}
[gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
commit: f23b67d25b0eb41166655207fa050a7375f3a967 Author: Patrice Clement gentoo org> AuthorDate: Sun Apr 15 18:41:51 2018 + Commit: Patrice Clement gentoo org> CommitDate: Sun Apr 15 18:47:58 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f23b67d2 media-sound/fmit: remove maintainer. Bug: https://bugs.gentoo.org/651824 Package-Manager: Portage-2.3.24, Repoman-2.3.6 media-sound/fmit/metadata.xml | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/media-sound/fmit/metadata.xml b/media-sound/fmit/metadata.xml index 34b1f4859d2..e375cff0029 100644 --- a/media-sound/fmit/metadata.xml +++ b/media-sound/fmit/metadata.xml @@ -1,14 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - bren...@horan.hk - Brendan Horan - - - proxy-ma...@gentoo.org - Proxy Maintainers - + gillesdegottex/fmit
[gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
commit: d58e53ce618d05069b4b7283045f809e6746483a Author: Michael Palimaka gentoo org> AuthorDate: Wed Sep 28 18:34:26 2016 + Commit: Michael Palimaka gentoo org> CommitDate: Wed Sep 28 18:35:43 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d58e53ce media-sound/fmit: pin dev-qt/linguist-tools to SLOT 5 Package-Manager: portage-2.3.1 media-sound/fmit/fmit-1.0.15-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-sound/fmit/fmit-1.0.15-r1.ebuild b/media-sound/fmit/fmit-1.0.15-r1.ebuild index 646c5bd..578d5d5 100644 --- a/media-sound/fmit/fmit-1.0.15-r1.ebuild +++ b/media-sound/fmit/fmit-1.0.15-r1.ebuild @@ -27,7 +27,7 @@ RDEPEND=">=sci-libs/fftw-3.3.4:3.0= portaudio? ( media-libs/portaudio )" DEPEND="${RDEPEND} - dev-qt/linguist-tools" + dev-qt/linguist-tools:5" src_prepare() { # Fix the path to readme file to prevent errors on start up
[gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
commit: a1c40f3d38a6cbdeee0e7ff9775b0e516e6eb984 Author: Brendan Horan basstech net> AuthorDate: Wed Aug 31 14:17:23 2016 + Commit: David Seifert gentoo org> CommitDate: Sun Sep 4 18:58:11 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c40f3d media-sound/fmit: Fixed RDEPEND, bump to -r1 * Removed media-libs/freeglut from RDEPEND, upstream no longer need * Added dev-qt/linguist-tools to RDEPEND * Slotted sci-libs/fftw, should rebuild on (sub)-slot changes Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/2176 Signed-off-by: David Seifert gentoo.org> media-sound/fmit/fmit-1.0.15-r1.ebuild | 56 ++ 1 file changed, 56 insertions(+) diff --git a/media-sound/fmit/fmit-1.0.15-r1.ebuild b/media-sound/fmit/fmit-1.0.15-r1.ebuild new file mode 100644 index ..646c5bd --- /dev/null +++ b/media-sound/fmit/fmit-1.0.15-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit qmake-utils + +DESCRIPTION="Free Music Instrument Tuner" +HOMEPAGE="https://gillesdegottex.github.io/fmit; +SRC_URI="https://github.com/gillesdegottex/fmit/archive/v${PV}.tar.gz \ + -> ${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa jack oss portaudio" + +RDEPEND=">=sci-libs/fftw-3.3.4:3.0= + dev-qt/qtmultimedia:5 + dev-qt/qtopengl:5 + dev-qt/qtsvg:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5[-gles2] + alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit ) + portaudio? ( media-libs/portaudio )" + +DEPEND="${RDEPEND} + dev-qt/linguist-tools" + +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" + # Fix the PREFIX location, insert real path. + sed -i "/QString fmitprefix/c\QString fmitprefix(STR(/usr));" \ + src/main.cpp || die "PREFIX fix sed failed" + # 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" + default +} + +src_configure() { + local config flag + for flag in alsa jack portaudio oss; do + use ${flag} && config+=" acs_${flag}" + done + + "$(qt5_get_bindir)"/lrelease fmit.pro || die "Running lrelease failed" + + eqmake5 CONFIG+="${config}" fmit.pro PREFIX="${D}"/usr \ + PREFIXSHORTCUT="${D}"/usr DISTDIR=/usr +}
[gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
commit: 11775bd71064f465aac6822dd358a5a9e5fb4f9d Author: Brendan Horan horan hk> AuthorDate: Tue Jun 21 13:04:58 2016 + Commit: Göktürk Yüksek gentoo org> CommitDate: Tue Jun 21 14:00:11 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11775bd7 media-sound/fmit: initial commit with version 1.0.15 FMIT is a graphical utility for tuning musical instruments, with error and volume history and advanced features. Package-Manager: portage-2.2.28 media-sound/fmit/Manifest | 1 + media-sound/fmit/fmit-1.0.15.ebuild | 64 + media-sound/fmit/metadata.xml | 12 +++ 3 files changed, 77 insertions(+) diff --git a/media-sound/fmit/Manifest b/media-sound/fmit/Manifest new file mode 100644 index 000..4ee8ddf --- /dev/null +++ b/media-sound/fmit/Manifest @@ -0,0 +1 @@ +DIST fmit-1.0.15.tar.gz 295365 SHA256 3c819e0f0e4e04acdb8b856feff893b000cd47ccb39fb6362ca1a721b19f3fb6 SHA512 44537669391f5043efe35b53d9693f8ab6a151918583d35439c1b29feca4a707225038512c9a2de734ada9e9acb3b4b191b866038edaed9fe8d1fee09c540aac WHIRLPOOL cbb3d76ebfce83b3b9354621e02a645d391782e44c1e469c83a9aa3b615f8fd89ea4f45ce3336c424156735bfc133a07f06ff65fd103568cca7779dc25754d9f diff --git a/media-sound/fmit/fmit-1.0.15.ebuild b/media-sound/fmit/fmit-1.0.15.ebuild new file mode 100644 index 000..d59902f --- /dev/null +++ b/media-sound/fmit/fmit-1.0.15.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit qmake-utils + +MY_PN="v${PV}" + +DESCRIPTION="Free Music Instrument Tuner" +HOMEPAGE="https://gillesdegottex.github.io/fmit; +SRC_URI="https://github.com/gillesdegottex/fmit/archive/${MY_PN}.tar.gz \ + -> ${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa jack oss portaudio" + +RDEPEND=">=sci-libs/fftw-3.3.4 + media-libs/freeglut + dev-qt/qtmultimedia:5 + dev-qt/qtopengl:5 + dev-qt/qtsvg:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit ) + portaudio? ( media-libs/portaudio )" + +DEPEND="${RDEPEND}" + +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" + # Fix the PREFIX location, insert real path. + sed -i "/QString fmitprefix/c\QString fmitprefix(STR(/usr));" \ + src/main.cpp || die "PREFIX fix sed failed" + # 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" + default +} + +src_configure() { + local config + for flag in alsa jack portaudio oss; do + use ${flag} && config+=" acs_${flag}" + done + + "$(qt5_get_bindir)"/lrelease fmit.pro || die "Running lrelease failed" + + eqmake5 CONFIG+="${config}" fmit.pro PREFIX="${D}"/usr \ + PREFIXSHORTCUT="${D}"/usr DISTDIR=/usr +} + +src_install() { + emake DESTDIR="${D}" install + insinto /usr/share/doc/"${PF}"/ + doins README.txt + docompress -x /usr/share/doc/"${PF}"/ +} diff --git a/media-sound/fmit/metadata.xml b/media-sound/fmit/metadata.xml new file mode 100644 index 000..06aa47c --- /dev/null +++ b/media-sound/fmit/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + bren...@horan.hk + Brendan Horan + + + proxy-ma...@gentoo.org + Proxy Maintainers + +