1 |
commit: 224b9ef113b7fe96a6130b023da57be16577e270 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 3 16:12:41 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 3 16:12:41 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=224b9ef1 |
7 |
|
8 |
media-video/xine-ui: EAPI-6 bump, fix USE=libcaca |
9 |
|
10 |
Thanks-to: Joshua Clayton <stillcompiling <AT> gmail.com> |
11 |
Closes: https://bugs.gentoo.org/652210 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
14 |
|
15 |
.../xine-ui/files/xine-ui-0.99.10-libcaca.patch | 24 ++++++++++++++++++++ |
16 |
media-video/xine-ui/xine-ui-0.99.10.ebuild | 26 +++++++++++++--------- |
17 |
2 files changed, 39 insertions(+), 11 deletions(-) |
18 |
|
19 |
diff --git a/media-video/xine-ui/files/xine-ui-0.99.10-libcaca.patch b/media-video/xine-ui/files/xine-ui-0.99.10-libcaca.patch |
20 |
new file mode 100644 |
21 |
index 00000000000..c5a359758d4 |
22 |
--- /dev/null |
23 |
+++ b/media-video/xine-ui/files/xine-ui-0.99.10-libcaca.patch |
24 |
@@ -0,0 +1,24 @@ |
25 |
+diff -r efe11fb1562e configure.ac |
26 |
+--- a/configure.ac Thu Dec 28 18:08:02 2017 +0200 |
27 |
++++ b/configure.ac Sun Apr 01 23:00:22 2018 -0600 |
28 |
+@@ -374,7 +374,7 @@ |
29 |
+ if test "x$with_caca" = "xyes" && test "x$have_caca" = "xno"; then |
30 |
+ AC_MSG_ERROR([CACA support requested, but libcaca 0.99 not found]) |
31 |
+ fi |
32 |
+- if test test "x$have_caca" = "xyes"; then |
33 |
++ if test "x$have_caca" = "xyes"; then |
34 |
+ AM_DL() |
35 |
+ fi |
36 |
+ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[#include <caca.h> |
37 |
+ |
38 |
+--- a/configure Thu Dec 28 18:08:02 2017 +0200 |
39 |
++++ b/configure Sun Apr 01 23:00:22 2018 -0600 |
40 |
+@@ -12651,7 +12651,7 @@ |
41 |
+ if test "x$with_caca" = "xyes" && test "x$have_caca" = "xno"; then |
42 |
+ as_fn_error $? "CACA support requested, but libcaca 0.99 not found" "$LINENO" 5 |
43 |
+ fi |
44 |
+- if test test "x$have_caca" = "xyes"; then |
45 |
++ if test "x$have_caca" = "xyes"; then |
46 |
+ |
47 |
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5 |
48 |
+ $as_echo_n "checking for dlopen in -lc... " >&6; } |
49 |
|
50 |
diff --git a/media-video/xine-ui/xine-ui-0.99.10.ebuild b/media-video/xine-ui/xine-ui-0.99.10.ebuild |
51 |
index 90ab46eefcf..905b7daa267 100644 |
52 |
--- a/media-video/xine-ui/xine-ui-0.99.10.ebuild |
53 |
+++ b/media-video/xine-ui/xine-ui-0.99.10.ebuild |
54 |
@@ -1,7 +1,8 @@ |
55 |
-# Copyright 1999-2018 Gentoo Foundation |
56 |
+# Copyright 1999-2018 Gentoo Authors |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
|
59 |
-EAPI=5 |
60 |
+EAPI=6 |
61 |
+ |
62 |
inherit gnome2-utils xdg-utils |
63 |
|
64 |
DESCRIPTION="Xine movie player" |
65 |
@@ -13,7 +14,8 @@ SLOT="0" |
66 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd" |
67 |
IUSE="aalib curl debug libcaca lirc nls readline vdr X xinerama" |
68 |
|
69 |
-RDEPEND="|| ( app-arch/tar app-arch/libarchive ) |
70 |
+RDEPEND=" |
71 |
+ || ( app-arch/tar app-arch/libarchive ) |
72 |
media-libs/libpng:0= |
73 |
>=media-libs/xine-lib-1.2:=[aalib?,libcaca?] |
74 |
virtual/jpeg:0 |
75 |
@@ -35,17 +37,22 @@ RDEPEND="|| ( app-arch/tar app-arch/libarchive ) |
76 |
x11-libs/libXv:= |
77 |
x11-libs/libXxf86vm:= |
78 |
xinerama? ( x11-libs/libXinerama:= ) |
79 |
- )" |
80 |
+ ) |
81 |
+" |
82 |
DEPEND="${RDEPEND} |
83 |
+ virtual/pkgconfig |
84 |
nls? ( >=sys-devel/gettext-0.18.3 ) |
85 |
X? ( |
86 |
x11-base/xorg-proto |
87 |
x11-libs/libXt |
88 |
- ) |
89 |
- virtual/pkgconfig" |
90 |
+ ) |
91 |
+" |
92 |
+ |
93 |
+PATCHES=( "${FILESDIR}"/${P}-libcaca.patch ) |
94 |
|
95 |
src_prepare() { |
96 |
- rm -f misc/xine-bugreport |
97 |
+ default |
98 |
+ rm misc/xine-bugreport || die |
99 |
} |
100 |
|
101 |
src_configure() { |
102 |
@@ -70,11 +77,8 @@ src_install() { |
103 |
docdir="/usr/share/doc/${PF}" \ |
104 |
docsdir="/usr/share/doc/${PF}" \ |
105 |
install |
106 |
- dodoc AUTHORS ChangeLog NEWS README |
107 |
-} |
108 |
|
109 |
-pkg_preinst() { |
110 |
- gnome2_icon_savelist |
111 |
+ einstalldocs |
112 |
} |
113 |
|
114 |
pkg_postinst() { |