summaryrefslogtreecommitdiff
path: root/media-sound/pragha
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/pragha')
-rw-r--r--media-sound/pragha/Manifest2
-rw-r--r--media-sound/pragha/pragha-1.3.4.ebuild88
2 files changed, 90 insertions, 0 deletions
diff --git a/media-sound/pragha/Manifest b/media-sound/pragha/Manifest
index ca6e460f35d3..556375680b62 100644
--- a/media-sound/pragha/Manifest
+++ b/media-sound/pragha/Manifest
@@ -1,5 +1,7 @@
DIST pragha-1.3.3.tar.bz2 679754 BLAKE2B e9e785998d5ae805aa8427d18d1cbdcdd1e23224ce18b3927933c0986fd8793dec9457eedcb005be498b37940cc3c7e36e68940ccaa675f4b350931315c3d997 SHA512 3dc87d4e75cd9f145c3921af4c09140a705611d72176fd80db2d89048bc22c8edda5f87bce75f26e0cce4f6934c927e814e5c54fec7820116485cf4e04e876a9
+DIST pragha-1.3.4.tar.bz2 691256 BLAKE2B af1455633a4f9d3c40f6b97051692fa301cfb763d0ca5f03c3ae932513556ff7a6fed5c68cdd3f7e86dbca305598cb9495221e1b2c841f7e1cb56905fa742130 SHA512 65aadf68f427f03ea7ca07d2002806eb94019c8091a80320da7d8ff4c2f0cd912e9c346956188b42d2b7a68c56c79ee5af8e8327c69ad69f4a1fa5b9e3b3ca58
DIST pragha-1.3.99.tar.bz2 781892 BLAKE2B 9d73dd2859db0c7ab7ac66fdafe873bd78b019408682828ddd05aa18a1591576df667e326037a7ca28eaed227fcbce943209fad16c9f55bb38c0c2c808275104 SHA512 df032fe16932ad464417306d8d01373b8e415f5f810a06b1baff647a395b10bdee5c912f36a3f6e3ea6a0e04d399257e202112c1838444d23dfc17b5fd34e12b
EBUILD pragha-1.3.3.ebuild 2288 BLAKE2B 0cad8db3ec862e8e731135eb2e53c2e6fadcc397476512153b1d72531eb74521b4f97c99c3a929f8968046ec98581a41719e75c0c8bee5dd15e2d77a9c7c0215 SHA512 90a7562ed5be7146fb86ea61befd6d145230235020d88f99a0762d2749b05640591343e680b3580654840ebb34ff1c9b1174ee28f73e28fe79c030ab739c6f73
+EBUILD pragha-1.3.4.ebuild 2312 BLAKE2B b025ebc1ab90b559ed821357b1a36248efef8cb992cef738a4f2daea79785ef7f4d834191c4a4973721625f5ee6bb014587b815b58f152b0d3e46c11c91ca766 SHA512 b58a3846c8555384609756df47d118c12692ef0f631c6e6f86668eb5a630fc63e9e8893e3b2906e7754bacfa2b93242988252dcda65de5a9e083b65d3b1ffb42
EBUILD pragha-1.3.99.ebuild 2591 BLAKE2B 3ea0da51e0ffe4fee16e69d92e39143666817c9031c037be0fca13de5d457819fa348b0d7258651f67e888d265d9396f4db8ead768bfcd8c4c04f58a06ed50e2 SHA512 d83414ca8e3d34357d9b123dbb4ab19d663ea529f6898437404108d9394b061dde8d1bb0a3219f9a8e3bebe0ff8cfd7973fb80ced341d7955363f8f3d63ff06d
MISC metadata.xml 1215 BLAKE2B d7a5bf01af7aa7047342f674cc33ee8ad9ea20dd9b0a496f1954830057bc51932530755429d54faa599da6b2817907100057153436a47a731892a8d8f91aece3 SHA512 9700873ef8ee962e9ba0057d8489b22e73ebaf55a6bda1cd58f062167f15f1b8d08e0c9061e45b4fd71040932e394a9006c00a95a944bf45ef7b65d48f922f34
diff --git a/media-sound/pragha/pragha-1.3.4.ebuild b/media-sound/pragha/pragha-1.3.4.ebuild
new file mode 100644
index 000000000000..7bd78608d370
--- /dev/null
+++ b/media-sound/pragha/pragha-1.3.4.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils xdg-utils
+
+DESCRIPTION="A lightweight music player (for Xfce)"
+HOMEPAGE="https://github.com/pragha-music-player/pragha"
+SRC_URI="https://github.com/pragha-music-player/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cdda +glyr grilo +keybinder lastfm libnotify mtp +peas +playlist rygel soup +udev"
+
+COMMON_DEPEND=">=dev-db/sqlite-3.4:3=
+ >=dev-libs/glib-2.36:=
+ media-libs/gstreamer:1.0=
+ media-libs/gst-plugins-base:1.0=
+ >=media-libs/taglib-1.8:=
+ >=x11-libs/gtk+-3.8:3=
+ >=xfce-base/libxfce4ui-4.11:=[gtk3(+)]
+ cdda? ( >=dev-libs/libcdio-0.90:=
+ >=dev-libs/libcdio-paranoia-0.90:=
+ >=media-libs/libcddb-1.3.0:= )
+ glyr? ( >=media-libs/glyr-1.0.1:= )
+ grilo? ( media-libs/grilo:0.3=[network] )
+ keybinder? ( >=dev-libs/keybinder-0.2.0:3= )
+ lastfm? ( >=media-libs/libclastfm-0.5:= )
+ libnotify? ( >=x11-libs/libnotify-0.7.5:= )
+ mtp? ( >=media-libs/libmtp-1.1.0:= )
+ peas? ( >=dev-libs/libpeas-1.0.0:=[gtk] )
+ playlist? ( >=dev-libs/totem-pl-parser-2.26:= )
+ rygel? ( >=net-misc/rygel-0.20:= )
+ soup? ( >=net-libs/libsoup-2.38:= )
+ udev? ( virtual/libgudev:= )"
+RDEPEND="${COMMON_DEPEND}
+ media-plugins/gst-plugins-meta:1.0"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ >=dev-util/xfce4-dev-tools-4.10
+ sys-devel/gettext
+ virtual/pkgconfig"
+REQUIRED_USE="glyr? ( peas )
+ grilo? ( peas )
+ libnotify? ( peas )
+ mtp? ( udev )
+ rygel? ( peas )
+ soup? ( peas )
+ udev? ( peas )"
+
+src_configure() {
+ local myconf=(
+ $(use_enable peas libpeas-1.0)
+ $(use_enable glyr libglyr)
+ $(use_enable lastfm libclastfm)
+ $(use_enable cdda libcdio)
+ $(use_enable cdda libcdio_paranoia)
+ $(use_enable cdda libcddb)
+ $(use_enable playlist totem-plparser)
+
+ $(use_enable libnotify)
+ $(use_enable keybinder)
+ $(use_enable udev gudev-1.0)
+ $(use_enable mtp libmtp)
+ $(use_enable soup libsoup-2.4)
+ $(use_enable rygel rygel-server-2.6)
+ $(use_enable grilo grilo-0.3)
+ --disable-grilo-0.2
+ )
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}