From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B4F951581FD for ; Sat, 06 Sep 2025 14:35:19 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9980F335DE9 for ; Sat, 06 Sep 2025 14:35:19 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D4849110578; Sat, 06 Sep 2025 14:34:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C50C1110577 for ; Sat, 06 Sep 2025 14:34:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6862C340EC7 for ; Sat, 06 Sep 2025 14:34:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B37138D1 for ; Sat, 06 Sep 2025 14:34:18 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1757169171.26653edcd9d5979c7cce5ea696f47e0515931f45.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/strawberry/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/strawberry/Manifest media-sound/strawberry/strawberry-1.2.13.ebuild X-VCS-Directories: media-sound/strawberry/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 26653edcd9d5979c7cce5ea696f47e0515931f45 X-VCS-Branch: master Date: Sat, 06 Sep 2025 14:34:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a34ecfde-fa3c-4fd5-aad5-dac159c433f6 X-Archives-Hash: 03c65c9b431f992550547ebf767da374 commit: 26653edcd9d5979c7cce5ea696f47e0515931f45 Author: Nicolas PARLANT parhuet fr> AuthorDate: Fri Sep 5 07:26:20 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Sep 6 14:32:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26653edc media-sound/strawberry: add 1.2.13 Bump from live Signed-off-by: Nicolas PARLANT parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43672 Closes: https://github.com/gentoo/gentoo/pull/43672 Signed-off-by: Sam James gentoo.org> media-sound/strawberry/Manifest | 1 + media-sound/strawberry/strawberry-1.2.13.ebuild | 124 ++++++++++++++++++++++++ 2 files changed, 125 insertions(+) diff --git a/media-sound/strawberry/Manifest b/media-sound/strawberry/Manifest index 0e2a772e4f87..c8de0bd4ae14 100644 --- a/media-sound/strawberry/Manifest +++ b/media-sound/strawberry/Manifest @@ -1,2 +1,3 @@ DIST strawberry-1.2.11.tar.xz 11458100 BLAKE2B b455eebf0aac6559aadd0515ef3a57953f3f1fc8c377f6640ef3faaed44c1cbeedb0b52ad992fbcad4293be0ba01bc393d192c96231156d697c269dc3382d039 SHA512 22e351e9ce6504120495465224e27295a093c09b747cd97b8e00062ca987d9400ad39514bae4aca96a851c68d1e5c354491f7efe65561a970e4a32da4e40920c +DIST strawberry-1.2.13.tar.xz 11560576 BLAKE2B 109d98bc1bf360244bc63e7ac698996c49de0657e6c5bfefa1908ffae33b5c70806f916547f3c02973d6ab85c43fdf1fccf9a91eb836dcdc4939e509a05054b3 SHA512 473028337b7f0a90da967e5ca997907214b27f60725d305286fc56b3635b6efe2db043891d97474d25e73b81ca0059adcb69f04418524ef3f87ba2db0233d8b3 DIST strawberry-1.2.7.tar.xz 11487296 BLAKE2B 9fac1cdaf2c3945eeaa433400212f00d9b9548e80113cbd61a21e9d878caf6a1b04c1bc4627b04b88f9a9c2739f320226cfcad2c7067cb324c5a7ef8ab53804d SHA512 a343abd9c45002acee37d253001181c939c9d9ebe7a888c0f5c436f610825e601b0ed2c789b372b8f07f60e8d5ce8b9f7d6e715f8a0d1a3fb77e7b8260192f4b diff --git a/media-sound/strawberry/strawberry-1.2.13.ebuild b/media-sound/strawberry/strawberry-1.2.13.ebuild new file mode 100644 index 000000000000..d753826a2d54 --- /dev/null +++ b/media-sound/strawberry/strawberry-1.2.13.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature 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 discord kde +loudness ipod moodbar mtp +pulseaudio streaming test X" +RESTRICT="!test? ( test )" +REQUIRED_USE="kde? ( dbus )" + +COMMON_DEPEND=" + dev-db/sqlite:3 + 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/taglib:= + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0[alsa?] + alsa? ( media-libs/alsa-lib ) + cdda? ( dev-libs/libcdio:= ) + chromaprint? ( media-libs/chromaprint:= ) + ipod? ( + media-libs/libgpod + x11-libs/gdk-pixbuf:2 + ) + loudness? ( media-libs/libebur128:= ) + moodbar? ( sci-libs/fftw:3.0= ) + mtp? ( media-libs/libmtp:= ) + pulseaudio? ( media-libs/libpulse ) + X? ( x11-libs/libX11 ) +" +# gst-plugins-good provides spectrum plugin for moodbar +RDEPEND="${COMMON_DEPEND} + media-plugins/gst-plugins-meta:1.0 + moodbar? ( media-libs/gst-plugins-good:1.0 ) + pulseaudio? ( media-plugins/gst-plugins-pulse:1.0 ) +" +DEPEND="${COMMON_DEPEND} + dev-cpp/sparsehash + dev-libs/boost + discord? ( dev-libs/rapidjson ) + test? ( dev-cpp/gtest ) +" +BDEPEND=" + dev-qt/qttools:6[linguist] + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.2.11-unforce_alsa.patch +) + +DOCS=( Changelog README.md ) + +src_configure() { + # spotify is not in portage (gst-plugins-rs) + local mycmakeargs=( + $(cmake_use_find_package test GTest) + $(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 + # depends on sparsehash and taglib + # enabled by default because stream reading is not optional + -DENABLE_STREAMTAGREADER=ON + -DENABLE_ALSA="$(usex alsa)" + -DENABLE_PULSE="$(usex pulseaudio)" + -DENABLE_DBUS="$(usex dbus)" + -DENABLE_MPRIS2="$(usex dbus)" + -DENABLE_UDISKS2="$(usex dbus)" + -DENABLE_DEBUG_OUTPUT="$(usex debug)" + -DENABLE_DISCORD_RPC="$(usex discord)" + -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_EBUR128="$(usex loudness)" + -DENABLE_SUBSONIC="$(usex streaming)" + -DENABLE_TIDAL="$(usex streaming)" + -DENABLE_QOBUZ="$(usex streaming)" + -DENABLE_SPOTIFY="$(usex streaming)" + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + use test && cmake_build build_tests +} + +src_test() { + QT_QPA_PLATFORM=offscreen cmake_build run_strawberry_tests +} + +pkg_postinst() { + xdg_pkg_postinst + + use dbus && optfeature "removable device detection" sys-fs/udisks + + 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" +}