media-sound/lollypop: New package
authorJohannes Huber <johu@gentoo.org>
Tue, 2 Oct 2018 13:23:35 +0000 (15:23 +0200)
committerJohannes Huber <johu@gentoo.org>
Tue, 2 Oct 2018 13:24:14 +0000 (15:24 +0200)
A popular music player in the GNOME universe. Initial ebuild by Jorge
Pizarro Callejas <jorgicio@jorgicio.net>. Improvements by me. Happy
listening.

Signed-off-by: Johannes Huber <johu@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

media-sound/lollypop/Manifest [new file with mode: 0644]
media-sound/lollypop/lollypop-0.9.601.ebuild [new file with mode: 0644]
media-sound/lollypop/metadata.xml [new file with mode: 0644]

diff --git a/media-sound/lollypop/Manifest b/media-sound/lollypop/Manifest
new file mode 100644 (file)
index 0000000..aa92b22
--- /dev/null
@@ -0,0 +1 @@
+DIST lollypop-0.9.601.tar.xz 376712 BLAKE2B d3747a1e994cd8de816eed49d87a8f279394981f14e2de82785203ba5ec0e71604a569f5f3e8e57da55f9bf62066da15232d46a0d117d094c6638b6608491620 SHA512 d13bd50f6b591a0f6491010817833d345a7fe1e63ef0eaab2ebad7c877990cf5e2dfba62911a690d223d912750a150fda40be81ca9a094968ed4796c1ed66f65
diff --git a/media-sound/lollypop/lollypop-0.9.601.ebuild b/media-sound/lollypop/lollypop-0.9.601.ebuild
new file mode 100644 (file)
index 0000000..2e53e4c
--- /dev/null
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_6 )
+PYTHON_REQ_USE="sqlite"
+HASH="93d895a6c74c64aaa9d4cdc4d58bd6e6"
+inherit python-r1 gnome2-utils meson xdg-utils
+
+DESCRIPTION="Modern music player for GNOME"
+HOMEPAGE="https://wiki.gnome.org/Apps/Lollypop"
+SRC_URI="https://gitlab.gnome.org/World/${PN}/uploads/${HASH}/${P}.tar.xz"
+KEYWORDS="~amd64"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+CDEPEND="${PYTHON_DEPS}
+       dev-libs/appstream-glib[introspection]
+       dev-libs/glib:2
+       dev-libs/gobject-introspection[cairo]
+       dev-python/pycairo[${PYTHON_USEDEP}]
+       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       gnome-base/gnome-common
+       x11-libs/gtk+:3
+"
+DEPEND="${CDEPEND}
+       dev-python/pkgconfig[${PYTHON_USEDEP}]
+       dev-util/desktop-file-utils
+       dev-util/itstool
+       dev-util/intltool
+"
+RDEPEND="${CDEPEND}
+       app-crypt/libsecret
+       dev-libs/totem-pl-parser
+       dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+       dev-python/dbus-python
+       >=dev-python/pylast-1.0.0[${PYTHON_USEDEP}]
+"
+
+RESTRICT="test"
+
+pkg_preinst() {
+       gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+       gnome2_gconf_install
+       gnome2_schemas_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       gnome2_gconf_uninstall
+       gnome2_schemas_update
+       xdg_desktop_database_update
+}
diff --git a/media-sound/lollypop/metadata.xml b/media-sound/lollypop/metadata.xml
new file mode 100644 (file)
index 0000000..15fd2f3
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>johu@gentoo.org</email>
+               <name>Johannes Huber</name>
+       </maintainer>
+</pkgmetadata>