From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mixxx/
Date: Sun, 23 Oct 2016 09:40:11 +0000 (UTC) [thread overview]
Message-ID: <1477215593.c343e9714a8ba66d50594529228d433ba60bd3a5.soap@gentoo> (raw)
commit: c343e9714a8ba66d50594529228d433ba60bd3a5
Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sat Oct 22 13:57:52 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Oct 23 09:39:53 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c343e971
media-sound/mixxx: Unconditionally build with Qt5
Get rid of unnecessary REQUIRED_USE.
Sort USE and RDEPEND.
Add fftw to RDEPEND with slot op.
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2631
Signed-off-by: David Seifert <soap <AT> gentoo.org>
media-sound/mixxx/mixxx-2.0.0-r3.ebuild | 126 ++++++++++++++++++++++++++++++++
1 file changed, 126 insertions(+)
diff --git a/media-sound/mixxx/mixxx-2.0.0-r3.ebuild b/media-sound/mixxx/mixxx-2.0.0-r3.ebuild
new file mode 100644
index 00000000..705eeb2
--- /dev/null
+++ b/media-sound/mixxx/mixxx-2.0.0-r3.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic scons-utils toolchain-funcs
+
+DESCRIPTION="Advanced Digital DJ tool based on Qt"
+HOMEPAGE="http://www.mixxx.org/"
+SRC_URI="http://downloads.${PN}.org/${P}/${P}-src.tar.gz"
+
+# Upstream patches
+SRC_URI+=" https://github.com/mixxxdj/mixxx/commit/51d95ba58d99309f439cb7e2d1285cfb33aa0f63.patch -> ${PN}-2.0.0-ffmpeg30.patch"
+SRC_URI+=" https://github.com/mixxxdj/mixxx/commit/869e07067b15e09bf7ef886a8772afdfb79cbc3c.patch -> ${PN}-2.0.0-ffmpeg31.patch"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="aac debug doc ffmpeg hid mp3 mp4 shout wavpack"
+
+# fails to compile system-fidlib. Add ">media-libs/fidlib-0.9.10-r1" once this
+# got fixed
+RDEPEND="dev-db/sqlite
+ dev-libs/protobuf
+ dev-qt/qtconcurrent:5
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtopengl:5
+ dev-qt/qtscript:5[scripttools]
+ dev-qt/qtsql:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ media-libs/chromaprint
+ media-libs/flac
+ media-libs/libid3tag
+ media-libs/libogg
+ media-libs/libsndfile
+ >=media-libs/libsoundtouch-1.5
+ media-libs/libvorbis
+ >=media-libs/portaudio-19_pre
+ media-libs/portmidi
+ media-libs/rubberband
+ media-libs/taglib
+ media-libs/vamp-plugin-sdk
+ sci-libs/fftw:3.0=
+ virtual/libusb:1
+ virtual/opengl
+ x11-libs/libX11
+ aac? (
+ media-libs/faad2
+ media-libs/libmp4v2:0
+ )
+ hid? ( dev-libs/hidapi )
+ mp3? ( media-libs/libmad )
+ mp4? ( media-libs/libmp4v2:= )
+ shout? ( media-libs/libshout )
+ wavpack? ( media-sound/wavpack )
+ ffmpeg? ( media-video/ffmpeg:0= )"
+# media-libs/rubberband RDEPENDs on sci-libs/fftw:3.0
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-qt/qttest:5
+ dev-qt/qtxmlpatterns:5
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.0.0-docs.patch
+ "${DISTDIR}"/${P}-ffmpeg30.patch
+ "${DISTDIR}"/${P}-ffmpeg31.patch
+)
+
+src_prepare() {
+ # use multilib compatible directory for plugins
+ sed -i -e "/unix_lib_path =/s/'lib'/'$(get_libdir)'/" src/SConscript || die
+
+ default
+}
+
+src_configure() {
+ local myoptimize=0
+
+ # Required for >=qt-5.7.0 (bug #590690)
+ append-cxxflags -std=c++11
+
+ # Try to get cpu type based on CFLAGS.
+ # Bug #591968
+ for i in $(get-flag mcpu) $(get-flag march) ; do
+ if [[ ${i} = native ]] ; then
+ myoptimize="native"
+ break
+ fi
+ done
+
+ myesconsargs=(
+ prefix="${EPREFIX}/usr"
+ qtdir="${EPREFIX}/usr/$(get_libdir)/qt5"
+ faad="$(usex aac 1 0)"
+ ffmpeg="$(usex ffmpeg 1 0)"
+ hid="$(usex hid 1 0)"
+ hifieq=1
+ m4a="$(usex mp4 1 0)"
+ mad="$(usex mp3 1 0)"
+ optimize="${myoptimize}"
+ qdebug="$(usex debug 1 0)"
+ qt5=1
+ shoutcast="$(usex shout 1 0)"
+ vinylcontrol=1
+ wv="$(usex wavpack 1 0)"
+ )
+}
+
+src_compile() {
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" escons ${myesconsargs[@]}
+}
+
+src_install() {
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" escons ${myesconsargs[@]} \
+ install_root="${ED}"/usr install
+
+ dodoc README Mixxx-Manual.pdf
+}
next reply other threads:[~2016-10-23 9:40 UTC|newest]
Thread overview: 91+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-23 9:40 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-10-25 7:45 [gentoo-commits] repo/gentoo:master commit in: media-sound/mixxx/ Miroslav Šulc
2023-10-25 6:25 Arthur Zamarin
2023-10-25 6:25 Arthur Zamarin
2023-08-16 13:42 Miroslav Šulc
2023-07-10 5:39 Miroslav Šulc
2023-07-09 18:48 Arthur Zamarin
2023-06-03 2:23 Sam James
2023-06-02 23:26 Sam James
2023-05-31 12:42 Arthur Zamarin
2023-05-30 19:39 Andreas Sturmlechner
2023-05-11 5:24 Miroslav Šulc
2023-03-04 7:38 Miroslav Šulc
2023-01-23 4:34 Sam James
2023-01-23 4:28 Sam James
2023-01-23 4:28 Sam James
2022-07-27 4:51 Miroslav Šulc
2022-07-26 15:24 Agostino Sarubbo
2022-07-26 7:04 Sam James
2022-06-25 13:00 Miroslav Šulc
2022-06-25 8:46 Miroslav Šulc
2022-06-16 16:30 Sam James
2022-05-10 13:48 Agostino Sarubbo
2022-05-02 2:02 Sam James
2022-02-22 19:25 Sam James
2022-02-17 14:56 Lars Wendler
2022-01-20 16:41 Lars Wendler
2022-01-19 7:56 Lars Wendler
2022-01-18 13:30 Lars Wendler
2022-01-18 11:47 Lars Wendler
2022-01-18 11:43 Lars Wendler
2021-10-14 9:13 Sam James
2021-08-16 21:28 Sam James
2021-06-12 14:20 Lars Wendler
2021-01-28 12:12 Miroslav Šulc
2020-09-19 11:28 Michał Górny
2020-09-02 12:20 Miroslav Šulc
2020-09-02 7:45 Miroslav Šulc
2020-09-02 2:43 Sam James
2020-08-30 19:10 Thomas Deutschmann
2020-08-28 10:51 Miroslav Šulc
2020-02-26 22:57 Andreas Sturmlechner
2020-02-24 7:41 Agostino Sarubbo
2020-02-16 21:14 Thomas Deutschmann
2020-02-13 23:20 Andreas Sturmlechner
2020-02-13 23:20 Andreas Sturmlechner
2020-02-13 23:20 Andreas Sturmlechner
2020-01-24 22:48 Andreas Sturmlechner
2019-12-12 17:00 Lars Wendler
2019-12-12 17:00 Lars Wendler
2019-08-19 11:01 Lars Wendler
2019-08-19 11:01 Lars Wendler
2019-05-20 11:31 Lars Wendler
2019-05-20 11:16 Mikle Kolyada
2019-05-19 15:48 Thomas Deutschmann
2019-04-27 16:06 Lars Wendler
2019-04-27 16:06 Lars Wendler
2019-04-20 23:58 Lars Wendler
2019-04-20 23:58 Lars Wendler
2019-03-24 12:56 Lars Wendler
2019-03-11 13:43 Lars Wendler
2018-12-28 16:18 Lars Wendler
2018-12-28 16:12 Lars Wendler
2018-12-27 18:48 Lars Wendler
2018-12-26 0:04 Lars Wendler
2018-11-02 16:18 Lars Wendler
2018-11-02 16:18 Lars Wendler
2018-09-10 12:37 Lars Wendler
2018-09-01 22:42 Mikle Kolyada
2018-08-29 1:07 Thomas Deutschmann
2018-08-25 12:30 Andreas Sturmlechner
2018-08-25 12:30 Andreas Sturmlechner
2018-08-23 23:05 Lars Wendler
2018-06-19 9:53 Lars Wendler
2018-06-19 9:49 Lars Wendler
2018-05-10 22:08 Lars Wendler
2018-05-10 22:08 Lars Wendler
2018-05-10 22:08 Lars Wendler
2017-08-31 13:21 Tim Harder
2017-07-01 10:05 Michael Palimaka
2017-06-30 11:10 Agostino Sarubbo
2017-06-25 16:32 Agostino Sarubbo
2016-12-09 8:58 Lars Wendler
2016-10-23 9:40 David Seifert
2016-10-21 14:15 Ettore Di Giacinto
2016-10-21 14:15 Ettore Di Giacinto
2016-10-19 14:39 Lars Wendler
2016-09-05 8:00 Lars Wendler
2016-09-02 13:48 Lars Wendler
2016-08-06 16:51 Michał Górny
2016-08-03 8:18 Lars Wendler
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=1477215593.c343e9714a8ba66d50594529228d433ba60bd3a5.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