From: "Göktürk Yüksek" <gokturk@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/
Date: Tue, 21 Jun 2016 14:07:51 +0000 (UTC) [thread overview]
Message-ID: <1466517611.11775bd71064f465aac6822dd358a5a9e5fb4f9d.gokturk@gentoo> (raw)
commit: 11775bd71064f465aac6822dd358a5a9e5fb4f9d
Author: Brendan Horan <brendan <AT> horan <DOT> hk>
AuthorDate: Tue Jun 21 13:04:58 2016 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 14:00:11 2016 +0000
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 0000000..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 0000000..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 0000000..06aa47c
--- /dev/null
+++ b/media-sound/fmit/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>brendan@horan.hk</email>
+ <name>Brendan Horan</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
next reply other threads:[~2016-06-21 14:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-21 14:07 Göktürk Yüksek [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-09-04 18:58 [gentoo-commits] repo/gentoo:master commit in: media-sound/fmit/ David Seifert
2016-09-28 18:35 Michael Palimaka
2018-04-15 18:48 Patrice Clement
2019-01-27 19:46 Pacho Ramos
2019-05-22 15:41 Andreas Sturmlechner
2019-05-22 15:41 Andreas Sturmlechner
2020-04-03 20:07 Andreas Sturmlechner
2022-07-27 8:43 Andreas Sturmlechner
2022-07-27 8:43 Andreas Sturmlechner
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=1466517611.11775bd71064f465aac6822dd358a5a9e5fb4f9d.gokturk@gentoo \
--to=gokturk@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