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: Wed, 14 Aug 2019 21:24:09
Message-Id: 1565817139.97da098e6537ef198202e2f137cfae44606986b2.mgorny@gentoo
1 commit: 97da098e6537ef198202e2f137cfae44606986b2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 14 21:04:52 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 14 21:12:19 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97da098e
7
8 media-sound/pragha: Bump to 1.3.99.1 (1.4rc2)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 media-sound/pragha/Manifest | 1 +
13 media-sound/pragha/pragha-1.3.99.1.ebuild | 96 +++++++++++++++++++++++++++++++
14 2 files changed, 97 insertions(+)
15
16 diff --git a/media-sound/pragha/Manifest b/media-sound/pragha/Manifest
17 index 4670ce21950..aecba9e47fc 100644
18 --- a/media-sound/pragha/Manifest
19 +++ b/media-sound/pragha/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pragha-1.3.4.tar.bz2 691256 BLAKE2B af1455633a4f9d3c40f6b97051692fa301cfb763d0ca5f03c3ae932513556ff7a6fed5c68cdd3f7e86dbca305598cb9495221e1b2c841f7e1cb56905fa742130 SHA512 65aadf68f427f03ea7ca07d2002806eb94019c8091a80320da7d8ff4c2f0cd912e9c346956188b42d2b7a68c56c79ee5af8e8327c69ad69f4a1fa5b9e3b3ca58
22 +DIST pragha-1.3.99.1.tar.bz2 804701 BLAKE2B ae68c01706d593defc4ee357e1bdd1e832fb6d6720f723149c752c98f16502e1254553b404f53b40a4e126b647e6de478e7929b7715c0f9815d23b2e62e5475b SHA512 1c92bf7b2d1d1d6b3f8616b1980b60c6c688844d0bf9f80bc86185035a05971f3b8f5aa73d230b01fa5d14e54db38b356df41781e4a5da73b0adae82829c8c31
23 DIST pragha-1.3.99.tar.bz2 781892 BLAKE2B 9d73dd2859db0c7ab7ac66fdafe873bd78b019408682828ddd05aa18a1591576df667e326037a7ca28eaed227fcbce943209fad16c9f55bb38c0c2c808275104 SHA512 df032fe16932ad464417306d8d01373b8e415f5f810a06b1baff647a395b10bdee5c912f36a3f6e3ea6a0e04d399257e202112c1838444d23dfc17b5fd34e12b
24
25 diff --git a/media-sound/pragha/pragha-1.3.99.1.ebuild b/media-sound/pragha/pragha-1.3.99.1.ebuild
26 new file mode 100644
27 index 00000000000..c60f3ad27ea
28 --- /dev/null
29 +++ b/media-sound/pragha/pragha-1.3.99.1.ebuild
30 @@ -0,0 +1,96 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit xdg-utils
37 +
38 +DESCRIPTION="A lightweight music player (for Xfce)"
39 +HOMEPAGE="https://github.com/pragha-music-player/pragha"
40 +SRC_URI="https://github.com/pragha-music-player/${PN}/releases/download/v${PV}/${P}.tar.bz2"
41 +
42 +LICENSE="GPL-3+"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="cdda +glyr grilo +keybinder koel lastfm libnotify mtp +peas +playlist rygel soup +udev"
46 +
47 +COMMON_DEPEND=">=dev-db/sqlite-3.4:3=
48 + >=dev-libs/glib-2.42
49 + media-libs/gstreamer:1.0
50 + media-libs/gst-plugins-base:1.0
51 + >=media-libs/taglib-1.8:=
52 + >=x11-libs/gtk+-3.14:3
53 + >=xfce-base/libxfce4ui-4.11:=[gtk3(+)]
54 + cdda? ( >=dev-libs/libcdio-0.90:=
55 + >=dev-libs/libcdio-paranoia-0.90:=
56 + >=media-libs/libcddb-1.3.0:= )
57 + glyr? ( >=media-libs/glyr-1.0.1:= )
58 + grilo? ( media-libs/grilo:0.3[network] )
59 + keybinder? ( >=dev-libs/keybinder-0.2.0:3 )
60 + koel? ( dev-libs/json-glib )
61 + lastfm? ( >=media-libs/libclastfm-0.5:= )
62 + libnotify? ( >=x11-libs/libnotify-0.7.5 )
63 + mtp? ( >=media-libs/libmtp-1.1.0:= )
64 + peas? ( >=dev-libs/libpeas-1.0.0[gtk] )
65 + playlist? ( >=dev-libs/totem-pl-parser-2.26:= )
66 + rygel? ( >=net-misc/rygel-0.26 )
67 + soup? ( >=net-libs/libsoup-2.38:= )
68 + udev? ( virtual/libgudev:= )"
69 +RDEPEND="${COMMON_DEPEND}
70 + media-plugins/gst-plugins-meta:1.0"
71 +DEPEND="${COMMON_DEPEND}
72 + dev-util/intltool
73 + >=dev-util/xfce4-dev-tools-4.10
74 + sys-devel/gettext
75 + virtual/pkgconfig
76 + xfce-base/exo"
77 +REQUIRED_USE="glyr? ( peas )
78 + grilo? ( peas )
79 + koel? ( soup )
80 + libnotify? ( peas )
81 + mtp? ( udev )
82 + rygel? ( peas )
83 + soup? ( peas )
84 + udev? ( peas )"
85 +
86 +src_configure() {
87 + local myconf=(
88 + $(use_enable peas libpeas-1.0)
89 + $(use_enable glyr libglyr)
90 + $(use_enable lastfm libclastfm)
91 + $(use_enable cdda libcdio)
92 + $(use_enable cdda libcdio_paranoia)
93 + $(use_enable cdda libcddb)
94 + $(use_enable playlist totem-plparser)
95 +
96 + $(use_enable libnotify)
97 + $(use_enable keybinder)
98 + $(use_enable udev gudev-1.0)
99 + $(use_enable mtp libmtp)
100 + $(use_enable koel json-glib-1.0)
101 + $(use_enable soup libsoup-2.4)
102 + $(use_enable rygel rygel-server-2.6)
103 + $(use_enable grilo grilo-0.3)
104 + $(use_enable grilo grilo-net-0.3)
105 + # avoid trying to use 0.2 & 0.3 simultaneously
106 + # https://github.com/pragha-music-player/pragha/issues/124
107 + --disable-grilo-0.2
108 + --disable-grilo-net-0.2
109 + )
110 + econf "${myconf[@]}"
111 +}
112 +
113 +src_install() {
114 + default
115 + find "${D}" -name '*.la' -delete || die
116 +}
117 +
118 +pkg_postinst() {
119 + xdg_icon_cache_update
120 + xdg_desktop_database_update
121 +}
122 +
123 +pkg_postrm() {
124 + xdg_icon_cache_update
125 + xdg_desktop_database_update
126 +}