summaryrefslogtreecommitdiff
path: root/media-sound
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/cantata/cantata-2.5.0-r15.ebuild5
-rw-r--r--media-sound/cantata/files/cantata-2.5.0-fix-build-taglib2.patch42
-rw-r--r--media-sound/mixxx/Manifest1
-rw-r--r--media-sound/mixxx/files/mixxx-2.3.0-cmake.patch11
-rw-r--r--media-sound/mixxx/files/mixxx-2.3.0-docs.patch26
-rw-r--r--media-sound/mixxx/mixxx-2.5.0.ebuild122
-rw-r--r--media-sound/strawberry/Manifest1
-rw-r--r--media-sound/strawberry/strawberry-1.0.23-r10.ebuild122
8 files changed, 206 insertions, 124 deletions
diff --git a/media-sound/cantata/cantata-2.5.0-r15.ebuild b/media-sound/cantata/cantata-2.5.0-r15.ebuild
index 67729439..91815339 100644
--- a/media-sound/cantata/cantata-2.5.0-r15.ebuild
+++ b/media-sound/cantata/cantata-2.5.0-r15.ebuild
@@ -65,7 +65,10 @@ DEPEND="${COMMON_DEPEND}
"
BDEPEND="dev-qt/linguist-tools:5"
-PATCHES=( "${FILESDIR}/${PN}-2.2.0-headers.patch" )
+PATCHES=(
+ "${FILESDIR}/${PN}-2.2.0-headers.patch"
+ "${FILESDIR}/${PN}-2.5.0-fix-build-taglib2.patch"
+)
src_prepare() {
remove_locale() {
diff --git a/media-sound/cantata/files/cantata-2.5.0-fix-build-taglib2.patch b/media-sound/cantata/files/cantata-2.5.0-fix-build-taglib2.patch
new file mode 100644
index 00000000..c0cc7490
--- /dev/null
+++ b/media-sound/cantata/files/cantata-2.5.0-fix-build-taglib2.patch
@@ -0,0 +1,42 @@
+patch from fork as official is archived
+https://github.com/nullobsi/cantata/commit/45bac9eb3e99ed75b6539f92418556dac1c0193d.patch
+diff --git a/tags/tags.cpp b/tags/tags.cpp
+index ce86a1e8..5817dc1b 100644
+--- a/tags/tags.cpp
++++ b/tags/tags.cpp
+@@ -619,7 +619,7 @@ static void readAPETags(TagLib::APE::Tag *tag, Song *song, ReplayGain *rg, QImag
+ if (map.contains("COVER ART (FRONT)")) {
+ const TagLib::ByteVector nullStringTerminator(1, 0);
+
+- TagLib::ByteVector item = map["COVER ART (FRONT)"].value();
++ TagLib::ByteVector item = map["COVER ART (FRONT)"].binaryData();
+ int pos = item.find(nullStringTerminator); // Skip the filename
+
+ if (++pos > 0) {
+@@ -1301,7 +1301,7 @@ static void readTags(const TagLib::FileRef fileref, Song *song, ReplayGain *rg,
+ }
+ } else if (TagLib::RIFF::WAV::File *file = dynamic_cast< TagLib::RIFF::WAV::File * >(fileref.file())) {
+ if (file->tag()) {
+- readID3v2Tags(file->tag(), song, rg, img, lyrics, rating);
++ readID3v2Tags(file->ID3v2Tag(), song, rg, img, lyrics, rating);
+ }
+ #ifdef TAGLIB_ASF_FOUND
+ } else if (TagLib::ASF::File *file = dynamic_cast< TagLib::ASF::File * >(fileref.file())) {
+@@ -1419,7 +1419,7 @@ static bool writeTags(const TagLib::FileRef fileref, const Song &from, const Son
+ }
+ } else if (TagLib::RIFF::WAV::File *file = dynamic_cast< TagLib::RIFF::WAV::File * >(fileref.file())) {
+ if (file->tag()) {
+- changed=writeID3v2Tags(file->tag(), from, to, rg, img, rating) || changed;
++ changed=writeID3v2Tags(file->ID3v2Tag(), from, to, rg, img, rating) || changed;
+ }
+ #ifdef TAGLIB_ASF_FOUND
+ } else if (TagLib::ASF::File *file = dynamic_cast< TagLib::ASF::File * >(fileref.file())) {
+@@ -1455,7 +1455,7 @@ Song read(const QString &fileName)
+
+ readTags(fileref, &song, nullptr, nullptr, nullptr, nullptr);
+ song.file=fileName;
+- song.time=fileref.audioProperties() ? fileref.audioProperties()->length() : 0;
++ song.time=fileref.audioProperties() ? fileref.audioProperties()->lengthInSeconds() : 0;
+ return song;
+ }
+
diff --git a/media-sound/mixxx/Manifest b/media-sound/mixxx/Manifest
new file mode 100644
index 00000000..5218e446
--- /dev/null
+++ b/media-sound/mixxx/Manifest
@@ -0,0 +1 @@
+DIST mixxx-2.5.0.tar.gz 39580922 BLAKE2B e5c5aa02a4b13228857eb620ad174144562d7b4675a40565fda1e641138e0e65dbb2bbe8c7fb32ead242a5bdf8581368ea604c93afbfc5c991ac92065e7bdae7 SHA512 ee3c682d40267358025aba5bfdc378fee1cb6691dc899280132f7e69d315b9ce3d8568ca182752bac96a38310c2f2d71ddc80eea4448b8b32bf6ec6a61a9d608
diff --git a/media-sound/mixxx/files/mixxx-2.3.0-cmake.patch b/media-sound/mixxx/files/mixxx-2.3.0-cmake.patch
new file mode 100644
index 00000000..b573a624
--- /dev/null
+++ b/media-sound/mixxx/files/mixxx-2.3.0-cmake.patch
@@ -0,0 +1,11 @@
+--- mixxx-2.3.0/CMakeLists.txt
++++ mixxx-2.3.0/CMakeLists.txt
+@@ -53,8 +53,6 @@
+ 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/files/mixxx-2.3.0-docs.patch b/media-sound/mixxx/files/mixxx-2.3.0-docs.patch
new file mode 100644
index 00000000..e956e1ce
--- /dev/null
+++ b/media-sound/mixxx/files/mixxx-2.3.0-docs.patch
@@ -0,0 +1,26 @@
+--- mixxx-2.3.0/CMakeLists.txt
++++ mixxx-2.3.0/CMakeLists.txt
+@@ -1320,23 +1320,6 @@
+ "${MIXXX_INSTALL_LICENSEDIR}"
+ )
+
+-# 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()
+-
+ # Additional Linux-only files
+ if(UNIX AND NOT APPLE)
+ # .desktop file for KDE/GNOME menu
diff --git a/media-sound/mixxx/mixxx-2.5.0.ebuild b/media-sound/mixxx/mixxx-2.5.0.ebuild
new file mode 100644
index 00000000..cda9762e
--- /dev/null
+++ b/media-sound/mixxx/mixxx-2.5.0.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2023 Gentoo Authors
+# Copyright 2025 Redcore Linux Project
+# 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/"
+SRC_URI="https://github.com/mixxxdj/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="aac ffmpeg hid keyfinder lv2 modplug mp3 mp4 opus qtkeychain shout wavpack"
+
+RDEPEND="
+ dev-cpp/benchmark
+ dev-cpp/ms-gsl
+ dev-db/sqlite
+ dev-libs/glib:2
+ dev-libs/protobuf:=
+ dev-qt/qt5compat:6
+ dev-qt/qtbase:6[dbus,gui,network,opengl,sql,widgets,xml]
+ dev-qt/qtdeclarative:6
+ dev-qt/qtshadertools:6
+ dev-qt/qtsvg:6
+ dev-qt/qttools:6
+ 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:=[qt6(+)] )
+ 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/qtbase:6[concurrent]
+"
+BDEPEND="
+ dev-qt/qtbase:6[test]
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.3.0-docs.patch
+ "${FILESDIR}"/${PN}-2.3.0-cmake.patch
+)
+
+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)"
+ )
+
+ 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
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ udev_reload
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ udev_reload
+}
diff --git a/media-sound/strawberry/Manifest b/media-sound/strawberry/Manifest
deleted file mode 100644
index 68eba5d6..00000000
--- a/media-sound/strawberry/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST strawberry-1.0.23.tar.xz 11297440 BLAKE2B 4110a19ac27a254ec778bc46592f4b1b00ea8cb077a231d5dc0bb69c8ef78aca02a15339b888812c7cb31540f61647e2c8b15d416c68c4da4690407ac851dec4 SHA512 f3249e97b2f0130dadf2a5fcfc128d7054accd6b86cf088a3a45549c584529aefbadaf09e9ed074af85c679495b03ad700e78f6952e913a40b38eaf7c77d5adb
diff --git a/media-sound/strawberry/strawberry-1.0.23-r10.ebuild b/media-sound/strawberry/strawberry-1.0.23-r10.ebuild
deleted file mode 100644
index 4daea537..00000000
--- a/media-sound/strawberry/strawberry-1.0.23-r10.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic plocale xdg
-
-PLOCALES="ca cs de es es_AR es_ES es_MX fi fr hu id it ja ko nb nl pl pt_BR ru sv uk zh_CN"
-
-DESCRIPTION="Modern music player and library organizer based on Clementine and Qt"
-HOMEPAGE="https://www.strawberrymusicplayer.org/"
-if [[ ${PV} == *9999* ]]; then
- EGIT_REPO_URI="https://github.com/strawberrymusicplayer/strawberry"
- inherit git-r3
-else
- SRC_URI="https://github.com/strawberrymusicplayer/strawberry/releases/download/${PV}/${P}.tar.xz"
- KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="cdda debug +gstreamer icu ipod moodbar mtp pulseaudio +udisks vlc"
-
-BDEPEND="
- dev-qt/linguist-tools:5
- sys-devel/gettext
- virtual/pkgconfig
-"
-COMMON_DEPEND="
- dev-db/sqlite:=
- dev-libs/glib:2
- dev-libs/protobuf:=
- dev-qt/qtconcurrent:5
- dev-qt/qtcore:5
- dev-qt/qtdbus:5
- dev-qt/qtgui:5
- dev-qt/qtnetwork:5[ssl]
- dev-qt/qtsql:5[sqlite]
- dev-qt/qtwidgets:5
- dev-qt/qtx11extras:5
- media-libs/alsa-lib
- media-libs/libebur128
- media-libs/taglib
- x11-libs/libX11
- cdda? ( dev-libs/libcdio:= )
- gstreamer? (
- media-libs/chromaprint:=
- media-libs/gstreamer:1.0
- media-libs/gst-plugins-base:1.0
- )
- icu? ( dev-libs/icu:= )
- ipod? ( media-libs/libgpod )
- moodbar? ( sci-libs/fftw:3.0 )
- mtp? ( media-libs/libmtp )
- pulseaudio? ( media-libs/libpulse )
- vlc? ( media-video/vlc )
-"
-# Note: sqlite driver of dev-qt/qtsql is bundled, so no sqlite use is required; check if this can be overcome someway;
-RDEPEND="${COMMON_DEPEND}
- gstreamer? (
- media-plugins/gst-plugins-meta:1.0
- media-plugins/gst-plugins-soup:1.0
- media-plugins/gst-plugins-taglib:1.0
- )
- mtp? ( gnome-base/gvfs[mtp] )
- udisks? ( sys-fs/udisks:2 )
-"
-DEPEND="${COMMON_DEPEND}
- dev-cpp/gtest
- dev-libs/boost
- dev-qt/qttest:5
-"
-
-DOCS=( Changelog README.md )
-
-REQUIRED_USE="
- cdda? ( gstreamer )
- || ( gstreamer vlc )
-"
-
-src_prepare() {
- plocale_find_changes "src/translations" "" ".po"
-
- cmake_src_prepare
-}
-
-src_configure() {
- # spotify is not in portage
- local mycmakeargs=(
- -DBUILD_WERROR=OFF
- # avoid automagically enabling of ccache (bug #611010)
- -DCCACHE_EXECUTABLE=OFF
- -DENABLE_GIO=ON
- -DLINGUAS="$(plocale_get_locales)"
- -DENABLE_AUDIOCD="$(usex cdda)"
- -DENABLE_GSTREAMER="$(usex gstreamer)"
- -DUSE_ICU="$(usex icu)"
- -DENABLE_LIBGPOD="$(usex ipod)"
- -DENABLE_LIBMTP="$(usex mtp)"
- -DENABLE_LIBPULSE="$(usex pulseaudio)"
- -DENABLE_MOODBAR="$(usex moodbar)"
- -DENABLE_MUSICBRAINZ="$(usex gstreamer)"
- -DENABLE_SONGFINGERPRINTING="$(usex gstreamer)"
- -DENABLE_UDISKS2="$(usex udisks)"
- -DENABLE_VLC="$(usex vlc)"
- -DQT_VERSION_MAJOR=5
- )
-
- use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT
-
- cmake_src_configure
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- if use gstreamer ; then
- elog "Note that list of supported formats is controlled by media-plugins/gst-plugins-meta "
- elog "USE flags. You may be interested in setting aac, flac, mp3, ogg or wavpack USE flags "
- elog "depending on your preferences"
- fi
-}