aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerion Entrup <gerion.entrup@flump.de>2021-08-21 02:46:29 +0200
committerGerion Entrup <gerion.entrup@flump.de>2021-08-21 02:46:29 +0200
commit23538d19b8bff5e3bfd19228888c020d1c6dc9d2 (patch)
treeddf4d62c887ee8bdcb1a73c41afec4ea196e1341 /media-sound
parentdev-python/lifxlan: python 3.9/3.10 (diff)
downloadgerislay-master.tar.gz
gerislay-master.tar.bz2
gerislay-master.zip
media-sound/mixxx-9999: addHEADmaster
Signed-off-by: Gerion Entrup <gerion.entrup@flump.de>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mixxx/Manifest4
-rw-r--r--media-sound/mixxx/files/mixxx-9999-docs.patch41
-rw-r--r--media-sound/mixxx/files/mixxx-9999-gentoo-build.patch13
-rw-r--r--media-sound/mixxx/metadata.xml19
-rw-r--r--media-sound/mixxx/mixxx-9999.ebuild125
5 files changed, 202 insertions, 0 deletions
diff --git a/media-sound/mixxx/Manifest b/media-sound/mixxx/Manifest
new file mode 100644
index 0000000..6e2bac3
--- /dev/null
+++ b/media-sound/mixxx/Manifest
@@ -0,0 +1,4 @@
+AUX mixxx-9999-docs.patch 1043 BLAKE2B bfdb51de701e279f841de83cce6bccd613feaaeb7ffe2e209f357837d52d6cbf2ab452916752f8e6f8cec635a39e0efa5d1f7a921d76d8d093876584151fc35b SHA512 8be44f7d286c5fe6cabbd64d9294f72aada7fb3bfdeb8d0787772e131e48642698bdf0fd1975f8a385a5e76508889464e4c4f0f377b0c60f61fc967ee647e661
+AUX mixxx-9999-gentoo-build.patch 651 BLAKE2B 7f20c41fa4bf89be5e1e8dff28daf9d72e5ef20f2e71fcde97504cad4de50dd40af83fa5542bba6a1e156d9fe31e3c39486f9b2494c4855e890f3aa43d606768 SHA512 490309a7d49f385d75b54acbc155ec0e011e7f7753a7b876c123d521dc32659172c5e3354ceff47251746807b8182792ba3ee1e26bbe907dc7c99f7ab6d7c99f
+EBUILD mixxx-9999.ebuild 2764 BLAKE2B 376e42b36aa436d8dbf54cf31894b69c23c0154c6608d080a088028dfe3adc8285d1723fc5d5707bfeee44238b4b84f6a39bcd229004e983e27a7e19911c569b SHA512 b51bbe7d43b2e44d83f10179995341cf41569f57157e085cf0c8baec999bd9998a8d359918e8ddee14cc96bf403e79bb04cda32dcd3c7710403157cf4fbf7c27
+MISC metadata.xml 849 BLAKE2B 68fcb8b3e3353ad0c99ff9532c5b098738addbe5f3965bc931d5555f0110ee3b4a39514ae471881d8a4b0270d4257e502bd82d9010b235394ae3d0daf2ba4089 SHA512 eb222405a3de8c013d44b2fb114d42f32d54651309ec66176433ad055937a45d4dc7cc2cf3075a413ba508348100f74bd4c06ac77fc7960fbcf915d86bb02336
diff --git a/media-sound/mixxx/files/mixxx-9999-docs.patch b/media-sound/mixxx/files/mixxx-9999-docs.patch
new file mode 100644
index 0000000..b47b349
--- /dev/null
+++ b/media-sound/mixxx/files/mixxx-9999-docs.patch
@@ -0,0 +1,41 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e52fe65faf..870cdfaec3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1359,21 +1359,21 @@ install(
+ )
+
+ # Documentation
+-install(
+- FILES
+- "${CMAKE_CURRENT_SOURCE_DIR}/README.md"
+- "${CMAKE_CURRENT_SOURCE_DIR}/res/Mixxx-Keyboard-Shortcuts.pdf"
+- DESTINATION
+- "${MIXXX_INSTALL_DOCDIR}"
+-)
+-if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/res/Mixxx-Manual.pdf")
+- install(
+- FILES
+- "${CMAKE_CURRENT_SOURCE_DIR}/res/Mixxx-Manual.pdf"
+- DESTINATION
+- "${MIXXX_INSTALL_DOCDIR}"
+- )
+-endif()
++# install(
++# FILES
++# "${CMAKE_CURRENT_SOURCE_DIR}/README.md"
++# "${CMAKE_CURRENT_SOURCE_DIR}/res/Mixxx-Keyboard-Shortcuts.pdf"
++# DESTINATION
++# "${MIXXX_INSTALL_DOCDIR}"
++# )
++# if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/res/Mixxx-Manual.pdf")
++# install(
++# FILES
++# "${CMAKE_CURRENT_SOURCE_DIR}/res/Mixxx-Manual.pdf"
++# DESTINATION
++# "${MIXXX_INSTALL_DOCDIR}"
++# )
++# endif()
+
+ # Additional Linux-only files
+ if(UNIX AND NOT APPLE)
diff --git a/media-sound/mixxx/files/mixxx-9999-gentoo-build.patch b/media-sound/mixxx/files/mixxx-9999-gentoo-build.patch
new file mode 100644
index 0000000..564fe80
--- /dev/null
+++ b/media-sound/mixxx/files/mixxx-9999-gentoo-build.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c8dc23e5f5..1a84946f9d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -53,8 +53,6 @@ if(NOT CMAKE_CONFIGURATION_TYPES)
+ set(CMAKE_BUILD_TYPE "${default_build_type}" CACHE STRING "Choose the type of build." FORCE)
+ # Set the possible values of build type for cmake-gui
+ set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "RelWithDebInfo")
+- elseif(NOT CMAKE_BUILD_TYPE MATCHES "^(Debug|Release|RelWithDebInfo)$")
+- message(FATAL_ERROR "CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} is not supported, use one of Debug, Release or RelWithDebInfo.")
+ endif()
+ endif()
+
diff --git a/media-sound/mixxx/metadata.xml b/media-sound/mixxx/metadata.xml
new file mode 100644
index 0000000..c20e54f
--- /dev/null
+++ b/media-sound/mixxx/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proaudio@gentoo.org</email>
+ <name>Gentoo ProAudio Project</name>
+ </maintainer>
+ <use>
+ <flag name="hid">Enable HID controller support</flag>
+ <flag name="keyfinder">Enable musical key detection support via <pkg>media-libs/libkeyfinder</pkg></flag>
+ <flag name="lv2">Add support for Ladspa V2 via <pkg>media-libs/lilv</pkg></flag>
+ <flag name="qtkeychain">Enable Secure credential storage support via <pkg>dev-libs/qtkeychain</pkg></flag>
+ <flag name="shout">Enable broadcasting support via <pkg>media-libs/libshout</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">mixxx</remote-id>
+ <remote-id type="github">mixxxdj/mixxx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/mixxx/mixxx-9999.ebuild b/media-sound/mixxx/mixxx-9999.ebuild
new file mode 100644
index 0000000..322c7b6
--- /dev/null
+++ b/media-sound/mixxx/mixxx-9999.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg udev
+
+DESCRIPTION="Advanced Digital DJ tool based on Qt"
+HOMEPAGE="https://www.mixxx.org/"
+if [[ "${PV}" == 9999 || ?.?.9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/mixxxdj/${PN}.git"
+else
+ SRC_URI="https://github.com/mixxxdj/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-release-${PV}"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+if [[ "${PV}" == ?.?.9999 ]] ; then
+ EGIT_BRANCH=${PV%.9999}
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="aac doc ffmpeg hid keyfinder lv2 mp3 mp4 opus qtkeychain shout wavpack"
+
+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/libebur128
+ media-libs/libid3tag
+ media-libs/libogg
+ media-libs/libsndfile
+ media-libs/libsoundtouch
+ media-libs/libvorbis
+ media-libs/portaudio
+ media-libs/portmidi
+ media-libs/rubberband
+ media-libs/taglib
+ media-libs/vamp-plugin-sdk
+ sci-libs/fftw:3.0=
+ sys-power/upower
+ virtual/glu
+ virtual/libusb:1
+ virtual/opengl
+ virtual/udev
+ x11-libs/libX11
+ aac? (
+ media-libs/faad2
+ media-libs/libmp4v2:0
+ )
+ ffmpeg? ( media-video/ffmpeg:0= )
+ hid? ( >=dev-libs/hidapi-0.10.1 )
+ keyfinder? ( media-libs/libkeyfinder )
+ lv2? ( media-libs/lilv )
+ mp3? ( media-libs/libmad )
+ mp4? ( media-libs/libmp4v2:= )
+ opus? ( media-libs/opusfile )
+ qtkeychain? ( dev-libs/qtkeychain )
+ shout? ( >=media-libs/libshout-2.4.5 )
+ wavpack? ( media-sound/wavpack )
+ "
+
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+ dev-qt/qttest:5
+ dev-qt/qtxmlpatterns:5"
+
+PATCHES=(
+ "${FILESDIR}"/mixxx-9999-docs.patch
+ "${FILESDIR}"/mixxx-9999-gentoo-build.patch
+ )
+
+src_prepare() {
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DFAAD="$(usex aac on off)"
+ -DFFMPEG="$(usex ffmpeg on off)"
+ -DHID="$(usex hid on off)"
+ -DLILV="$(usex lv2 on off)"
+ -DMAD="$(usex mp3 on off)"
+ -DOPTIMIZE="off"
+ -DCCACHE_SUPPORT="off"
+ -DOPUS="$(usex opus on off)"
+ -DBROADCAST="$(usex shout on off)"
+ -DVINYLCONTROL="on"
+ -DINSTALL_USER_UDEV_RULES=OFF
+ -DWAVPACK="$(usex wavpack on off)"
+ -DQTKEYCHAIN="$(usex qtkeychain on off)"
+ -DKEYFINDER="$(usex keyfinder on off)"
+ -DENGINEPRIME="OFF"
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+}
+
+src_install() {
+ cmake_src_install
+ udev_newrules "${S}"/res/linux/mixxx-usb-uaccess.rules 69-mixxx-usb-uaccess.rules
+
+ if use doc ; then
+ dodoc README res/Mixxx-Manual.pdf res/Mixxx-Keyboard-Shortcuts.pdf
+ fi
+}