Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pragha/
Date: Thu, 05 Apr 2018 17:39:05
Message-Id: 1522949936.a878666113abec1ca22c468f1873a40fb93c20a9.mgorny@gentoo
1 commit: a878666113abec1ca22c468f1873a40fb93c20a9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 5 16:52:46 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 5 17:38:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8786661
7
8 media-sound/pragha: Bump to 1.3.91
9
10 media-sound/pragha/Manifest | 1 +
11 media-sound/pragha/metadata.xml | 1 +
12 media-sound/pragha/pragha-1.3.91.ebuild | 96 +++++++++++++++++++++++++++++++++
13 3 files changed, 98 insertions(+)
14
15 diff --git a/media-sound/pragha/Manifest b/media-sound/pragha/Manifest
16 index 43c55511415..5fe0495a36e 100644
17 --- a/media-sound/pragha/Manifest
18 +++ b/media-sound/pragha/Manifest
19 @@ -1,2 +1,3 @@
20 DIST pragha-1.3.3.tar.bz2 679754 BLAKE2B e9e785998d5ae805aa8427d18d1cbdcdd1e23224ce18b3927933c0986fd8793dec9457eedcb005be498b37940cc3c7e36e68940ccaa675f4b350931315c3d997 SHA512 3dc87d4e75cd9f145c3921af4c09140a705611d72176fd80db2d89048bc22c8edda5f87bce75f26e0cce4f6934c927e814e5c54fec7820116485cf4e04e876a9
21 DIST pragha-1.3.90.tar.bz2 760153 BLAKE2B 22cb90225cad5b19ecd95691bafd11f55b35e5f2b59e877c2c998b2e4744f1298f28469bdb11f00598f31fc154c55427d000a995d952112b238cf84302993564 SHA512 877d27814927ab67a0b1defe70d753466e3ad14a0274a2168eb2521ded4eddeb04bce5177869b19ca57b38e7374047ee36982cce3f7e8a75b801cd060f8460d2
22 +DIST pragha-1.3.91.tar.bz2 740279 BLAKE2B c42f1b6d0c7071b56080d8feb8a11c9ba00b1339bc653a61cc80f09e1f076b2183091dbe2cbc42e7aa7347826492fa77cbbac980c25999ce3968a8e74dbc3623 SHA512 49b03ef69e7d12086e324a2088b4540eaebc01fd56247c43f069bd1b9fadbdd1b5f27af87b5086cc3e9a957281c3f7ff72c8ce3b0a6474514714a017ca5e0ab5
23
24 diff --git a/media-sound/pragha/metadata.xml b/media-sound/pragha/metadata.xml
25 index 965cbf1c844..230b2002c97 100644
26 --- a/media-sound/pragha/metadata.xml
27 +++ b/media-sound/pragha/metadata.xml
28 @@ -9,6 +9,7 @@
29 <flag name="glyr">Enable music metadata searchengine support using <pkg>media-libs/glyr</pkg></flag>
30 <flag name="grilo">Play songs on DLNA servers using <pkg>media-libs/grilo</pkg></flag>
31 <flag name="keybinder">Enable shortcut support using <pkg>dev-libs/keybinder</pkg></flag>
32 + <flag name="koel">Append music on Koel server</flag>
33 <flag name="lastfm">Enable last.fm support using <pkg>media-libs/libclastfm</pkg></flag>
34 <flag name="peas">Enable various plugins that will pull in <pkg>dev-libs/libpeas</pkg> as a dependency</flag>
35 <flag name="playlist">Enable enhanced playlist support using <pkg>dev-libs/totem-pl-parser</pkg></flag>
36
37 diff --git a/media-sound/pragha/pragha-1.3.91.ebuild b/media-sound/pragha/pragha-1.3.91.ebuild
38 new file mode 100644
39 index 00000000000..eddc9428400
40 --- /dev/null
41 +++ b/media-sound/pragha/pragha-1.3.91.ebuild
42 @@ -0,0 +1,96 @@
43 +# Copyright 1999-2018 Gentoo Foundation
44 +# Distributed under the terms of the GNU General Public License v2
45 +
46 +EAPI=6
47 +
48 +inherit gnome2-utils xdg-utils
49 +
50 +DESCRIPTION="A lightweight music player (for Xfce)"
51 +HOMEPAGE="https://github.com/pragha-music-player/pragha"
52 +SRC_URI="https://github.com/pragha-music-player/${PN}/releases/download/v${PV}/${P}.tar.bz2"
53 +
54 +LICENSE="GPL-3"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~x86"
57 +IUSE="cdda +glyr grilo +keybinder koel lastfm libnotify mtp +peas +playlist rygel soup +udev"
58 +
59 +COMMON_DEPEND=">=dev-db/sqlite-3.4:3=
60 + >=dev-libs/glib-2.42:=
61 + media-libs/gstreamer:1.0=
62 + media-libs/gst-plugins-base:1.0=
63 + >=media-libs/taglib-1.8:=
64 + >=x11-libs/gtk+-3.14:3=
65 + >=xfce-base/libxfce4ui-4.11:=[gtk3(+)]
66 + cdda? ( >=dev-libs/libcdio-0.90:=
67 + >=dev-libs/libcdio-paranoia-0.90:=
68 + >=media-libs/libcddb-1.3.0:= )
69 + glyr? ( >=media-libs/glyr-1.0.1:= )
70 + grilo? ( media-libs/grilo:0.3=[network] )
71 + keybinder? ( >=dev-libs/keybinder-0.2.0:3= )
72 + koel? ( dev-libs/json-glib:= )
73 + lastfm? ( >=media-libs/libclastfm-0.5:= )
74 + libnotify? ( >=x11-libs/libnotify-0.7.5:= )
75 + mtp? ( >=media-libs/libmtp-1.1.0:= )
76 + peas? ( >=dev-libs/libpeas-1.0.0:=[gtk] )
77 + playlist? ( >=dev-libs/totem-pl-parser-2.26:= )
78 + rygel? ( >=net-misc/rygel-0.26:= )
79 + soup? ( >=net-libs/libsoup-2.38:= )
80 + udev? ( virtual/libgudev:= )"
81 +RDEPEND="${COMMON_DEPEND}
82 + media-plugins/gst-plugins-meta:1.0"
83 +DEPEND="${COMMON_DEPEND}
84 + dev-util/intltool
85 + >=dev-util/xfce4-dev-tools-4.10
86 + sys-devel/gettext
87 + virtual/pkgconfig
88 + xfce-base/exo"
89 +REQUIRED_USE="glyr? ( peas )
90 + grilo? ( peas )
91 + koel? ( soup )
92 + libnotify? ( peas )
93 + mtp? ( udev )
94 + rygel? ( peas )
95 + soup? ( peas )
96 + udev? ( peas )"
97 +
98 +src_configure() {
99 + local myconf=(
100 + $(use_enable peas libpeas-1.0)
101 + $(use_enable glyr libglyr)
102 + $(use_enable lastfm libclastfm)
103 + $(use_enable cdda libcdio)
104 + $(use_enable cdda libcdio_paranoia)
105 + $(use_enable cdda libcddb)
106 + $(use_enable playlist totem-plparser)
107 +
108 + $(use_enable libnotify)
109 + $(use_enable keybinder)
110 + $(use_enable udev gudev-1.0)
111 + $(use_enable mtp libmtp)
112 + $(use_enable koel json-glib-1.0)
113 + $(use_enable soup libsoup-2.4)
114 + $(use_enable rygel rygel-server-2.6)
115 + $(use_enable grilo grilo-0.3)
116 + $(use_enable grilo grilo-net-0.3)
117 + # avoid trying to use 0.2 & 0.3 simultaneously
118 + # https://github.com/pragha-music-player/pragha/issues/124
119 + --disable-grilo-0.2
120 + --disable-grilo-net-0.2
121 + )
122 + econf "${myconf[@]}"
123 +}
124 +
125 +src_install() {
126 + default
127 + find "${D}" -name '*.la' -delete || die
128 +}
129 +
130 +pkg_postinst() {
131 + gnome2_icon_cache_update
132 + xdg_desktop_database_update
133 +}
134 +
135 +pkg_postrm() {
136 + gnome2_icon_cache_update
137 + xdg_desktop_database_update
138 +}