diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-21 20:44:23 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-22 13:21:16 +0200 |
commit | c29a025c1a9e79ec984f00c7d174cb562a57a0df (patch) | |
tree | 574520384f9eb7a25906c46050c20ddb1775b1fa /media-sound/qtractor | |
parent | net-misc/youtube-dl: Old. (diff) | |
download | gentoo-c29a025c1a9e79ec984f00c7d174cb562a57a0df.tar.gz gentoo-c29a025c1a9e79ec984f00c7d174cb562a57a0df.tar.bz2 gentoo-c29a025c1a9e79ec984f00c7d174cb562a57a0df.zip |
media-sound/qtractor: 0.9.1 version bump, fix build with Qt 5.11
Closes: https://bugs.gentoo.org/661418
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'media-sound/qtractor')
-rw-r--r-- | media-sound/qtractor/Manifest | 1 | ||||
-rw-r--r-- | media-sound/qtractor/files/qtractor-0.9.1-qt-5.11.patch | 38 | ||||
-rw-r--r-- | media-sound/qtractor/qtractor-0.9.1.ebuild | 64 |
3 files changed, 103 insertions, 0 deletions
diff --git a/media-sound/qtractor/Manifest b/media-sound/qtractor/Manifest index 35dc30730918..765350a6e9c4 100644 --- a/media-sound/qtractor/Manifest +++ b/media-sound/qtractor/Manifest @@ -1,2 +1,3 @@ DIST qtractor-0.8.4.tar.gz 1752418 BLAKE2B a66edab959df43c6210e8fb26338d1299b26eb9a767158e371741bffc847420eac3a5a487da9cb83b6da0fe2705a34c9a3290a2a5400e66cf8e6ff3060e1b541 SHA512 406c19eb37273ac932b0f797db6e064e48119a245fe25762f743a261c9f80ec3ce762c76ddbc633ad17bb5924affb7db7ded95d1403b9b1edaa360e6ff060f92 DIST qtractor-0.8.5.tar.gz 1766017 BLAKE2B eaa75f6efd7ebcfdb1e21c717960d22eb9790c4a3f15ae8bcc364c9b6a5eed6137e4f9d47bd914abdb3679de2cbc30e9c72e32f07fc1ca06959140c5c96dc29b SHA512 9f916e46460403fcb4b1e2dadd048dd52c0d74425a2220cc4d40456141ff7bf5a9cb2fda0f394dac38079af67c322720468d9b7825181442875945899b699329 +DIST qtractor-0.9.1.tar.gz 1763699 BLAKE2B a1d03361266a91abc6c0425d71ee2fa53fd5ec6299a23f15ba1599e480d43c30180334defaa50fcc73a02b7ddafd694bfaf6a00fa14fbdd767276c05b7ec56b8 SHA512 c40a7535740bc8315ffc640f791b640a12a4ba135070502682681c3022923f1edb62738127cae0c523a6410cb163b4cac2828544ae629b42fc93946f3d4d8a59 diff --git a/media-sound/qtractor/files/qtractor-0.9.1-qt-5.11.patch b/media-sound/qtractor/files/qtractor-0.9.1-qt-5.11.patch new file mode 100644 index 000000000000..c30166ea368f --- /dev/null +++ b/media-sound/qtractor/files/qtractor-0.9.1-qt-5.11.patch @@ -0,0 +1,38 @@ +From b49da1c4c44e668f3ae9ceba3002d77d10694c85 Mon Sep 17 00:00:00 2001 +From: daviddavid <geiger.david68210@gmail.com> +Date: Wed, 30 May 2018 06:49:13 +0200 +Subject: [PATCH] Fix build with Qt5 >= 5.11.0 + +--- + src/qtractorMeter.cpp | 1 + + src/qtractorTrackButton.cpp | 2 ++ + 2 files changed, 3 insertions(+) + +diff --git a/src/qtractorMeter.cpp b/src/qtractorMeter.cpp +index d1b826c5..14c38366 100644 +--- a/src/qtractorMeter.cpp ++++ b/src/qtractorMeter.cpp +@@ -29,6 +29,7 @@ + + #include "qtractorObserverWidget.h" + ++#include <QAction> + #include <QHBoxLayout> + #include <QVBoxLayout> + #include <QPainter> +diff --git a/src/qtractorTrackButton.cpp b/src/qtractorTrackButton.cpp +index 488eb831..5a314dd8 100644 +--- a/src/qtractorTrackButton.cpp ++++ b/src/qtractorTrackButton.cpp +@@ -26,6 +26,8 @@ + + #include "qtractorMidiControlObserver.h" + ++#include <QAction> ++ + + + //---------------------------------------------------------------------------- +-- +2.18.0 + diff --git a/media-sound/qtractor/qtractor-0.9.1.ebuild b/media-sound/qtractor/qtractor-0.9.1.ebuild new file mode 100644 index 000000000000..1595ca670dfa --- /dev/null +++ b/media-sound/qtractor/qtractor-0.9.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic qmake-utils + +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="cpu_flags_x86_sse debug dssi libsamplerate mad osc rubberband vorbis zlib" + +RDEPEND=" + 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 + 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 ) +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" ) + +src_configure() { + append-cxxflags -std=c++11 + econf \ + --enable-ladspa \ + --enable-lilv \ + --disable-qt4 \ + --with-qt5=$(qt5_get_libdir)/qt5 \ + $(use_enable debug) \ + $(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 +} |