diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2016-10-22 17:34:59 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-10-23 11:40:03 +0200 |
commit | 3551b9af4d1ac2f5d9dc2e540a032eb6088307aa (patch) | |
tree | 46bdb24251619eed9c845b938696c9879dc9281b | |
parent | media-sound/mixxx: Unconditionally build with Qt5 (diff) | |
download | gentoo-3551b9af4d1ac2f5d9dc2e540a032eb6088307aa.tar.gz gentoo-3551b9af4d1ac2f5d9dc2e540a032eb6088307aa.tar.bz2 gentoo-3551b9af4d1ac2f5d9dc2e540a032eb6088307aa.zip |
media-sound/mixxx: Drop old
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2631
Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r-- | media-sound/mixxx/mixxx-2.0.0-r2.ebuild | 145 |
1 files changed, 0 insertions, 145 deletions
diff --git a/media-sound/mixxx/mixxx-2.0.0-r2.ebuild b/media-sound/mixxx/mixxx-2.0.0-r2.ebuild deleted file mode 100644 index 9baebd114d66..000000000000 --- a/media-sound/mixxx/mixxx-2.0.0-r2.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# 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="A 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 hid mp3 mp4 qt4 +qt5 shout wavpack ffmpeg" -REQUIRED_USE="^^ ( qt4 qt5 )" - -# fails to compile system-fidlib. Add ">media-libs/fidlib-0.9.10-r1" once this -# got fixed -RDEPEND="dev-db/sqlite - virtual/libusb:1 - dev-libs/protobuf - 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 - 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:= ) - qt4? ( - dev-qt/qtcore:4 - dev-qt/qtgui:4 - dev-qt/qtopengl:4 - dev-qt/qtscript:4 - dev-qt/qtsql:4 - dev-qt/qtsvg:4 - ) - qt5? ( - 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 - ) - 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} - sci-libs/fftw:3.0 - virtual/pkgconfig - qt5? ( - 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 myqtdir=qt5 - local myoptimize=0 - - if use qt4 ; then - myqtdir="qt4" - fi - - if use qt5 ; then - # Required for >=qt-5.7.0 (bug #590690) - append-cxxflags -std=c++11 - fi - - # 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)/${myqtdir}" - 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="$(usex qt5 1 0)" - 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 -} |