summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2017-12-19 16:12:15 +0100
committerAvatar Timo Gurr <tgurr@exherbo.org> 2018-08-02 01:10:41 +0200
commitb0f9a3fb17f088d40a5d9c606068a7f6fce964b6 (patch)
tree48b762c6f98f3b07991eaeacb366f986b4711cda
parentdf7ec414f3df5793bc9124dd256e61d125e784c9 (diff)
downloadmedia-b0f9a3fb17f088d40a5d9c606068a7f6fce964b6.tar.gz
media-b0f9a3fb17f088d40a5d9c606068a7f6fce964b6.tar.xz
spotify: version bump to 1.0.69.336
Change-Id: I2ca4321ed08e7c58af59760597b9cce921a83f3e Reviewed-on: https://galileo.mailstation.de/gerrit/10857 Reviewed-by: Timo Gurr <tgurr@exherbo.org>
-rw-r--r--packages/media-sound/spotify/spotify-1.0.64.407.exheres-0174
-rw-r--r--packages/media-sound/spotify/spotify-1.0.69.336.exheres-0178
2 files changed, 178 insertions, 174 deletions
diff --git a/packages/media-sound/spotify/spotify-1.0.64.407.exheres-0 b/packages/media-sound/spotify/spotify-1.0.64.407.exheres-0
deleted file mode 100644
index 390d8af..0000000
--- a/packages/media-sound/spotify/spotify-1.0.64.407.exheres-0
+++ /dev/null
@@ -1,174 +0,0 @@
-# Copyright 2011 Anders Ladegaard Marchsteiner <alm.anma@gmail.com>
-# Copyright 2012 Lasse Brun <bruners@gmail.com>
-# Distributed under the terms of the GNU General Public License v2
-
-require gtk-icon-cache freedesktop-desktop
-
-SUMMARY="Music streaming service."
-DESCRIPTION="
-A DRM-based music streaming service offering streaming of selected music from a range of major and
-independent record labels, including Sony, EMI, Warner Music Group, and Universal.
-"
-HOMEPAGE="https://www.spotify.com"
-
-MY_REPO="https://repository-origin.spotify.com/pool/non-free/s/spotify-client"
-MY_PN="${PN}-client"
-MY_PV="${PV}.g9bd02c2d-26"
-# Source URLĀ : https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.64.407.g9bd02c2d-26_amd64.deb
-
-DOWNLOADS=("${MY_REPO}/${MY_PN}_${MY_PV}_amd64.deb")
-LICENCES="Spotify"
-SLOT="0"
-PLATFORMS="~amd64"
-MYOPTIONS="( providers: ffmpeg libav ) [[ number-selected = exactly-one ]]"
-DEPENDENCIES="
- run:
- dev-libs/atk[>=2.18]
- dev-libs/expat[>=2.1]
- dev-libs/glib[>=2.46.2]
- dev-libs/nspr[>=4.0]
- dev-libs/nss[>=3.0]
- dev-libs/openssl[>=0.9.8] [[
- description = [ Spotify wants 0.9.8 but runs with warnings with versions >1.0.0 ]
- ]]
- gnome-platform/GConf:2
- media-libs/fontconfig[>=2.11]
- media-libs/freetype[>=2.6]
- net-misc/curl[>=7.43]
- sys-apps/dbus[>=1.10]
- sys-apps/systemd
- sys-libs/glibc[>=2.6]
- sys-sound/alsa-lib[>=1.0.14]
- x11-libs/cairo[>=1.14.2][X(+)]
- x11-libs/gdk-pixbuf[>=2.32.3]
- x11-libs/libX11[>=1.6.3]
- x11-libs/libXcomposite[>=0.4.4]
- x11-libs/libXcursor[>=1.1.14]
- x11-libs/libXdamage[>=1.1.4]
- x11-libs/libXext[>=1.3.3]
- x11-libs/libXfixes[>=5.0.1]
- x11-libs/libXi[>=1.7.6]
- x11-libs/libXrandr[>=1.5.0]
- x11-libs/libXrender[>=0.9.9]
- x11-libs/libXScrnSaver[>=1.2.0]
- x11-libs/libXtst[>=1.2.2]
- x11-libs/pango[>=1.38.1]
- install:
- x11-apps/xdg-utils
-
- suggestion:
- providers:ffmpeg? ( media/ffmpeg[>=1.0] )
- providers:libav? ( media/libav[>=9] )
- net-apps/NetworkManager [[
- description = [ Optional for unknown feature (dbus.freedesktop.org related) ]
- ]]
- net-print/cups [[
- description = [ Optional for unknown feature, should be for printing ... ]
- ]]
-"
-
-BUGS_TO="
- alm.anma@gmail.com
- bruners@gmail.com
-"
-
-WORK="${WORKBASE}"
-
-pkg_setup() {
- exdirectory --allow /opt
-}
-
-src_unpack() {
- default
- unpack ./data.tar.gz
- edo rm -f {control,data}.tar.gz debian-binary
- edo rm -rf usr/share/doc
-}
-
-src_install() {
- edo mkdir -p "${IMAGE}"usr/share
- edo cp -r "${WORK}"/usr/share/* "${IMAGE}"usr/share
-}
-
-pkg_prerm() {
- spotifyPath=$PWD
- if [ -e /usr/share/spotify ]; then
- spotifyPath=/usr/share/spotify
- fi
-
- # Remove icons from the system icon folders
- XDG_ICON_RESOURCE="$(which xdg-icon-resource 2> /dev/null)"
- if [ ! -x "$XDG_ICON_RESOURCE" ]; then
- elog "Error: Could not find xdg-icon-resource"
- exit 1
- fi
-
- for icon in $(ls -1 $spotifyPath/icons/spotify-linux-*.png); do
- elog "Unregistering icon $icon"
- size="${icon##*/spotify-linux-}"
- "$XDG_ICON_RESOURCE" uninstall --size "${size%.png}" "$icon" "spotify-client"
- done
-
- # Remove the entry from the system menu
- XDG_DESKTOP_MENU="$(which xdg-desktop-menu 2> /dev/null)"
- UPDATE_MENUS="$(which update-menus 2> /dev/null)"
- if [ ! -x "$XDG_DESKTOP_MENU" ]; then
- elog "Error: Could not find xdg-desktop-menu"
- exit 1
- fi
-
- elog "Unregistering desktop entry"
- "$XDG_DESKTOP_MENU" uninstall --novendor "spotify.desktop"
- if [ -x "$UPDATE_MENUS" ]; then
- "$UPDATE_MENUS"
- fi
-}
-
-pkg_postrm() {
- freedesktop-desktop_pkg_postrm
- gtk-icon-cache_pkg_postrm
-}
-
-pkg_preinst(){
- host=$(exhost --target)
- edo mkdir -p "${IMAGE}usr/${host}/bin"
- edo ln -fs "../../share/spotify/spotify" "${IMAGE}usr/${host}/bin/spotify"
-}
-pkg_postinst() {
- spotifyPath=$PWD
- if [ -e /usr/share/spotify ]; then
- spotifyPath=/usr/share/spotify
- fi
-
- # Add icons to the system icon folders
- XDG_ICON_RESOURCE="$(which xdg-icon-resource 2> /dev/null)"
- if [ ! -x "$XDG_ICON_RESOURCE" ]; then
- elog "Error: Could not find xdg-icon-resource" >&2
- exit 1
- fi
-
- for icon in $(ls -1 $spotifyPath/icons/spotify-linux-*.png); do
- elog "Registering icon $icon"
- size="${icon##*/spotify-linux-}"
- "$XDG_ICON_RESOURCE" install --size "${size%.png}" "$icon" "spotify-client"
- done
-
- # Add an entry to the system menu
- XDG_DESKTOP_MENU="$(which xdg-desktop-menu 2> /dev/null)"
- UPDATE_MENUS="$(which update-menus 2> /dev/null)"
- if [ ! -x "$XDG_DESKTOP_MENU" ]; then
- elog "Error: Could not find xdg-desktop-menu"
- exit 1
- fi
-
- # It seems the desktop file has to match the MPris name. We don't want to
- # change that, so we use --novendor here instead.
- elog "Registering desktop entry"
- "$XDG_DESKTOP_MENU" install --novendor "$spotifyPath/spotify.desktop"
- if [ -x "$UPDATE_MENUS" ]; then
- "$UPDATE_MENUS"
- fi
- freedesktop-desktop_pkg_postinst
- gtk-icon-cache_pkg_postinst
-}
-
diff --git a/packages/media-sound/spotify/spotify-1.0.69.336.exheres-0 b/packages/media-sound/spotify/spotify-1.0.69.336.exheres-0
new file mode 100644
index 0000000..0eff856
--- /dev/null
+++ b/packages/media-sound/spotify/spotify-1.0.69.336.exheres-0
@@ -0,0 +1,178 @@
+# Copyright 2011 Anders Ladegaard Marchsteiner <alm.anma@gmail.com>
+# Copyright 2012 Lasse Brun <bruners@gmail.com>
+# Distributed under the terms of the GNU General Public License v2
+
+MY_REPO="https://repository-origin.spotify.com/pool/non-free/s/spotify-client"
+MY_PN="${PN}-client"
+MY_PV="${PV}.g7edcc575-39"
+# Source URLĀ : https://repository-origin.spotify.com/pool/non-free/s/spotify-client/spotify-client_1.0.69.336.g7edcc575-39_amd64.deb
+
+require gtk-icon-cache freedesktop-desktop
+
+SUMMARY="Music streaming service"
+DESCRIPTION="
+A DRM-based music streaming service offering streaming of selected music from a range of major and
+independent record labels, including Sony, EMI, Warner Music Group, and Universal.
+"
+HOMEPAGE="https://www.spotify.com"
+DOWNLOADS="${MY_REPO}/${MY_PN}_${MY_PV}_amd64.deb"
+
+BUGS_TO="
+ alm.anma@gmail.com
+ bruners@gmail.com
+"
+
+LICENCES="Spotify"
+SLOT="0"
+PLATFORMS="~amd64"
+MYOPTIONS="
+ ( providers: ffmpeg libav ) [[ number-selected = exactly-one ]]
+"
+
+DEPENDENCIES="
+ run:
+ dev-libs/atk[>=2.18]
+ dev-libs/expat[>=2.1]
+ dev-libs/glib:2[>=2.46.2]
+ dev-libs/nspr[>=4.0]
+ dev-libs/nss[>=3.0]
+ dev-libs/openssl[>=0.9.8] [[
+ description = [ Spotify wants 0.9.8 but runs with warnings with versions >1.0.0 ]
+ ]]
+ gnome-platform/GConf:2
+ media-libs/fontconfig[>=2.11]
+ media-libs/freetype:2[>=2.6]
+ net-misc/curl[>=7.43]
+ sys-apps/dbus[>=1.10]
+ sys-apps/systemd
+ sys-libs/glibc[>=2.6]
+ sys-sound/alsa-lib[>=1.0.14]
+ x11-libs/cairo[>=1.14.2][X(+)]
+ x11-libs/gdk-pixbuf:2.0[>=2.32.3]
+ x11-libs/libX11[>=1.6.3]
+ x11-libs/libXcomposite[>=0.4.4]
+ x11-libs/libXcursor[>=1.1.14]
+ x11-libs/libXdamage[>=1.1.4]
+ x11-libs/libXext[>=1.3.3]
+ x11-libs/libXfixes[>=5.0.1]
+ x11-libs/libXi[>=1.7.6]
+ x11-libs/libXrandr[>=1.5.0]
+ x11-libs/libXrender[>=0.9.9]
+ x11-libs/libXScrnSaver[>=1.2.0]
+ x11-libs/libXtst[>=1.2.2]
+ x11-libs/pango[>=1.38.1]
+ install:
+ x11-apps/xdg-utils
+ suggestion:
+ providers:ffmpeg? ( media/ffmpeg[>=1.0] )
+ providers:libav? ( media/libav[>=9] )
+ net-apps/NetworkManager [[
+ description = [ Optional for unknown feature (dbus.freedesktop.org related) ]
+ ]]
+ net-print/cups [[
+ description = [ Optional for unknown feature, should be for printing ... ]
+ ]]
+"
+
+WORK="${WORKBASE}"
+
+pkg_setup() {
+ exdirectory --allow /opt
+}
+
+src_unpack() {
+ default
+
+ unpack ./data.tar.gz
+ edo rm -f {control,data}.tar.gz debian-binary
+ edo rm -rf usr/share/doc
+}
+
+src_install() {
+ edo mkdir -p "${IMAGE}"usr/share
+ edo cp -r "${WORK}"/usr/share/* "${IMAGE}"usr/share
+}
+
+pkg_prerm() {
+ spotifyPath=$PWD
+ if [ -e /usr/share/spotify ]; then
+ spotifyPath=/usr/share/spotify
+ fi
+
+ # Remove icons from the system icon folders
+ XDG_ICON_RESOURCE="$(which xdg-icon-resource 2> /dev/null)"
+ if [ ! -x "$XDG_ICON_RESOURCE" ]; then
+ elog "Error: Could not find xdg-icon-resource"
+ exit 1
+ fi
+
+ for icon in $(ls -1 $spotifyPath/icons/spotify-linux-*.png); do
+ elog "Unregistering icon $icon"
+ size="${icon##*/spotify-linux-}"
+ "$XDG_ICON_RESOURCE" uninstall --size "${size%.png}" "$icon" "spotify-client"
+ done
+
+ # Remove the entry from the system menu
+ XDG_DESKTOP_MENU="$(which xdg-desktop-menu 2> /dev/null)"
+ UPDATE_MENUS="$(which update-menus 2> /dev/null)"
+ if [ ! -x "$XDG_DESKTOP_MENU" ]; then
+ elog "Error: Could not find xdg-desktop-menu"
+ exit 1
+ fi
+
+ elog "Unregistering desktop entry"
+ "$XDG_DESKTOP_MENU" uninstall --novendor "spotify.desktop"
+ if [ -x "$UPDATE_MENUS" ]; then
+ "$UPDATE_MENUS"
+ fi
+}
+
+pkg_postrm() {
+ freedesktop-desktop_pkg_postrm
+ gtk-icon-cache_pkg_postrm
+}
+
+pkg_preinst(){
+ host=$(exhost --target)
+ edo mkdir -p "${IMAGE}"usr/${host}/bin
+ edo ln -fs "../../share/spotify/spotify" "${IMAGE}"usr/${host}/bin/spotify
+}
+pkg_postinst() {
+ spotifyPath=$PWD
+ if [ -e /usr/share/spotify ]; then
+ spotifyPath=/usr/share/spotify
+ fi
+
+ # Add icons to the system icon folders
+ XDG_ICON_RESOURCE="$(which xdg-icon-resource 2> /dev/null)"
+ if [ ! -x "$XDG_ICON_RESOURCE" ]; then
+ elog "Error: Could not find xdg-icon-resource" >&2
+ exit 1
+ fi
+
+ for icon in $(ls -1 $spotifyPath/icons/spotify-linux-*.png); do
+ elog "Registering icon $icon"
+ size="${icon##*/spotify-linux-}"
+ "$XDG_ICON_RESOURCE" install --size "${size%.png}" "$icon" "spotify-client"
+ done
+
+ # Add an entry to the system menu
+ XDG_DESKTOP_MENU="$(which xdg-desktop-menu 2> /dev/null)"
+ UPDATE_MENUS="$(which update-menus 2> /dev/null)"
+ if [ ! -x "$XDG_DESKTOP_MENU" ]; then
+ elog "Error: Could not find xdg-desktop-menu"
+ exit 1
+ fi
+
+ # It seems the desktop file has to match the MPris name. We don't want to
+ # change that, so we use --novendor here instead.
+ elog "Registering desktop entry"
+ "$XDG_DESKTOP_MENU" install --novendor "$spotifyPath/spotify.desktop"
+ if [ -x "$UPDATE_MENUS" ]; then
+ "$UPDATE_MENUS"
+ fi
+
+ freedesktop-desktop_pkg_postinst
+ gtk-icon-cache_pkg_postinst
+}
+