From b991680458464aa6801598ea574ef543cd824182 Mon Sep 17 00:00:00 2001 From: Gerion Entrup Date: Tue, 19 Mar 2019 00:20:04 +0100 Subject: media-sound/mixxx-9999: fixed version Signed-off-by: Gerion Entrup --- media-sound/mixxx/Manifest | 4 + media-sound/mixxx/files/mixxx-2.0.0-docs.patch | 10 ++ .../mixxx/files/mixxx-2.2.0-lilv_include_fix.patch | 33 +++++ media-sound/mixxx/metadata.xml | 17 +++ media-sound/mixxx/mixxx-9999.ebuild | 137 +++++++++++++++++++++ 5 files changed, 201 insertions(+) create mode 100644 media-sound/mixxx/Manifest create mode 100644 media-sound/mixxx/files/mixxx-2.0.0-docs.patch create mode 100644 media-sound/mixxx/files/mixxx-2.2.0-lilv_include_fix.patch create mode 100644 media-sound/mixxx/metadata.xml create mode 100644 media-sound/mixxx/mixxx-9999.ebuild (limited to 'media-sound') diff --git a/media-sound/mixxx/Manifest b/media-sound/mixxx/Manifest new file mode 100644 index 0000000..ca7fd1e --- /dev/null +++ b/media-sound/mixxx/Manifest @@ -0,0 +1,4 @@ +AUX mixxx-2.0.0-docs.patch 427 BLAKE2B a5a14e20678661c24511d01a55712b1afa1d16a92f3ca17061297a9ea7affb10312a4a5b6ee6083685b617e7ee41c85d0a83ba5e8c113fccc7c70fbe77266c6f SHA512 07d6ee8d857ed63dae3ce63c7f411226f443f366f1dd01bd023e3b2a639eb77501be0e47206c8dccad6ad4fb409a10861fbb448b47b7415fe484bc5043d137e0 +AUX mixxx-2.2.0-lilv_include_fix.patch 1006 BLAKE2B 1541ecc32cb20d02d71577615b96605938a2d38e40e04fc43e864c8a85722475b795c807ccda1df0ff86c6268d1d1425934e3b413fdedc2effcbd6a2ab584ad6 SHA512 e15980f9861a61bf965636182fe3f0d41d25d569d2d4b43e167e53e33fe7e8f533878e93db237e90551ac409811de497e3313e32fc62462bf963b7f1f29c4a11 +EBUILD mixxx-9999.ebuild 3162 BLAKE2B 3f726f565e3550da03c264a561e7eaedc2e30768d9e64b983d2570fc91feb953685a2f81bcb06606365f46e88b976e2da7047372eb3011f967cf37cbcbb209d6 SHA512 27f4d8b742089bbb4812f7497239da23c32df80e717bea7d37b85050dc320dc6006a7cb346880a8ce84fff5666fac4bbaa7086a3dfaa7323984d6dfa4f6f2115 +MISC metadata.xml 625 BLAKE2B ab6c43fa511101affba1c6777872541d81661da8c321c138f9a43bd8329f0cca9e3b21bbc0773dba874936ffd5b38a2ca28878fabe89e348bf018a991c9516f6 SHA512 ff270bf2c9a03de23bc8c1a6812590c4b99fa1465f21bbb0e117595f90a89d62fbb8ca8b42a1271a31a662d73bb9427fc52b5b60f49e31395a37a4d9b43373f3 diff --git a/media-sound/mixxx/files/mixxx-2.0.0-docs.patch b/media-sound/mixxx/files/mixxx-2.0.0-docs.patch new file mode 100644 index 0000000..942b538 --- /dev/null +++ b/media-sound/mixxx/files/mixxx-2.0.0-docs.patch @@ -0,0 +1,10 @@ +--- mixxx-9999/SConscript ++++ mixxx-9999/SConscript +@@ -290,7 +290,6 @@ + env.Alias('install', controllermappings) + env.Alias('install', translations) + env.Alias('install', keyboardmappings) +- env.Alias('install', docs) + env.Alias('install', dotdesktop) + env.Alias('install', icon) + env.Alias('install', promotracks) diff --git a/media-sound/mixxx/files/mixxx-2.2.0-lilv_include_fix.patch b/media-sound/mixxx/files/mixxx-2.2.0-lilv_include_fix.patch new file mode 100644 index 0000000..4addc98 --- /dev/null +++ b/media-sound/mixxx/files/mixxx-2.2.0-lilv_include_fix.patch @@ -0,0 +1,33 @@ +--- mixxx-release-2.2.0/src/effects/lv2/lv2backend.h ++++ mixxx-release-2.2.0/src/effects/lv2/lv2backend.h +@@ -5,7 +5,7 @@ + #include "effects/effectsbackend.h" + #include "effects/lv2/lv2manifest.h" + #include "preferences/usersettings.h" +-#include ++#include + + class LV2Backend : public EffectsBackend { + Q_OBJECT +--- mixxx-release-2.2.0/src/effects/lv2/lv2effectprocessor.h ++++ mixxx-release-2.2.0/src/effects/lv2/lv2effectprocessor.h +@@ -4,7 +4,7 @@ + #include "effects/effectprocessor.h" + #include "effects/effectmanifest.h" + #include "engine/effects/engineeffectparameter.h" +-#include ++#include + #include "effects/defs.h" + #include "engine/engine.h" + +--- mixxx-release-2.2.0/src/effects/lv2/lv2manifest.h ++++ mixxx-release-2.2.0/src/effects/lv2/lv2manifest.h +@@ -3,7 +3,7 @@ + + #include "effects/effectmanifest.h" + #include "effects/defs.h" +-#include ++#include + + class LV2Manifest { + public: diff --git a/media-sound/mixxx/metadata.xml b/media-sound/mixxx/metadata.xml new file mode 100644 index 0000000..e8ca01a --- /dev/null +++ b/media-sound/mixxx/metadata.xml @@ -0,0 +1,17 @@ + + + + + gerion.entrup@flump.de + Gerion Entrup + + + Enable HID controller support + Add support for Ladspa V2 via media-libs/lilv + Enable broadcasting support via media-libs/libshout + + + mixxx + mixxxdj/mixxx + + diff --git a/media-sound/mixxx/mixxx-9999.ebuild b/media-sound/mixxx/mixxx-9999.ebuild new file mode 100644 index 0000000..69fd88d --- /dev/null +++ b/media-sound/mixxx/mixxx-9999.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic scons-utils toolchain-funcs + +DESCRIPTION="Advanced Digital DJ tool based on Qt" +HOMEPAGE="https://www.mixxx.org/" +if [[ "${PV}" == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mixxxdj/${PN}.git" +else + #SRC_URI="https://downloads.mixxx.org/${P}/${P}-src.tar.gz" + SRC_URI="https://github.com/mixxxdj/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-release-${PV}" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="aac doc ffmpeg hid lv2 mp3 mp4 opus 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/glib:2 + dev-libs/protobuf:0= + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtdbus: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/qtx11extras: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= + sys-power/upower + virtual/libusb:1 + virtual/opengl + x11-libs/libX11 + aac? ( + media-libs/faad2 + media-libs/libmp4v2:0 + ) + hid? ( dev-libs/hidapi ) + lv2? ( >=media-libs/lilv-0.24.2-r3 ) + mp3? ( media-libs/libmad ) + mp4? ( media-libs/libmp4v2:= ) + opus? ( media-libs/opusfile ) + 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 + "${FILESDIR}"/${PN}-2.2.0-lilv_include_fix.patch +) + +src_prepare() { + # use multilib compatible directory for plugins + sed -i -e '/unix_lib_path =/!b;n;'"s/'lib'/'$(get_libdir)'/" 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 + lilv="$(usex lv2 1 0)" + m4a="$(usex mp4 1 0)" + mad="$(usex mp3 1 0)" + optimize="${myoptimize}" + opus="$(usex opus 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 +} -- cgit v1.2.3-65-gdbad