1 |
commit: ea34238048e3751b07f841935a5b4135965f745f |
2 |
Author: Denis Dupeyron <calchan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 27 21:46:20 2017 +0000 |
4 |
Commit: Denis Dupeyron <calchan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 27 21:46:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea342380 |
7 |
|
8 |
media-libs/libmpris2client: migrate to EAPI6 |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
.../libmpris2client-0.1.0-r1.ebuild | 35 ++++++++++++++++++++++ |
13 |
1 file changed, 35 insertions(+) |
14 |
|
15 |
diff --git a/media-libs/libmpris2client/libmpris2client-0.1.0-r1.ebuild b/media-libs/libmpris2client/libmpris2client-0.1.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 00000000000..0a29d009a66 |
18 |
--- /dev/null |
19 |
+++ b/media-libs/libmpris2client/libmpris2client-0.1.0-r1.ebuild |
20 |
@@ -0,0 +1,35 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=6 |
25 |
+inherit gnome2-utils |
26 |
+ |
27 |
+DESCRIPTION="A library to control MPRIS2 compatible players" |
28 |
+HOMEPAGE="https://github.com/matiasdelellis/libmpris2client" |
29 |
+SRC_URI="https://github.com/matiasdelellis/${PN}/releases/download/V${PV}/${P}.tar.bz2" |
30 |
+ |
31 |
+LICENSE="GPL-3" |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~amd64 ~x86" |
34 |
+IUSE="" |
35 |
+ |
36 |
+RDEPEND=">=dev-libs/glib-2 |
37 |
+ x11-libs/gtk+:2" |
38 |
+DEPEND="${RDEPEND} |
39 |
+ virtual/pkgconfig" |
40 |
+ |
41 |
+DOCS=( AUTHORS NEWS README TODO ) |
42 |
+ |
43 |
+src_install() { |
44 |
+ default |
45 |
+ |
46 |
+ find "${D}" -name '*.la' -delete || die |
47 |
+} |
48 |
+ |
49 |
+pkg_postinst() { |
50 |
+ gnome2_icon_cache_update |
51 |
+} |
52 |
+ |
53 |
+pkg_postrm() { |
54 |
+ gnome2_icon_cache_update |
55 |
+} |