1 |
commit: 3d7644a89491fca1116cc0448d5da9e68cea68ca |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 31 11:49:06 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 31 11:49:41 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d7644a8 |
7 |
|
8 |
app-cdr/brasero: Fix detection of libdvdcss (#573422 by Michael Jones) |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
app-cdr/brasero/brasero-3.12.1-r1.ebuild | 86 ++++++++++++++++++++++ |
13 |
.../brasero/files/brasero-3.12.1-libdvdcss.patch | 18 +++++ |
14 |
2 files changed, 104 insertions(+) |
15 |
|
16 |
diff --git a/app-cdr/brasero/brasero-3.12.1-r1.ebuild b/app-cdr/brasero/brasero-3.12.1-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..5b591a4 |
19 |
--- /dev/null |
20 |
+++ b/app-cdr/brasero/brasero-3.12.1-r1.ebuild |
21 |
@@ -0,0 +1,86 @@ |
22 |
+# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI="5" |
27 |
+GCONF_DEBUG="no" |
28 |
+GNOME2_LA_PUNT="yes" |
29 |
+ |
30 |
+inherit eutils gnome2 |
31 |
+ |
32 |
+DESCRIPTION="CD/DVD burning application for the GNOME desktop" |
33 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Brasero" |
34 |
+ |
35 |
+LICENSE="GPL-2+ CC-BY-SA-3.0" |
36 |
+SLOT="0/3.1" # subslot is 3.suffix of libbrasero-burn3 |
37 |
+IUSE="+css +introspection +libburn mp3 nautilus packagekit playlist test tracker" |
38 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
39 |
+ |
40 |
+COMMON_DEPEND=" |
41 |
+ >=dev-libs/glib-2.29.14:2 |
42 |
+ >=x11-libs/gtk+-3:3[introspection?] |
43 |
+ media-libs/gstreamer:1.0 |
44 |
+ media-libs/gst-plugins-base:1.0 |
45 |
+ >=dev-libs/libxml2-2.6:2 |
46 |
+ >=x11-libs/libnotify-0.6.1:= |
47 |
+ |
48 |
+ media-libs/libcanberra[gtk3] |
49 |
+ x11-libs/libICE |
50 |
+ x11-libs/libSM |
51 |
+ |
52 |
+ introspection? ( >=dev-libs/gobject-introspection-0.6.3:= ) |
53 |
+ libburn? ( |
54 |
+ >=dev-libs/libburn-0.4:= |
55 |
+ >=dev-libs/libisofs-0.6.4:= ) |
56 |
+ nautilus? ( >=gnome-base/nautilus-2.91.90 ) |
57 |
+ playlist? ( >=dev-libs/totem-pl-parser-2.29.1:= ) |
58 |
+ tracker? ( >=app-misc/tracker-0.12:0= ) |
59 |
+" |
60 |
+RDEPEND="${COMMON_DEPEND} |
61 |
+ media-libs/gst-plugins-good:1.0 |
62 |
+ media-plugins/gst-plugins-meta:1.0 |
63 |
+ x11-themes/hicolor-icon-theme |
64 |
+ css? ( media-libs/libdvdcss:1.2 ) |
65 |
+ !libburn? ( |
66 |
+ app-cdr/cdrdao |
67 |
+ app-cdr/dvd+rw-tools |
68 |
+ virtual/cdrtools ) |
69 |
+ mp3? ( |
70 |
+ media-libs/gst-plugins-ugly:1.0 |
71 |
+ media-plugins/gst-plugins-mad:1.0 ) |
72 |
+ packagekit? ( app-admin/packagekit-base ) |
73 |
+" |
74 |
+DEPEND="${COMMON_DEPEND} |
75 |
+ >=dev-util/intltool-0.50 |
76 |
+ dev-util/itstool |
77 |
+ >=dev-util/gtk-doc-am-1.12 |
78 |
+ sys-devel/gettext |
79 |
+ virtual/pkgconfig |
80 |
+ test? ( app-text/docbook-xml-dtd:4.3 ) |
81 |
+" |
82 |
+# eautoreconf deps |
83 |
+# app-text/yelp-tools |
84 |
+# gnome-base/gnome-common |
85 |
+ |
86 |
+PDEPEND="gnome-base/gvfs" |
87 |
+ |
88 |
+src_prepare() { |
89 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=744916 |
90 |
+ epatch "${FILESDIR}"/${PN}-3.12.1-libdvdcss.patch |
91 |
+ gnome2_src_prepare |
92 |
+} |
93 |
+ |
94 |
+src_configure() { |
95 |
+ DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README" |
96 |
+ gnome2_src_configure \ |
97 |
+ --disable-caches \ |
98 |
+ $(use_enable !libburn cdrtools) \ |
99 |
+ $(use_enable !libburn cdrkit) \ |
100 |
+ $(use_enable !libburn cdrdao) \ |
101 |
+ $(use_enable !libburn growisofs) \ |
102 |
+ $(use_enable introspection) \ |
103 |
+ $(use_enable libburn libburnia) \ |
104 |
+ $(use_enable nautilus) \ |
105 |
+ $(use_enable playlist) \ |
106 |
+ $(use_enable tracker search) |
107 |
+} |
108 |
|
109 |
diff --git a/app-cdr/brasero/files/brasero-3.12.1-libdvdcss.patch b/app-cdr/brasero/files/brasero-3.12.1-libdvdcss.patch |
110 |
new file mode 100644 |
111 |
index 0000000..86b009d |
112 |
--- /dev/null |
113 |
+++ b/app-cdr/brasero/files/brasero-3.12.1-libdvdcss.patch |
114 |
@@ -0,0 +1,18 @@ |
115 |
+The current version of libdvdcss has removed the dvdcss_interface_2 symbol so |
116 |
+brasero incorrectly assumes it's the wrong version. |
117 |
+ |
118 |
+https://bugzilla.redhat.com/show_bug.cgi?id=1193628 |
119 |
+ |
120 |
+diff -Naur brasero-3.12.1.orig/plugins/dvdcss/burn-dvdcss.c brasero-3.12.1/plugins/dvdcss/burn-dvdcss.c |
121 |
+--- brasero-3.12.1.orig/plugins/dvdcss/burn-dvdcss.c 2015-11-12 09:48:53.782886516 -0600 |
122 |
++++ brasero-3.12.1/plugins/dvdcss/burn-dvdcss.c 2015-11-12 09:53:03.152656908 -0600 |
123 |
+@@ -95,9 +95,6 @@ |
124 |
+ if (!module) |
125 |
+ goto error_doesnt_exist; |
126 |
+ |
127 |
+- if (!g_module_symbol (module, "dvdcss_interface_2", &address)) |
128 |
+- goto error_version; |
129 |
+- |
130 |
+ if (!g_module_symbol (module, "dvdcss_open", &address)) |
131 |
+ goto error_version; |
132 |
+ dvdcss_open = address; |