summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-09-18 10:48:09 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-09-18 10:48:22 +0200
commit7ea83106a24d4b2f57a57be876f57861fc0dc266 (patch)
tree86e96438e44ddbac2e5e3d95f8b6122c08b18709 /media-sound
parentdev-util/debootstrap: Old (diff)
downloadgentoo-7ea83106a24d4b2f57a57be876f57861fc0dc266.tar.gz
gentoo-7ea83106a24d4b2f57a57be876f57861fc0dc266.tar.bz2
gentoo-7ea83106a24d4b2f57a57be876f57861fc0dc266.zip
media-sound/qtractor: bump to 0.9.17
Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qtractor/Manifest1
-rw-r--r--media-sound/qtractor/files/qtractor-0.9.17-dont-compress-manpages.patch15
-rw-r--r--media-sound/qtractor/qtractor-0.9.17.ebuild67
3 files changed, 83 insertions, 0 deletions
diff --git a/media-sound/qtractor/Manifest b/media-sound/qtractor/Manifest
index bccac992b940..2dea0c48babc 100644
--- a/media-sound/qtractor/Manifest
+++ b/media-sound/qtractor/Manifest
@@ -1 +1,2 @@
DIST qtractor-0.9.16.tar.gz 1937425 BLAKE2B b49c2455338bf14c918b9a00567855d68e0bc954ce1e7d4df53cb8330a44e65d51e6ea21571d0cc22900182a39efa099194d2cc676c9f353eb76ee69a62d48ab SHA512 7312b73bccf79e1ca2cadb0bf33b492b221a65fec9894225e78512d63a9ac65b8387edb854607c44cc8a7ecd72758437c5c67ef901e58e495b09c0f48bbda01a
+DIST qtractor-0.9.17.tar.gz 1934317 BLAKE2B 2cb387484203fcd6511a87364db9ed00d4d21452948abc0bad7d2775f022ab9a224537a8300a46ec220ddc497d071072456ed4e46a3e73c52954b5992bb1ba52 SHA512 9392eb594920be5c826613bfd75be93ac006a718c14256b20bf8d6af23f9316f56c801e5422548b9387ccfd4fe3ba926f1a01cacc2324eab1ca66255f02c9c93
diff --git a/media-sound/qtractor/files/qtractor-0.9.17-dont-compress-manpages.patch b/media-sound/qtractor/files/qtractor-0.9.17-dont-compress-manpages.patch
new file mode 100644
index 000000000000..cb4d5a4bbae7
--- /dev/null
+++ b/media-sound/qtractor/files/qtractor-0.9.17-dont-compress-manpages.patch
@@ -0,0 +1,15 @@
+diff --git a/Makefile.in b/Makefile.in
+index 42849a9..3f05f9d 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -346,10 +346,8 @@ install: $(target) translations_lrelease $(name).1
+ @install -v -m 0644 $(translations_targets) $(DESTDIR)$(translations_dir)
+ @install -d -v -m 0755 $(DESTDIR)$(mandir)/man1
+ @install -v -m 0644 $(name).1 $(DESTDIR)$(mandir)/man1/$(name).1
+- @gzip -nvf $(DESTDIR)$(mandir)/man1/$(name).1
+ @install -d -v -m 0755 $(DESTDIR)$(mandir)/fr/man1
+ @install -v -m 0644 $(name).fr.1 $(DESTDIR)$(mandir)/fr/man1/$(name).1
+- @gzip -nvf $(DESTDIR)$(mandir)/fr/man1/$(name).1
+
+ uninstall: $(DESTDIR)$(prefix)/bin/$(name)
+ @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall
diff --git a/media-sound/qtractor/qtractor-0.9.17.ebuild b/media-sound/qtractor/qtractor-0.9.17.ebuild
new file mode 100644
index 000000000000..bc0c143c3e97
--- /dev/null
+++ b/media-sound/qtractor/qtractor-0.9.17.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic qmake-utils xdg
+
+DESCRIPTION="Audio/MIDI multi-track sequencer written in C++ with the Qt framework"
+HOMEPAGE="https://qtractor.sourceforge.io"
+SRC_URI="mirror://sourceforge/qtractor/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="aubio cpu_flags_x86_sse debug dssi libsamplerate mad osc rubberband vorbis zlib"
+
+BDEPEND="
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+"
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ dev-qt/qtx11extras:5
+ media-libs/alsa-lib
+ media-libs/ladspa-sdk
+ media-libs/libsndfile
+ >=media-libs/lilv-0.16.0
+ media-libs/lv2
+ media-libs/suil
+ virtual/jack
+ aubio? ( media-libs/aubio )
+ dssi? ( media-libs/dssi )
+ libsamplerate? ( media-libs/libsamplerate )
+ mad? ( media-libs/libmad )
+ osc? ( media-libs/liblo )
+ rubberband? ( media-libs/rubberband )
+ vorbis? ( media-libs/libvorbis )
+ zlib? ( sys-libs/zlib )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-dont-compress-manpages.patch"
+)
+
+src_configure() {
+ append-cxxflags -std=c++11
+ econf \
+ --enable-ladspa \
+ --enable-liblilv \
+ $(use_enable debug) \
+ $(use_enable aubio libaubio) \
+ $(use_enable dssi) \
+ $(use_enable libsamplerate) \
+ $(use_enable mad libmad) \
+ $(use_enable osc liblo) \
+ $(use_enable rubberband librubberband) \
+ $(use_enable cpu_flags_x86_sse sse) \
+ $(use_enable vorbis libvorbis) \
+ $(use_enable zlib libz)
+
+ eqmake5 ${PN}.pro -o ${PN}.mak
+}