summaryrefslogtreecommitdiff
path: root/media-sound/strawberry
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-02-01 22:43:06 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-02-01 22:43:06 +0000
commit417ef5d7c7bd36af15766ab14554600fbe7daed7 (patch)
tree3b5d8d93ff01be44bfb626166431ec3722be57b0 /media-sound/strawberry
parent7323114f21150e9c3714584386134160e2c520cf (diff)
gentoo auto-resync : 01:02:2025 - 22:43:06
Diffstat (limited to 'media-sound/strawberry')
-rw-r--r--media-sound/strawberry/Manifest4
-rw-r--r--media-sound/strawberry/strawberry-1.2.6.ebuild3
-rw-r--r--media-sound/strawberry/strawberry-1.2.7.ebuild108
3 files changed, 113 insertions, 2 deletions
diff --git a/media-sound/strawberry/Manifest b/media-sound/strawberry/Manifest
index cfb8a7ce82ae..473d9197eb3a 100644
--- a/media-sound/strawberry/Manifest
+++ b/media-sound/strawberry/Manifest
@@ -1,6 +1,8 @@
DIST strawberry-1.2.2.tar.xz 11460012 BLAKE2B bf0edcec29b85cd33b8f2ee883979e6056f776b039e265f63e9b1f7c04cd5193531477f4a52d1eb6f520e380078eee13d3b8d9823f78806527712c09b7a445aa SHA512 f61029de969c47c10c4353d2613a111e0103d1fa0f2e968e3b3c0ce8679f4eaeb302ff24e4bbe28af4513b88b73ca8d02e8e0418fc1150a3144316d5441e996c
DIST strawberry-1.2.6.tar.xz 11463972 BLAKE2B 907ade85924a639a82f607fb393a78b7f035372f4ce74bf97f727c54faf7c141309200439ce292972690cf119e9f70e52e0b415569bd9c6afd00d587aa95f98f SHA512 5c04d8d4c4798ca0f83d16595b97bf1f509e122e04662379c9739fcdaac2e4776fbe39e37d39ba057a6a6fa735523727da321b700df3231f311bcfc88031677e
+DIST strawberry-1.2.7.tar.xz 11487296 BLAKE2B 9fac1cdaf2c3945eeaa433400212f00d9b9548e80113cbd61a21e9d878caf6a1b04c1bc4627b04b88f9a9c2739f320226cfcad2c7067cb324c5a7ef8ab53804d SHA512 a343abd9c45002acee37d253001181c939c9d9ebe7a888c0f5c436f610825e601b0ed2c789b372b8f07f60e8d5ce8b9f7d6e715f8a0d1a3fb77e7b8260192f4b
EBUILD strawberry-1.2.2-r1.ebuild 3014 BLAKE2B c5d1eba7aba6774de4bb55d0e81bb02d1633076d03bde37594ebe56292ac7dd672328c70a66bcf9f90f215781fed5ab28ba96a193b5864f66a5a9c7bf447c6c8 SHA512 5955c47d95a806a7e13fba493e3533fda3f1f593df2e575f579fee1f94558996f61c35a43b41e16fe25b7a83376f19eb07d2d0c4bc924b6c867d234197cd5bea
-EBUILD strawberry-1.2.6.ebuild 3018 BLAKE2B 149338e02337b3ed24626a29a92bc02f185ba810a50f12a36eab5122a6ff1204f4fb789f4ccc6e9aa4765702d78cb6b7b11a6f425ac43085078f606467bf0445 SHA512 f1a2e105a2e77aee9a04472eebf1ba01f3667203dad78a530f0fa1d055308990333107a6926a62d14b318407c0c931df4424edd7a7f2ab6742a7cdaa1e77221c
+EBUILD strawberry-1.2.6.ebuild 3037 BLAKE2B 065e6835644ab137dd736f3a8315a1df11fe89a8198978282dc03e30124acd3bc95407bca76db60e129176f32540162ebe23e315ba4e577fcd1a37631c42564f SHA512 3feed262460190b356d93c5f89f6b902d533b8ae17c0f8fdde89868082082584718dd6d62cde5852cd667ec720a1303dcc3c51e88b722dbdc48659b9b034c033
+EBUILD strawberry-1.2.7.ebuild 3037 BLAKE2B 065e6835644ab137dd736f3a8315a1df11fe89a8198978282dc03e30124acd3bc95407bca76db60e129176f32540162ebe23e315ba4e577fcd1a37631c42564f SHA512 3feed262460190b356d93c5f89f6b902d533b8ae17c0f8fdde89868082082584718dd6d62cde5852cd667ec720a1303dcc3c51e88b722dbdc48659b9b034c033
EBUILD strawberry-9999.ebuild 3018 BLAKE2B 149338e02337b3ed24626a29a92bc02f185ba810a50f12a36eab5122a6ff1204f4fb789f4ccc6e9aa4765702d78cb6b7b11a6f425ac43085078f606467bf0445 SHA512 f1a2e105a2e77aee9a04472eebf1ba01f3667203dad78a530f0fa1d055308990333107a6926a62d14b318407c0c931df4424edd7a7f2ab6742a7cdaa1e77221c
MISC metadata.xml 728 BLAKE2B b7ab9edb0af1e79c745a473737ae407d34e83da3f98f1ee795e2cd1b8ecf59d9f017345f39e8ec806abb46a6b70c08689af559ba2d0fd7e02dc5a406a332838d SHA512 5e4c7062543aa86f92ef09a3d2997a6b55d205c088d6daafec1b63d6146e0f26cdd545bf0709624fee14c115082d29d397a4d6300d3b2417c8612b59fa4c86a7
diff --git a/media-sound/strawberry/strawberry-1.2.6.ebuild b/media-sound/strawberry/strawberry-1.2.6.ebuild
index 062c8ce36172..6ef390d0fb70 100644
--- a/media-sound/strawberry/strawberry-1.2.6.ebuild
+++ b/media-sound/strawberry/strawberry-1.2.6.ebuild
@@ -17,7 +17,7 @@ fi
LICENSE="GPL-3"
SLOT="0"
-IUSE="alsa cdda chromaprint dbus debug kde +loudness ipod moodbar mtp +pulseaudio streaming +udisks X"
+IUSE="alsa cdda chromaprint +dbus debug kde +loudness ipod moodbar mtp +pulseaudio streaming +udisks X"
BDEPEND="
sys-devel/gettext
@@ -62,6 +62,7 @@ DOCS=( Changelog README.md )
REQUIRED_USE="
|| ( alsa pulseaudio )
+ udisks? ( dbus )
"
src_configure() {
diff --git a/media-sound/strawberry/strawberry-1.2.7.ebuild b/media-sound/strawberry/strawberry-1.2.7.ebuild
new file mode 100644
index 000000000000..6ef390d0fb70
--- /dev/null
+++ b/media-sound/strawberry/strawberry-1.2.7.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic xdg
+
+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="alsa cdda chromaprint +dbus debug kde +loudness ipod moodbar mtp +pulseaudio streaming +udisks X"
+
+BDEPEND="
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+#INFO: alsa-lib is always required in linux even if its not built
+COMMON_DEPEND="
+ dev-db/sqlite:=
+ dev-libs/glib:2
+ dev-libs/icu:=
+ dev-libs/kdsingleapplication[qt6(+)]
+ dev-qt/qtbase:6[concurrent,dbus?,gui,network,ssl,sql,sqlite,widgets,X?]
+ media-libs/alsa-lib
+ media-libs/taglib:=
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ cdda? ( dev-libs/libcdio:= )
+ chromaprint? ( media-libs/chromaprint:= )
+ ipod? (
+ media-libs/libgpod
+ x11-libs/gdk-pixbuf
+ )
+ moodbar? ( sci-libs/fftw:3.0 )
+ mtp? ( media-libs/libmtp )
+ loudness? ( media-libs/libebur128 )
+ pulseaudio? ( media-libs/libpulse )
+"
+# 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}
+ media-plugins/gst-plugins-meta:1.0
+ media-plugins/gst-plugins-taglib
+ udisks? ( sys-fs/udisks:2 )
+ kde? ( kde-frameworks/kglobalaccel )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-cpp/gtest
+ dev-libs/boost
+"
+
+DOCS=( Changelog README.md )
+
+REQUIRED_USE="
+ || ( alsa pulseaudio )
+ udisks? ( dbus )
+"
+
+src_configure() {
+ # spotify is not in portage
+ local mycmakeargs=(
+ $(cmake_use_find_package X X11 )
+ -DBUILD_WERROR=OFF
+ # avoid automagically enabling of ccache (bug #611010)
+ -DCCACHE_EXECUTABLE=OFF
+ -DENABLE_GIO=ON
+ -DENABLE_GIO_UNIX=ON
+ -DENABLE_ALSA="$(usex alsa)"
+ -DENABLE_PULSE="$(usex pulseaudio)"
+ -DENABLE_DBUS="$(usex dbus)"
+ -DENABLE_MPRIS2="$(usex dbus)"
+ -DENABLE_KGLOBALACCEL_GLOBALSHORTCUTS=$(usex kde)
+ -DENABLE_SONGFINGERPRINTING="$(usex chromaprint)"
+ -DENABLE_MUSICBRAINZ="$(usex chromaprint)"
+ -DENABLE_X11_GLOBALSHORTCUTS="$(usex X)"
+ -DENABLE_AUDIOCD="$(usex cdda)"
+ -DENABLE_MTP="$(usex mtp)"
+ -DENABLE_GPOD="$(usex ipod)"
+ -DENABLE_MOODBAR="$(usex moodbar)"
+ -DENABLE_UDISKS2="$(usex udisks)"
+ -DENABLE_EBUR128="$(usex loudness)"
+ -DENABLE_SUBSONIC="$(usex streaming)"
+ -DENABLE_TIDAL="$(usex streaming)"
+ -DENABLE_QOBUZ="$(usex streaming)"
+ -DENABLE_SPOTIFY="$(usex streaming)"
+ )
+
+ use !debug && append-cppflags -DQT_NO_DEBUG_OUTPUT
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ 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"
+}