public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
Date: Sun,  4 Sep 2016 18:58:26 +0000 (UTC)	[thread overview]
Message-ID: <1473015491.a1c40f3d38a6cbdeee0e7ff9775b0e516e6eb984.soap@gentoo> (raw)

commit:     a1c40f3d38a6cbdeee0e7ff9775b0e516e6eb984
Author:     Brendan Horan <brendanhoran <AT> basstech <DOT> net>
AuthorDate: Wed Aug 31 14:17:23 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Sep  4 18:58:11 2016 +0000
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 <soap <AT> 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 00000000..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
+}


             reply	other threads:[~2016-09-04 18:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-04 18:58 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-07-27  8:43 [gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/ Andreas Sturmlechner
2022-07-27  8:43 Andreas Sturmlechner
2020-04-03 20:07 Andreas Sturmlechner
2019-05-22 15:41 Andreas Sturmlechner
2019-05-22 15:41 Andreas Sturmlechner
2019-01-27 19:46 Pacho Ramos
2018-04-15 18:48 Patrice Clement
2016-09-28 18:35 Michael Palimaka
2016-06-21 14:07 Göktürk Yüksek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1473015491.a1c40f3d38a6cbdeee0e7ff9775b0e516e6eb984.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox