/[gentoo-x86]/app-cdr/brasero/brasero-2.32.1-r1.ebuild
Gentoo

Contents of /app-cdr/brasero/brasero-2.32.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Dec 29 17:13:38 2011 UTC (2 years, 10 months ago) by pacho
Branch: MAIN
Changes since 1.6: +2 -2 lines
amd64 stable, bug 393007

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-cdr/brasero/brasero-2.32.1-r1.ebuild,v 1.6 2011/11/15 23:24:56 tetromino Exp $
4
5 EAPI="4"
6 GNOME2_LA_PUNT="yes"
7 GNOME_TARBALL_SUFFIX="bz2"
8 GCONF_DEBUG="no"
9
10 inherit autotools eutils gnome2 multilib
11
12 DESCRIPTION="Brasero (aka Bonfire) is yet another application to burn CD/DVD for the gnome desktop."
13 HOMEPAGE="http://projects.gnome.org/brasero/"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
18 IUSE="+cdr +css doc dvd +introspection +libburn nautilus playlist test vcd"
19
20 COMMON_DEPEND="
21 >=dev-libs/glib-2.25.10:2
22 media-libs/libcanberra[gtk]
23 >=x11-libs/gtk+-2.21.9:2[introspection?]
24 >=gnome-base/gconf-2.31.1:2
25 >=media-libs/gstreamer-0.10.15:0.10
26 >=media-libs/gst-plugins-base-0.10:0.10
27 >=dev-libs/libxml2-2.6:2
28 >=dev-libs/libunique-1:1
29 x11-libs/libSM
30 introspection? ( >=dev-libs/gobject-introspection-0.6.3 )
31 libburn? (
32 >=dev-libs/libburn-0.4
33 >=dev-libs/libisofs-0.6.4 )
34 nautilus? ( >=gnome-base/nautilus-2.31.3 )
35 playlist? ( >=dev-libs/totem-pl-parser-2.29.1 )"
36 RDEPEND="${COMMON_DEPEND}
37 app-cdr/cdrdao
38 app-cdr/dvd+rw-tools
39 >=media-plugins/gst-plugins-meta-0.10-r6:0.10[dvd?,vcd?]
40 x11-themes/hicolor-icon-theme
41 css? ( media-libs/libdvdcss:1.2 )
42 cdr? ( virtual/cdrtools )
43 dvd? ( media-video/dvdauthor )
44 vcd? ( media-video/vcdimager )
45 !libburn? ( virtual/cdrtools )"
46 DEPEND="${COMMON_DEPEND}
47 app-text/gnome-doc-utils
48 dev-util/pkgconfig
49 sys-devel/gettext
50 dev-util/intltool
51 gnome-base/gnome-common:3
52 >=dev-util/gtk-doc-am-1.12
53 doc? ( >=dev-util/gtk-doc-1.12 )
54 test? ( app-text/docbook-xml-dtd:4.3 )"
55 # eautoreconf deps
56 # gnome-base/gnome-common
57 # dev-util/gtk-doc-am
58 PDEPEND="gnome-base/gvfs"
59
60 pkg_setup() {
61 G2CONF="${G2CONF}
62 --disable-scrollkeeper
63 --disable-caches
64 --disable-dependency-tracking
65 --with-gtk=2.0
66 --disable-search
67 $(use_enable cdr cdrtools)
68 $(use_enable cdr cdrkit)
69 $(use_enable introspection)
70 $(use_enable libburn libburnia)
71 $(use_enable nautilus)
72 $(use_enable playlist)"
73
74 if ! use libburn; then
75 G2CONF="${G2CONF} --enable-cdrtools --enable-cdrkit"
76 fi
77
78 DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
79 }
80
81 src_prepare() {
82 # Fix link against installed libraries, bug #340767
83 epatch "${FILESDIR}/${PN}-2.32.0-build-plugins-against-local-library.patch"
84
85 # Silenced some warnings
86 epatch "${FILESDIR}/${P}-warning-silenced.patch"
87 epatch "${FILESDIR}/${P}-warning-silenced2.patch"
88
89 # Make sure that the size is displayed correctly when burning tracks internally copied with cdda2wav
90 epatch "${FILESDIR}/${P}-fix-size.patch"
91
92 # Do not show useless dialog warning about the nature of the medium when we are copying audio from a CDRW
93 epatch "${FILESDIR}/${P}-useless-dialog.patch"
94
95 intltoolize --force --copy --automake || die "intltoolize failed"
96 eautoreconf
97 gnome2_src_prepare
98 }
99
100 pkg_preinst() {
101 gnome2_pkg_preinst
102
103 preserve_old_lib /usr/$(get_libdir)/libbrasero-burn.so.0
104 preserve_old_lib /usr/$(get_libdir)/libbrasero-media.so.0
105 preserve_old_lib /usr/$(get_libdir)/libbrasero-utils.so.0
106 }
107
108 pkg_postinst() {
109 gnome2_pkg_postinst
110
111 preserve_old_lib_notify /usr/$(get_libdir)/libbrasero-burn.so.0
112 preserve_old_lib_notify /usr/$(get_libdir)/libbrasero-media.so.0
113 preserve_old_lib_notify /usr/$(get_libdir)/libbrasero-utils.so.0
114
115 echo
116 elog "If ${PN} doesn't handle some music or video format, please check"
117 elog "your USE flags on media-plugins/gst-plugins-meta"
118 }

  ViewVC Help
Powered by ViewVC 1.1.20