diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-16 21:30:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-16 21:30:25 +0100 |
commit | 2ef316f0ffbd90d833effd2d09d1232e5767e321 (patch) | |
tree | b283d778349e3970cd176709bcc3bc4e401d9f17 /media-sound/mixxx | |
parent | a109f15e80eca93b1cc39b6f7ddb12124dfe2ca7 (diff) |
gentoo auto-resync : 16:08:2023 - 21:30:25
Diffstat (limited to 'media-sound/mixxx')
-rw-r--r-- | media-sound/mixxx/Manifest | 2 | ||||
-rw-r--r-- | media-sound/mixxx/mixxx-2.3.6.ebuild | 161 |
2 files changed, 163 insertions, 0 deletions
diff --git a/media-sound/mixxx/Manifest b/media-sound/mixxx/Manifest index 5709a109973e..f05c6c6ebe0a 100644 --- a/media-sound/mixxx/Manifest +++ b/media-sound/mixxx/Manifest @@ -3,6 +3,7 @@ AUX mixxx-2.3.0-docs.patch 626 BLAKE2B 73eca9849d69112edd254bd28329b360c31434eb1 AUX mixxx-2.3.1-benchmark_compile_fix.patch 220 BLAKE2B 28c5a7fe5e6e465bd7d9445e741d366341fadcb8d142961cf25d6b57aabcc453f74cbb0d3f63b01df5e65e7151a9e59545c50b52e732234ae6a734eb171cef82 SHA512 d301a87760a0162a9e09e08dd544183219776c61d2810d75c37d39a9ac9fcf8a329681e53ca922864ccafeb98231cbeea565db2196e56bf62417a09b40bae4b8 AUX mixxx-9999-docs.patch 695 BLAKE2B 5f639550ff8aca7f7aeed8d4d6dfd44e2b0eb8c3cc3f5c6578ff802dfd4c11fa8a9fdf3f820ec8e4fdb1449abcc50673a06b4dac74ba4916b6111e8117474002 SHA512 cd34b4faeb939a1d802936b9b4f740f252ba572926815726f1957df6cc07a362ae03d9772484188dfc0ebcc942808c06ef2c9bab8df6164de4b2b65a447d9f92 DIST mixxx-2.3.5.tar.gz 41226268 BLAKE2B 311dc36c5544e34651b4eb824fac2ab70827382295ba1912d53ec9706fc976a89d5417c969cb41e23c22a456953046e472fcbdbe78316949e02e6db7e15704b4 SHA512 d81208e8fe91e1843bac7ab512dc248457266b935bf8720694f2bedf96389ba35789d68ea77fcecf0a02682fb75de2752612b2c44a49b8eba52323cab2b82e51 +DIST mixxx-2.3.6.tar.gz 41285084 BLAKE2B 35bedb5f41a56577bc59411ca979e3e780c1da2420bc0a7ad98d998c89f8c272202ba42e8b8089904ca8e1a1b6ac5155d08d556538245ce3242b4ea5a670e6d2 SHA512 a92c2c92dc7619ac135d940f23ffdc101c528eca6322517805afb9eb48a84c6339cefb88b96bdac6ffb23967c2f93f621daf3e98bfecbf7f3fe7626ddcec4398 DIST mixxx-manual-2.3-ca.pdf 34083768 BLAKE2B 0572da067016d6fd1a0e955cfa9daad319e633357532bad1143333a277d3dee1876709447ecfb954b5294f5fd176af229884e11a8e2fd40d03c12a6cf80bf01c SHA512 965f2f344bfa57531974362de889a92bb8b3024e527158f6c1819e285f70078762e958f7805ff1f833e7310646925cb8120eb3010f8600aa2cd21b2266a9333b DIST mixxx-manual-2.3-cs.pdf 8358958 BLAKE2B de00e08468fed15670751b0997759af0eca71b041d0366ad0e8cf2297fe27368eb6340a3f109b3f992a6f01a99f0d04ba7962c983756cdca2121bf9ca025aa76 SHA512 648eedde674155094b4fa9605422032e71427c95580ffe3f01c8d41a26495bd9bd2d8d7dff38e99bdfbba3a46aee9ca6a6e1c9327b8d1d503310e4c669755068 DIST mixxx-manual-2.3-de.pdf 34069018 BLAKE2B bdcc970d37e43c2f1244aa1f03bc07287581711e534419caada3aabbc585e3006ec489e752142b5b50e526646d3d5431e0ec5924b9d6b31a92de4e7cc7efcc86 SHA512 fbbf27c4b898f856e61301bd1f26a3523bb97c133d96c8d94f1267c15ef63aa03313c18ebec62d4380c423c3896067ed1cedccbc775e5abc6d14e1baf8b668fc @@ -27,6 +28,7 @@ DIST mixxx-manual-2.3-tr.pdf 34062405 BLAKE2B 69b5f76b4e74aa0d48636ae3914a6f40e0 DIST mixxx-manual-2.3-zh-CN.pdf 34165133 BLAKE2B 58e717082ace6824532392a282cd1452c279410c547fabc333b6adccaf47fb8e4bbac0c612f9679c8d85317e9b706e5fe10b7c1fc11a4325a14c5b3faafdda46 SHA512 995fb6c9bf1f729eaa08cd5b2003f21c76274f8f3046bd85b771cb86c429fa65cc50f0f4a36396e654a4378125157777b2f0f04a9343b20aa3aef76281395aec DIST mixxx-manual-2.3-zh-TW.pdf 34135938 BLAKE2B b5747b2156d686bb84166beb2c1552e0d998f3c402793444631c1f146c93fd8f6addb5fc34c0f59b16b2866994b8f64ee5670ab26c683d51b0c36d3f247dcf70 SHA512 55a5c3d5064c021f73a48dab5fb93094bc0f9220a1790518b043a21900dc6792a2fc01ee5c6def6338a3df09bcbb7441e1c8b2f23aac2aad2b2a5974babb8a9f EBUILD mixxx-2.3.5-r1.ebuild 3786 BLAKE2B cfd13b9e0ec845245e086e90895658dd1b4011071525b1166de348bfca7ef45c566d4b5095a81dc44fb264b5ea78e172ba3d173fb5dc61d32cf2dbb28754c2d0 SHA512 6c64e16c7f47237fa1e7ed0577e9060246a7ee453e5b388157b9556a9f53f1381e32e3a7ebef3982a04bef13324edf7c0e20d5999e51214288620285e0980c59 +EBUILD mixxx-2.3.6.ebuild 3788 BLAKE2B e360baef22fa0b37c4d85c4816c9a4863d5b4cf70062a5b1bc329aaeaeb9cc6c02fce5881b7dd7b65d598c236679180317d9882720c91024af73b972ff6e6279 SHA512 98bd9dcaae222f55b8181061b777cb29f4b8cde8eeddece871307b98f3f25f9f14f283bce469fd93ee7c45941fe64f9219d744a23231d9b8f9eb6034f21a9e9c EBUILD mixxx-2.3.9999.ebuild 3686 BLAKE2B a3693db71d5c8c264e008cc0e813d46a887e2e1cc7430a3e47316338710d1a49c8922ebd731fdd32d89ee7b70da2b52639f8348438ca353f52a55177f31810ba SHA512 948003c5a5e08fc001b298a006230621c51dd5dbd51f86c737cf446e4f8d6d8fa8e3474fdfc3538d8480cef4b828d4b1444f338ab025cba50d3162ee62aeb3ff EBUILD mixxx-9999.ebuild 2829 BLAKE2B f21165282b08bcd40f3a345bf523c3881efc1268634a2a2f19fa387ad946d447f94c2f22300d5ecb2c553461d1b93edcc2e879962cd83bff9da73cb264664cf0 SHA512 eb55e944cda6a0eff9416415c84cff5e1ad6d35b808b19699e852740587f4020f44b1978236e14254cb8e66bfcede63c88e0eb69b611afdb67932886167c1221 MISC metadata.xml 903 BLAKE2B 1fd2e01da4d96a257d0ba595e67005e5233503f54ea17c81f65d105a61dc42f84df601cc112ff0a5e99393cbc53a0130b890d96a47cc2b88b59cbe7b9779654d SHA512 7e9dfd69240a57efbdaceb4dcfe71549d7a8c2edba5c81f956407e101cb62a0c51cf231e1e68c029783340189139309dde4fa3e995a231856ea094df09288cd8 diff --git a/media-sound/mixxx/mixxx-2.3.6.ebuild b/media-sound/mixxx/mixxx-2.3.6.ebuild new file mode 100644 index 000000000000..45b4429dbb1e --- /dev/null +++ b/media-sound/mixxx/mixxx-2.3.6.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg udev + +MY_PV=$(ver_cut 1-2) +DESCRIPTION="Advanced Digital DJ tool based on Qt" +HOMEPAGE="https://mixxx.org/" +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + if [[ ${PV} == ?.?.9999 ]] ; then + EGIT_BRANCH=${PV%.9999} + fi + EGIT_REPO_URI="https://github.com/mixxxdj/${PN}.git" +else + SRC_URI="https://github.com/mixxxdj/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + #S="${WORKDIR}/${PN}-release-${PV}" + KEYWORDS="~amd64 ~arm64 ~x86" +fi +LICENSE="GPL-2" +SLOT="0" +IUSE="aac ffmpeg hid keyfinder lv2 modplug mp3 mp4 opus qtkeychain shout wavpack" + +RDEPEND=" + dev-db/sqlite + dev-libs/glib:2 + dev-libs/protobuf:= + 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[alsa] + media-libs/portmidi + media-libs/rubberband + media-libs/taglib + media-libs/vamp-plugin-sdk + media-sound/lame + 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 + ) + ffmpeg? ( media-video/ffmpeg:= ) + hid? ( dev-libs/hidapi ) + keyfinder? ( media-libs/libkeyfinder ) + lv2? ( media-libs/lilv ) + modplug? ( media-libs/libmodplug ) + mp3? ( media-libs/libmad ) + mp4? ( media-libs/libmp4v2:= ) + opus? ( media-libs/opusfile ) + qtkeychain? ( dev-libs/qtkeychain:=[qt5(+)] ) + wavpack? ( media-sound/wavpack ) +" + # libshout-idjc-2.4.6 is required. Please check and re-add once it's + # available in ::gentoo + # Meanwhile we're using the bundled libshout-idjc. See bug #775443 + #shout? ( >=media-libs/libshout-idjc-2.4.6 ) + +DEPEND="${RDEPEND} + dev-qt/qtconcurrent:5 +" +BDEPEND=" + dev-qt/qttest:5 + dev-qt/qtxmlpatterns:5 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-2.3.0-docs.patch + "${FILESDIR}"/${PN}-2.3.0-cmake.patch + "${FILESDIR}"/${PN}-2.3.1-benchmark_compile_fix.patch +) + +PLOCALES=" + ca cs de en es fi fr gl id it ja kn nl pl pt ro ru sl sq sr tr zh-CN zh-TW +" + +mixxx_set_globals() { + local lang + local MANUAL_URI_BASE="https://downloads.mixxx.org/manual/${MY_PV}" + for lang in ${PLOCALES} ; do + SRC_URI+=" l10n_${lang}? ( ${MANUAL_URI_BASE}/${PN}-manual-${MY_PV}-${lang/ja/ja-JP}.pdf )" + IUSE+=" l10n_${lang/ en/ +en}" + done + SRC_URI+=" ${MANUAL_URI_BASE}/${PN}-manual-${MY_PV}-en.pdf" +} +mixxx_set_globals + +src_configure() { + local mycmakeargs=( + # Not available on Linux yet and requires additional deps + -DBATTERY="off" + -DBROADCAST="$(usex shout on off)" + -DCCACHE_SUPPORT="off" + -DFAAD="$(usex aac on off)" + -DFFMPEG="$(usex ffmpeg on off)" + -DHID="$(usex hid on off)" + -DINSTALL_USER_UDEV_RULES=OFF + -DKEYFINDER="$(usex keyfinder on off)" + -DLILV="$(usex lv2 on off)" + -DMAD="$(usex mp3 on off)" + -DMODPLUG="$(usex modplug on off)" + -DOPTIMIZE="off" + -DOPUS="$(usex opus on off)" + -DQTKEYCHAIN="$(usex qtkeychain on off)" + -DVINYLCONTROL="on" + -DWAVPACK="$(usex wavpack on off)" + ) + + if [[ ${PV} == 9999 ]] ; then + mycmakeargs+=( + -DENGINEPRIME="OFF" + ) + fi + cmake_src_configure +} + +src_install() { + cmake_src_install + udev_newrules "${S}"/res/linux/mixxx-usb-uaccess.rules 69-mixxx-usb-uaccess.rules + dodoc README.md CHANGELOG.md + local locale + for locale in ${PLOCALES} ; do + if use l10n_${locale} ; then + dodoc "${DISTDIR}"/${PN}-manual-${MY_PV}-${locale/ja/ja-JP}.pdf + fi + done +} + +pkg_postinst() { + xdg_pkg_postinst + udev_reload +} + +pkg_postrm() { + xdg_pkg_postrm + udev_reload +} |