summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-24 09:16:47 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-24 09:17:54 +0200
commit4b63abcc491b96018389cc9bda6683f06b7eaaf7 (patch)
treefae39c398eac980c786e36e7870afb7073faaab4 /media-sound
parentnet-im/whatsapp-desktop-bin: import from ::guru (diff)
downloadgentoo-4b63abcc491b96018389cc9bda6683f06b7eaaf7.tar.gz
gentoo-4b63abcc491b96018389cc9bda6683f06b7eaaf7.tar.bz2
gentoo-4b63abcc491b96018389cc9bda6683f06b7eaaf7.zip
media-sound/spotify-tray: import from ::guru
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/spotify-tray/Manifest1
-rw-r--r--media-sound/spotify-tray/metadata.xml12
-rw-r--r--media-sound/spotify-tray/spotify-tray-1.3.1.ebuild28
3 files changed, 41 insertions, 0 deletions
diff --git a/media-sound/spotify-tray/Manifest b/media-sound/spotify-tray/Manifest
new file mode 100644
index 000000000000..3bfe4a05e03f
--- /dev/null
+++ b/media-sound/spotify-tray/Manifest
@@ -0,0 +1 @@
+DIST spotify-tray-1.3.1.tar.gz 22084 BLAKE2B ee8f269d1ac618794eee8a67b814f689f3a65f18433a1e3c2382465a2b9b247e70e16fb43f061d1c7cef9188f116d0c7e8478fe3ffe2ab5f2de54dc8ccb40808 SHA512 c1fd533e3879f2d9e451264969bc797c6b8ca35f191460d40822728fc6b637ec7487154b0794871f25cbd6e01b16c7ff5eb33806a1235ac09e45e49580d1337a
diff --git a/media-sound/spotify-tray/metadata.xml b/media-sound/spotify-tray/metadata.xml
new file mode 100644
index 000000000000..5b36c64896b9
--- /dev/null
+++ b/media-sound/spotify-tray/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>andrewammerlaan@gentoo.org</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">tsmetana/spotify-tray</remote-id>
+ <bugs-to>https://github.com/tsmetana/spotify-tray/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/spotify-tray/spotify-tray-1.3.1.ebuild b/media-sound/spotify-tray/spotify-tray-1.3.1.ebuild
new file mode 100644
index 000000000000..28d534d9a35d
--- /dev/null
+++ b/media-sound/spotify-tray/spotify-tray-1.3.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools xdg
+
+DESCRIPTION="Wrapper around the Spotify client that adds a tray icon"
+HOMEPAGE="https://github.com/tsmetana/spotify-tray"
+SRC_URI="https://github.com/tsmetana/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="
+ x11-libs/gtk+:3[X]
+"
+RDEPEND="${DEPEND}
+ media-sound/spotify
+"
+
+src_prepare() {
+ default
+ # Fix the name of the icon
+ sed -i -e 's/Icon=spotify/Icon=spotify-client/g' spotify-tray.desktop.in || die
+ eautoreconf
+}