From d39b2406e1496a2848b3f450a5737ae3dbd8c6f7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Oct 2024 01:26:11 +0100 Subject: gentoo auto-resync : 02:10:2024 - 01:26:10 --- media-sound/Manifest.gz | Bin 57229 -> 57240 bytes media-sound/audacious/Manifest | 2 + media-sound/audacious/audacious-4.4.1.ebuild | 67 ++++++++++++++ media-sound/qpwgraph/Manifest | 8 +- media-sound/qpwgraph/metadata.xml | 3 - media-sound/qpwgraph/qpwgraph-0.6.2.ebuild | 55 ------------ media-sound/qpwgraph/qpwgraph-0.7.8.ebuild | 44 +++++++++ media-sound/qpwgraph/qpwgraph-9999.ebuild | 27 ++---- media-sound/spotify/Manifest | 4 +- media-sound/spotify/spotify-1.2.42.ebuild | 130 --------------------------- media-sound/spotify/spotify-1.2.47.ebuild | 130 +++++++++++++++++++++++++++ 11 files changed, 257 insertions(+), 213 deletions(-) create mode 100644 media-sound/audacious/audacious-4.4.1.ebuild delete mode 100644 media-sound/qpwgraph/qpwgraph-0.6.2.ebuild create mode 100644 media-sound/qpwgraph/qpwgraph-0.7.8.ebuild delete mode 100644 media-sound/spotify/spotify-1.2.42.ebuild create mode 100644 media-sound/spotify/spotify-1.2.47.ebuild (limited to 'media-sound') diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz index 66f9f7ad40fd..0d7d02020b92 100644 Binary files a/media-sound/Manifest.gz and b/media-sound/Manifest.gz differ diff --git a/media-sound/audacious/Manifest b/media-sound/audacious/Manifest index 0ba2e2fa098a..744d54eee64e 100644 --- a/media-sound/audacious/Manifest +++ b/media-sound/audacious/Manifest @@ -1,5 +1,7 @@ AUX audacious-enum-backporting.patch 1153 BLAKE2B b5934eaccb88bd37848b50a6834858dbc8a2c7419ff4dbbfbef8b89a932898b219addae0ad9f176c964b27a30ea96b5b73969df44f1d1bad43a4747031392d02 SHA512 b84c04bf47916b5da9049fe2e58576db6ec2753fa45564da4ffec7155c2dc073d57c33201a81f458f542408518d47adc39021033992d822a5220f7400fd18ba0 DIST audacious-4.3.1.tar.bz2 630820 BLAKE2B e8885d25cce4a480ac58c5ee1874a530f4b169f264eaafb13830be17ce7e25933a2fb491ed0b86220fdb2e916ea5d7b13bca8a5ac00695ffd06e1ad8b2a6ff67 SHA512 7662a1b136c6ced346ce160a3a6b71ea5941644860466e23248a44168179118202006e8892a5bbd1f6d77730846a4644b6cb4e008af38e1117588b9f4d1521f5 +DIST audacious-4.4.1.tar.bz2 636301 BLAKE2B 875b214e3372ce000684d4e9a2868062bc0addea19ecaa652b605e1ae79d13f58f42eeb761451da682301124c54cacdb61b326a3b1855d0cc7b47c4d8983e459 SHA512 68ba1f468b540dfeec82825b19352dab785243aa3dc456d2a5acfda97601d64a11dadd2de668a1b0adab3a42e232509d60b5658f0a0047e153791ab9318f2b76 DIST gentoo_ice-xmms-0.2.tar.bz2 51839 BLAKE2B d3bf8dbfee675dd588bc0258f1015c76877b6b0a3835813d8e9621d149b924aaa33544d07f7ad44a01c058d41d7480b3908b0773c124af33b6e020c376b13d54 SHA512 e863a8f86073007c47ce8c20739aae4bff22e22a7ddc11556b12ae6ebb68654cec7310fdc9d05f2c47f81cf2591fe601b2eb12a2fd911c0a6118c9f3cc524f05 EBUILD audacious-4.3.1.ebuild 1520 BLAKE2B a603d51ee02342b8dbefadaf10a46667ca66a70125250c39410ac5c04f3dfbe5a34a23e8c0f26e2d543a7b66769fb1e90a2bffa263ec9f49f2326b24bc289c36 SHA512 f3673882ae2ee0e1fbaa3e615cd8fe15f6363b077e842c53a1b852d2110fcfb03a719978f9a277996480459ef9ebef16b15ed8900efd2fda11f1b1b72410257a +EBUILD audacious-4.4.1.ebuild 1446 BLAKE2B 326ce08ebcde56a551c4b0ee5522b567712f8449db0bb47ad846751d6147c1e95b7087106612369236c9583516c10e102ded6fcb451ad214053ca058097dc981 SHA512 ee9aa71b07ee22551db5b42d37752f6628a9c4fcf6ea52b93084ded71c114322fdf140876bb054a3efbe048d8134e63765e0cb28fa498f9244c04152d1c67c09 MISC metadata.xml 254 BLAKE2B 7f76152858fde96b9de5250e4cba30bfe0c5f2aa6ec7c84316072d84e4b664ecd6485642d3d184b1f2ddde8d9e03a94dd47dd00c5b8d82f80c5c0993d5627593 SHA512 7ed31d18221f55928f798dbf095166f535f7c0f5a1c3010b5113fd6b0d275af283f3d2e6839591335ec93bcd50aab5d0f104ad76eefda4d7a6b64d41af183f0b diff --git a/media-sound/audacious/audacious-4.4.1.ebuild b/media-sound/audacious/audacious-4.4.1.ebuild new file mode 100644 index 000000000000..67b9613808c7 --- /dev/null +++ b/media-sound/audacious/audacious-4.4.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg + +DESCRIPTION="Lightweight and versatile audio player" +HOMEPAGE="https://audacious-media-player.org/" +SRC_URI=" + https://distfiles.audacious-media-player.org/${P}.tar.bz2 + mirror://gentoo/gentoo_ice-xmms-0.2.tar.bz2 +" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="gtk qt6" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + dev-libs/glib:2 + virtual/freedesktop-icon-theme + gtk? ( + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.18:3 + x11-libs/pango + ) + qt6? ( + dev-qt/qtbase:6[gui,widgets] + dev-qt/qtsvg:6 + ) +" +RDEPEND="${DEPEND}" +PDEPEND="~media-plugins/audacious-plugins-${PV}[gtk=,qt6=]" + +src_configure() { + # D-Bus is a mandatory dependency. Remote control, + # session management and some plugins depend on this. + # Building without D-Bus is *unsupported* and a USE-flag + # will not be added due to the bug reports that will result. + # Bugs #197894, #199069, #207330, #208606 + local emesonargs=( + -Ddbus=true + $(meson_use qt6 qt) + -Dqt5=false + $(meson_use gtk) + -Dgtk2=false + -Dlibarchive=false + -Dbuildstamp="Gentoo ${P}" + -Dvalgrind=false + ) + meson_src_configure +} + +src_install() { + meson_src_install + + # Gentoo_ice skin installation; bug #109772 + insinto /usr/share/audacious/Skins/gentoo_ice + doins -r "${WORKDIR}"/gentoo_ice/. + docinto gentoo_ice + dodoc "${WORKDIR}"/README +} diff --git a/media-sound/qpwgraph/Manifest b/media-sound/qpwgraph/Manifest index e1a6a9a04c8f..2ff493fe5467 100644 --- a/media-sound/qpwgraph/Manifest +++ b/media-sound/qpwgraph/Manifest @@ -1,4 +1,4 @@ -DIST qpwgraph-v0.6.2.tar.bz2 213346 BLAKE2B eb2984c0b72d6478a865cad22f9cfb2fcf4098a2d86bd42d69946ccc14780a1c27e8843518b7fc25769bf157090170efe33ff3b95f7df9823ac57c53b465a9ca SHA512 229bc94691206b5bd236c5b998009b799e00c2ca6dd5eb5a1aa7c3ff0c88713d13705700961d536bac82aca6c4ecd8776cd18307f61f9ddc7f5abbdc4e429693 -EBUILD qpwgraph-0.6.2.ebuild 1114 BLAKE2B f217614a833b9c1340079e8d0372a5240c454ecb364e350945efa93c9acbc12297b9462b5b2b92f242ceba1321ce1ab498f1b7afa30a04c359bf3a130d5864e5 SHA512 ca2db38458b9e1d0f25b916f41e35a8d4d30c40e37359e696eaa806317a50e5fe64e1e96b7ee9212958926979cddf74cb7edbb859969bf7429436a571d7029fa -EBUILD qpwgraph-9999.ebuild 1114 BLAKE2B 00e092de954d6fe65b1f4af7ef287a7006dc736bab33b1470e56a53fad4752a61593224dba85bb06ea862b7bf0b3c7fc1cc200576be5774cf7bbc473182181bd SHA512 315c3d8d4ab8d9555e8a1804478cdb7e81b57e75f8b2d351a4bf1c8d9bc5d4e404cedeed2e75acc5731bc7d98adf3f407fc03eea34035ac18b5f4f6e33e715ee -MISC metadata.xml 629 BLAKE2B df24b79b85b6b142f2b55c228d76f4e2ba9235f5bc3a34db26b2d20948b6c1909fad5fc4c71836706f9b0a658a9f9c71f606c8e3f8ba2485eead035d6a6bab36 SHA512 ac48e716cb602a4d2d1b9ca47d09ec705e6597e408cc06a4ecbc15bb1a44da208b99ec1203c3ea00fa3161f71f6a4c0e5d36a141de191e0e7b3fcff54fad169e +DIST qpwgraph-v0.7.8.tar.bz2 228111 BLAKE2B 079e5e91d23bd0ded1670b2ab514f5b93f5085dfb76f12e944ff04460544ee858fdde6bacfd3c7d3ad448b880d46e42d8223d0e0562c1752b00631008f47424c SHA512 982cafa0f4d2e17b84de992455d10cb591d77ce8e2c1f052864c3c57de0ecaa67f8d9880a03cf851f5cea24db65ece6a2a42d873bcca4bc43e1de7843548e8f9 +EBUILD qpwgraph-0.7.8.ebuild 874 BLAKE2B 8182aa56342d461317fe76619f8a9f76e73a14c18d3573deb5b7d0dab613600da7b732d3bac40af01510ab9f0500c5de2ca5dce7f76aa5b5edd1457729dfbdc1 SHA512 2cd0eaaa8b0b4ec5c101eacba7bce5e02d257a22bcb175c41a40b389421228c0c1d4cc3ed0b79faee199404484a5258a8ac0efd56e863c928c8769826008b570 +EBUILD qpwgraph-9999.ebuild 874 BLAKE2B 8182aa56342d461317fe76619f8a9f76e73a14c18d3573deb5b7d0dab613600da7b732d3bac40af01510ab9f0500c5de2ca5dce7f76aa5b5edd1457729dfbdc1 SHA512 2cd0eaaa8b0b4ec5c101eacba7bce5e02d257a22bcb175c41a40b389421228c0c1d4cc3ed0b79faee199404484a5258a8ac0efd56e863c928c8769826008b570 +MISC metadata.xml 555 BLAKE2B baf0c326d12daae30edf9f6c1ecaa67449d20a36aa70ca3292454255986128572389a102163e118e3ec804987906fb24d7e8f26223213fc6b924147ae653fe91 SHA512 2603b27911e62e9185a67d3e957e65a5f6702cbae9a40fb1c34dd43af44ca1dd5074a61774b9bd76fcb1c43b27d108db35adc78bed1f221251007d06c4872006 diff --git a/media-sound/qpwgraph/metadata.xml b/media-sound/qpwgraph/metadata.xml index d07baf2f954e..6f30248e5496 100644 --- a/media-sound/qpwgraph/metadata.xml +++ b/media-sound/qpwgraph/metadata.xml @@ -13,7 +13,4 @@ rncbc/qpwgraph https://gitlab.freedesktop.org/rncbc/qpwgraph/-/issues - - Build support for tray icon - diff --git a/media-sound/qpwgraph/qpwgraph-0.6.2.ebuild b/media-sound/qpwgraph/qpwgraph-0.6.2.ebuild deleted file mode 100644 index 37b4e0ba45ae..000000000000 --- a/media-sound/qpwgraph/qpwgraph-0.6.2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake xdg - -DESCRIPTION="PipeWire Graph Qt GUI Interface" -HOMEPAGE="https://gitlab.freedesktop.org/rncbc/qpwgraph" - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.freedesktop.org/rncbc/qpwgraph" -else - SRC_URI="https://gitlab.freedesktop.org/rncbc/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" - S="${WORKDIR}/${PN}-v${PV}" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-2" -SLOT="0" - -IUSE="alsa trayicon qt6 wayland" - -BDEPEND=" - !qt6? ( dev-qt/linguist-tools:5 ) - qt6? ( dev-qt/qttools:6[linguist] ) -" -DEPEND=" - media-video/pipewire:= - alsa? ( media-libs/alsa-lib ) - !qt6? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - ) - qt6? ( - dev-qt/qtbase:6[gui,widgets,xml,network] - dev-qt/qtsvg:6 - ) -" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DCONFIG_ALSA_MIDI=$(usex alsa) - -DCONFIG_SYSTEM_TRAY=$(usex trayicon) - -DCONFIG_WAYLAND=$(usex wayland) - -DCONFIG_QT6=$(usex qt6) - ) - cmake_src_configure -} diff --git a/media-sound/qpwgraph/qpwgraph-0.7.8.ebuild b/media-sound/qpwgraph/qpwgraph-0.7.8.ebuild new file mode 100644 index 000000000000..f559461abba8 --- /dev/null +++ b/media-sound/qpwgraph/qpwgraph-0.7.8.ebuild @@ -0,0 +1,44 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="PipeWire Graph Qt GUI Interface" +HOMEPAGE="https://gitlab.freedesktop.org/rncbc/qpwgraph" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.freedesktop.org/rncbc/qpwgraph" +else + SRC_URI="https://gitlab.freedesktop.org/rncbc/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" + S="${WORKDIR}/${PN}-v${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-2" +SLOT="0" + +IUSE="alsa" + +BDEPEND=" + dev-qt/qttools:6[linguist] +" +DEPEND=" + dev-qt/qtbase:6[gui,network,widgets,xml] + dev-qt/qtsvg:6 + media-video/pipewire:= + alsa? ( media-libs/alsa-lib ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DCONFIG_ALSA_MIDI=$(usex alsa) + -DCONFIG_SYSTEM_TRAY=1 + -DCONFIG_WAYLAND=1 + -DCONFIG_QT6=1 + ) + cmake_src_configure +} diff --git a/media-sound/qpwgraph/qpwgraph-9999.ebuild b/media-sound/qpwgraph/qpwgraph-9999.ebuild index 744009584113..f559461abba8 100644 --- a/media-sound/qpwgraph/qpwgraph-9999.ebuild +++ b/media-sound/qpwgraph/qpwgraph-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,36 +20,25 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="alsa trayicon qt6 wayland" +IUSE="alsa" BDEPEND=" - !qt6? ( dev-qt/linguist-tools:5 ) - qt6? ( dev-qt/qttools:6[linguist] ) + dev-qt/qttools:6[linguist] " DEPEND=" + dev-qt/qtbase:6[gui,network,widgets,xml] + dev-qt/qtsvg:6 media-video/pipewire:= alsa? ( media-libs/alsa-lib ) - !qt6? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - ) - qt6? ( - dev-qt/qtbase:6[gui,widgets,xml,network] - dev-qt/qtsvg:6 - ) " RDEPEND="${DEPEND}" src_configure() { local mycmakeargs=( -DCONFIG_ALSA_MIDI=$(usex alsa) - -DCONFIG_SYSTEM_TRAY=$(usex trayicon) - -DCONFIG_WAYLAND=$(usex wayland) - -DCONFIG_QT6=$(usex qt6) + -DCONFIG_SYSTEM_TRAY=1 + -DCONFIG_WAYLAND=1 + -DCONFIG_QT6=1 ) cmake_src_configure } diff --git a/media-sound/spotify/Manifest b/media-sound/spotify/Manifest index 7466b11161f7..9d7e17548826 100644 --- a/media-sound/spotify/Manifest +++ b/media-sound/spotify/Manifest @@ -1,4 +1,4 @@ AUX spotify-wrapper 922 BLAKE2B c3ac2049a1302ec6ac0c1dc4c1514199c49a87474ef77c392e0ce5c2dba65788255e5b04dc3b8142fd8f315ebfd2491a7ec259d6347357e059fd0e2f7f777caf SHA512 f658cd4338c3072638d39d79eb6b1a5d959cfd4398dbb08d5cd108ab246c43e337ad11cf10a25c57cad12c8342526f8928c992e81d0c5c678fc5056f8832f42c -DIST spotify-client_1.2.42.290.g242057a2_amd64.deb 140926882 BLAKE2B fc1dec8dde1a057b7b84add42a8c83d5250a4e8c13248858a153cb304ef60a4b26b501323841ce0e70c34e0874eaccf0fc0f43173915578160c54718e732f130 SHA512 9b73788835fd590dd0e47b634605b93637bc935c760ae40e7f5062d2417b67f7e31c040dd60edd801d4a3b642a126c99f1f49c8a731fafbeb0cc5a1e5b436052 -EBUILD spotify-1.2.42.ebuild 3687 BLAKE2B 8bb5d5f3f5fd38e60bdf6d598b775627e4c449ec907f20ac3391a35a28f0680a8098169fd8e4769080c4f01f22bde977334ed663c3c17f05546269514b6bb769 SHA512 eaf320623aaa0fafd3441544c5f67ca9739deedf020ac4e1c0e44e99d27681eab9e278a0198a814fecbd41a5113fdaca97b1caf9905ad3fd4d641ab461beb544 +DIST spotify-client_1.2.47.364.gf06e5cee_amd64.deb 109100472 BLAKE2B 186a4e80d192f59820d017cbbae58ab805452aa609154d39896453abe059f61085f9125340c117312f30c85f4fe685cbaab13747157b07720c86d932ca94901d SHA512 81dd952e609ef59af780e15ec2b01968cad6b1de680e06f37afca9e195f0014dd02884abe12f0edc57073552da1088bb0c248548ba04717301f9c9c2997e76df +EBUILD spotify-1.2.47.ebuild 3687 BLAKE2B 42e3cff0a82316fcbe052252bdd906acdc9f8a1a11eabc661cce43861daa506023196503ecba60035481de3fc2ee2fba7a2a717996a777279b58187f4080d3f0 SHA512 39d78e23d84c058547fd4d4708b935cfdc260de8d70143e96ba9c070b355e293fd48e7e6ac0fa565c6190479f0336356e506d87177166e900661947c52ebfa8d MISC metadata.xml 521 BLAKE2B 6859f340482640ec95ed103b2ca4b1e6c316509d8b87402068e1164a4efeaac9cf8ac5360ea038eb09c3682dd8e8e10a9cc872a3820c1a8341fcccaab34e0a18 SHA512 7527cfdf2d421e1bd7c156b930f980a464fad60f2ba2fafa5b79e4f04baad97a6ce3176987e8a32c8b5bcae20acf2b416812b26de1f7bc76205e0d8bee4e98e8 diff --git a/media-sound/spotify/spotify-1.2.42.ebuild b/media-sound/spotify/spotify-1.2.42.ebuild deleted file mode 100644 index 2a4aa0f72b7b..000000000000 --- a/media-sound/spotify/spotify-1.2.42.ebuild +++ /dev/null @@ -1,130 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop pax-utils unpacker xdg - -DESCRIPTION="Spotify is a social music platform" -HOMEPAGE="https://www.spotify.com/download/linux/" -SRC_BASE="http://repository.spotify.com/pool/non-free/s/${PN}-client/" -BUILD_ID_AMD64="290.g242057a2" -SRC_URI="${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb" - -LICENSE="Spotify" -SLOT="0" -KEYWORDS="amd64" -IUSE="libnotify local-playback pax-kernel pulseaudio" -RESTRICT="mirror strip" - -BDEPEND=" - >=dev-util/patchelf-0.10 - sys-devel/gettext -" -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - dev-libs/openssl:0= - dev-python/dbus-python - media-libs/alsa-lib - media-libs/fontconfig - media-libs/harfbuzz - media-libs/mesa[X(+)] - net-misc/curl[ssl] - net-print/cups[ssl(+)] - sys-apps/dbus - sys-libs/zlib - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libdrm - x11-libs/libxcb - x11-libs/libxkbcommon - x11-libs/pango - !gnome-extra/gnome-integration-spotify - libnotify? ( x11-libs/libnotify ) - dev-libs/libayatana-appindicator - local-playback? ( media-video/ffmpeg:0/56.58.58 ) - pulseaudio? ( media-libs/libpulse ) - !pulseaudio? ( media-sound/apulse ) -" - #gnome-integration-spotify causes spotify to fail to launch - #sys-libs/glibc - -S="${WORKDIR}/" - -QA_PREBUILT=" - opt/spotify/spotify-client/spotify - opt/spotify/spotify-client/libEGL.so - opt/spotify/spotify-client/libGLESv2.so - opt/spotify/spotify-client/libcef.so - opt/spotify/spotify-client/libvk_swiftshader.so - opt/spotify/spotify-client/libvulkan.so.1 - opt/spotify/spotify-client/swiftshader/libEGL.so - opt/spotify/spotify-client/swiftshader/libGLESv2.so -" - -src_prepare() { - default - # Spotify links against libcurl-gnutls.so.4, which does not exist in Gentoo. - patchelf --replace-needed libcurl-gnutls.so.4 libcurl.so.4 usr/bin/spotify \ - || die "failed to patch libcurl library dependency" -} - -src_install() { - gunzip usr/share/doc/spotify-client/changelog.gz || die - dodoc usr/share/doc/spotify-client/changelog - - SPOTIFY_PKG_HOME=usr/share/spotify - insinto /usr/share/pixmaps - doins ${SPOTIFY_PKG_HOME}/icons/*.png - - # install in /opt/spotify - SPOTIFY_HOME=/opt/spotify/spotify-client - insinto ${SPOTIFY_HOME} - doins -r ${SPOTIFY_PKG_HOME}/* - fperms +x ${SPOTIFY_HOME}/spotify - - dodir /usr/bin - SPOTIFY_HOME=${SPOTIFY_HOME} LIBDIR=$(get_libdir) \ - envsubst '$SPOTIFY_HOME $LIBDIR' \ - < "${FILESDIR}/spotify-wrapper" > "${D}/usr/bin/spotify" || die - fperms +x /usr/bin/spotify - - local size - for size in 16 22 24 32 48 64 128 256 512; do - newicon -s ${size} "${S}${SPOTIFY_PKG_HOME}/icons/spotify-linux-${size}.png" \ - "spotify-client.png" - done - domenu "${S}${SPOTIFY_PKG_HOME}/spotify.desktop" - if use pax-kernel; then - #create the headers, reset them to default, then paxmark -m them - pax-mark C "${ED}${SPOTIFY_HOME}/${PN}" || die - pax-mark z "${ED}${SPOTIFY_HOME}/${PN}" || die - pax-mark m "${ED}${SPOTIFY_HOME}/${PN}" || die - eqawarn "You have set USE=pax-kernel meaning that you intend to run" - eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" - eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" - eqawarn "you suspect that ${PN} is being broken by this modification," - eqawarn "please open a bug." - fi -} - -pkg_postinst() { - xdg_pkg_postinst - - ewarn "If Spotify crashes after an upgrade its cache may be corrupt." - ewarn "To remove the cache:" - ewarn "rm -rf ~/.cache/spotify" -} diff --git a/media-sound/spotify/spotify-1.2.47.ebuild b/media-sound/spotify/spotify-1.2.47.ebuild new file mode 100644 index 000000000000..1657abedcad3 --- /dev/null +++ b/media-sound/spotify/spotify-1.2.47.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils unpacker xdg + +DESCRIPTION="Spotify is a social music platform" +HOMEPAGE="https://www.spotify.com/download/linux/" +SRC_BASE="http://repository.spotify.com/pool/non-free/s/${PN}-client/" +BUILD_ID_AMD64="364.gf06e5cee" +SRC_URI="${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb" + +LICENSE="Spotify" +SLOT="0" +KEYWORDS="amd64" +IUSE="libnotify local-playback pax-kernel pulseaudio" +RESTRICT="mirror strip" + +BDEPEND=" + >=dev-util/patchelf-0.10 + sys-devel/gettext +" +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + dev-libs/openssl:0= + dev-python/dbus-python + media-libs/alsa-lib + media-libs/fontconfig + media-libs/harfbuzz + media-libs/mesa[X(+)] + net-misc/curl[ssl] + net-print/cups[ssl(+)] + sys-apps/dbus + sys-libs/zlib + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXrandr + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango + !gnome-extra/gnome-integration-spotify + libnotify? ( x11-libs/libnotify ) + dev-libs/libayatana-appindicator + local-playback? ( media-video/ffmpeg:0/56.58.58 ) + pulseaudio? ( media-libs/libpulse ) + !pulseaudio? ( media-sound/apulse ) +" + #gnome-integration-spotify causes spotify to fail to launch + #sys-libs/glibc + +S="${WORKDIR}/" + +QA_PREBUILT=" + opt/spotify/spotify-client/spotify + opt/spotify/spotify-client/libEGL.so + opt/spotify/spotify-client/libGLESv2.so + opt/spotify/spotify-client/libcef.so + opt/spotify/spotify-client/libvk_swiftshader.so + opt/spotify/spotify-client/libvulkan.so.1 + opt/spotify/spotify-client/swiftshader/libEGL.so + opt/spotify/spotify-client/swiftshader/libGLESv2.so +" + +src_prepare() { + default + # Spotify links against libcurl-gnutls.so.4, which does not exist in Gentoo. + patchelf --replace-needed libcurl-gnutls.so.4 libcurl.so.4 usr/bin/spotify \ + || die "failed to patch libcurl library dependency" +} + +src_install() { + gunzip usr/share/doc/spotify-client/changelog.gz || die + dodoc usr/share/doc/spotify-client/changelog + + SPOTIFY_PKG_HOME=usr/share/spotify + insinto /usr/share/pixmaps + doins ${SPOTIFY_PKG_HOME}/icons/*.png + + # install in /opt/spotify + SPOTIFY_HOME=/opt/spotify/spotify-client + insinto ${SPOTIFY_HOME} + doins -r ${SPOTIFY_PKG_HOME}/* + fperms +x ${SPOTIFY_HOME}/spotify + + dodir /usr/bin + SPOTIFY_HOME=${SPOTIFY_HOME} LIBDIR=$(get_libdir) \ + envsubst '$SPOTIFY_HOME $LIBDIR' \ + < "${FILESDIR}/spotify-wrapper" > "${D}/usr/bin/spotify" || die + fperms +x /usr/bin/spotify + + local size + for size in 16 22 24 32 48 64 128 256 512; do + newicon -s ${size} "${S}${SPOTIFY_PKG_HOME}/icons/spotify-linux-${size}.png" \ + "spotify-client.png" + done + domenu "${S}${SPOTIFY_PKG_HOME}/spotify.desktop" + if use pax-kernel; then + #create the headers, reset them to default, then paxmark -m them + pax-mark C "${ED}${SPOTIFY_HOME}/${PN}" || die + pax-mark z "${ED}${SPOTIFY_HOME}/${PN}" || die + pax-mark m "${ED}${SPOTIFY_HOME}/${PN}" || die + eqawarn "You have set USE=pax-kernel meaning that you intend to run" + eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" + eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" + eqawarn "you suspect that ${PN} is being broken by this modification," + eqawarn "please open a bug." + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + ewarn "If Spotify crashes after an upgrade its cache may be corrupt." + ewarn "To remove the cache:" + ewarn "rm -rf ~/.cache/spotify" +} -- cgit v1.2.3