1 |
commit: 7ebe6adbb6ed56538e857fdd43413bb235ed2af2 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 4 15:54:43 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 4 16:47:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ebe6adb |
7 |
|
8 |
media-video/xine-ui: bump to 0.99.12 |
9 |
|
10 |
Package-Manager: Portage-3.0.5, Repoman-3.0.1 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
media-video/xine-ui/Manifest | 1 + |
14 |
media-video/xine-ui/xine-ui-0.99.12.ebuild | 100 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 101 insertions(+) |
16 |
|
17 |
diff --git a/media-video/xine-ui/Manifest b/media-video/xine-ui/Manifest |
18 |
index 879e922647f..9a9fc901207 100644 |
19 |
--- a/media-video/xine-ui/Manifest |
20 |
+++ b/media-video/xine-ui/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST xine-ui-0.99.10.tar.xz 1762968 BLAKE2B eede1a7b43f3fca37c092541145a4d13813185a740c396503bdfc93fd96d4d3bf52ad2daed4389634e2a517972c1233e3d9b1af74b718dd9def58eb2e702d967 SHA512 73cbc72375b27335e9d5f5527c35dab12d1ae40539b587630b3d8709471e4c61ce7b619062b75f587252c0647c234ffcf611f3b4e38e0447f7041b7ca5d7289e |
23 |
+DIST xine-ui-0.99.12.tar.xz 1980672 BLAKE2B ac1a9b17b48005c667d53129e51f4db2cfe2933c0fca9ba8b6f1d999f903568217a061c84806abfec31d4afcc238579c232a1ae6f4b04afcac465c340826f037 SHA512 bc04cb8df730abce147485b488250331a304e4318fc28ebab890c6485242a5edeafd953547c637622e2312c65aa1e36aaae6117d608dd668781d841804f2ae86 |
24 |
|
25 |
diff --git a/media-video/xine-ui/xine-ui-0.99.12.ebuild b/media-video/xine-ui/xine-ui-0.99.12.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..dfd01debeaa |
28 |
--- /dev/null |
29 |
+++ b/media-video/xine-ui/xine-ui-0.99.12.ebuild |
30 |
@@ -0,0 +1,100 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit autotools gnome2-utils xdg-utils |
37 |
+ |
38 |
+DESCRIPTION="Xine movie player" |
39 |
+HOMEPAGE="https://xine-project.org/home" |
40 |
+SRC_URI="mirror://sourceforge/xine/${P}.tar.xz" |
41 |
+ |
42 |
+LICENSE="GPL-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" |
45 |
+IUSE="aalib curl debug libcaca lirc nls readline vdr X xinerama" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ || ( app-arch/tar app-arch/libarchive ) |
49 |
+ media-libs/libpng:0= |
50 |
+ >=media-libs/xine-lib-1.2:=[aalib?,libcaca?] |
51 |
+ virtual/jpeg:0 |
52 |
+ aalib? ( media-libs/aalib:= ) |
53 |
+ curl? ( >=net-misc/curl-7.10.2:= ) |
54 |
+ libcaca? ( media-libs/libcaca:= ) |
55 |
+ lirc? ( app-misc/lirc:= ) |
56 |
+ nls? ( virtual/libintl ) |
57 |
+ readline? ( >=sys-libs/readline-6.2:= ) |
58 |
+ X? ( |
59 |
+ x11-libs/libICE:= |
60 |
+ x11-libs/libSM:= |
61 |
+ x11-libs/libX11:= |
62 |
+ x11-libs/libXext:= |
63 |
+ x11-libs/libXft:= |
64 |
+ x11-libs/libXrender:= |
65 |
+ x11-libs/libXScrnSaver:= |
66 |
+ x11-libs/libXtst:= |
67 |
+ x11-libs/libXv:= |
68 |
+ x11-libs/libXxf86vm:= |
69 |
+ xinerama? ( x11-libs/libXinerama:= ) |
70 |
+ ) |
71 |
+" |
72 |
+DEPEND="${RDEPEND} |
73 |
+ virtual/pkgconfig |
74 |
+ nls? ( >=sys-devel/gettext-0.18.3 ) |
75 |
+ X? ( |
76 |
+ x11-base/xorg-proto |
77 |
+ x11-libs/libXt |
78 |
+ ) |
79 |
+" |
80 |
+ |
81 |
+PATCHES=( |
82 |
+ "${FILESDIR}"/${PN}-0.99.10-desktop.patch |
83 |
+) |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ default |
87 |
+ eautoreconf |
88 |
+ rm misc/xine-bugreport || die |
89 |
+} |
90 |
+ |
91 |
+src_configure() { |
92 |
+ econf \ |
93 |
+ $(use_enable nls) \ |
94 |
+ $(use_enable xinerama) \ |
95 |
+ $(use_enable lirc) \ |
96 |
+ $(use_enable vdr vdr-keys) \ |
97 |
+ --disable-nvtvsimple \ |
98 |
+ $(use_enable debug) \ |
99 |
+ $(use_with X x) \ |
100 |
+ $(use_with readline) \ |
101 |
+ $(use_with curl) \ |
102 |
+ $(use_with aalib) \ |
103 |
+ $(use_with libcaca caca) \ |
104 |
+ --without-fb |
105 |
+} |
106 |
+ |
107 |
+src_install() { |
108 |
+ # xine-list apparently may cause sandbox violation, bug 654394 |
109 |
+ addpredict /dev/dri |
110 |
+ |
111 |
+ emake \ |
112 |
+ DESTDIR="${D}" \ |
113 |
+ docdir="/usr/share/doc/${PF}" \ |
114 |
+ docsdir="/usr/share/doc/${PF}" \ |
115 |
+ install |
116 |
+ |
117 |
+ einstalldocs |
118 |
+} |
119 |
+ |
120 |
+pkg_postinst() { |
121 |
+ xdg_desktop_database_update |
122 |
+ xdg_mimeinfo_database_update |
123 |
+ gnome2_icon_cache_update |
124 |
+} |
125 |
+ |
126 |
+pkg_postrm() { |
127 |
+ xdg_desktop_database_update |
128 |
+ xdg_mimeinfo_database_update |
129 |
+ gnome2_icon_cache_update |
130 |
+} |