commit:     58ac7c3d64361a5cdb9725c19b75c1f41c0656f3
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat May 22 10:33:00 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat May 22 10:33:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58ac7c3d

app-misc/spotify-tray: new pack

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 app-misc/spotify-tray/Manifest                  |  1 +
 app-misc/spotify-tray/metadata.xml              | 12 +++++++++++
 app-misc/spotify-tray/spotify-tray-1.3.1.ebuild | 28 +++++++++++++++++++++++++
 3 files changed, 41 insertions(+)

diff --git a/app-misc/spotify-tray/Manifest b/app-misc/spotify-tray/Manifest
new file mode 100644
index 000000000..3bfe4a05e
--- /dev/null
+++ b/app-misc/spotify-tray/Manifest
@@ -0,0 +1 @@
+DIST spotify-tray-1.3.1.tar.gz 22084 BLAKE2B 
ee8f269d1ac618794eee8a67b814f689f3a65f18433a1e3c2382465a2b9b247e70e16fb43f061d1c7cef9188f116d0c7e8478fe3ffe2ab5f2de54dc8ccb40808
 SHA512 
c1fd533e3879f2d9e451264969bc797c6b8ca35f191460d40822728fc6b637ec7487154b0794871f25cbd6e01b16c7ff5eb33806a1235ac09e45e49580d1337a

diff --git a/app-misc/spotify-tray/metadata.xml 
b/app-misc/spotify-tray/metadata.xml
new file mode 100644
index 000000000..5b36c6489
--- /dev/null
+++ b/app-misc/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>andrewammerl...@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/app-misc/spotify-tray/spotify-tray-1.3.1.ebuild 
b/app-misc/spotify-tray/spotify-tray-1.3.1.ebuild
new file mode 100644
index 000000000..423054dad
--- /dev/null
+++ b/app-misc/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="Tray icon for the Spotify Linux client"
+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
+}

Reply via email to