# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-cdr/brasero/brasero-3.8.0.ebuild,v 1.4 2013/12/08 17:37:35 pacho Exp $ EAPI="5" GCONF_DEBUG="no" GNOME2_LA_PUNT="yes" inherit autotools eutils gnome2 DESCRIPTION="CD/DVD burning application for the GNOME desktop" HOMEPAGE="http://projects.gnome.org/brasero/" LICENSE="GPL-2+ CC-BY-SA-3.0" SLOT="0/3.1" # subslot is 3.suffix of libbrasero-burn3 IUSE="+css +introspection +libburn mp3 nautilus packagekit playlist test tracker" KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86" COMMON_DEPEND=" >=dev-libs/glib-2.29.14:2 >=x11-libs/gtk+-3.0.0:3[introspection?] media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 >=dev-libs/libxml2-2.6:2 >=x11-libs/libnotify-0.6.1:= media-libs/libcanberra[gtk3] x11-libs/libICE x11-libs/libSM introspection? ( >=dev-libs/gobject-introspection-0.6.3 ) libburn? ( >=dev-libs/libburn-0.4:= >=dev-libs/libisofs-0.6.4:= ) nautilus? ( >=gnome-base/nautilus-2.91.90 ) playlist? ( >=dev-libs/totem-pl-parser-2.29.1:= ) tracker? ( >=app-misc/tracker-0.12:= ) " RDEPEND="${COMMON_DEPEND} media-libs/gst-plugins-good:1.0 media-plugins/gst-plugins-meta:1.0 x11-themes/hicolor-icon-theme css? ( media-libs/libdvdcss:1.2 ) !libburn? ( app-cdr/cdrdao app-cdr/dvd+rw-tools virtual/cdrtools ) mp3? ( media-libs/gst-plugins-ugly:1.0 media-plugins/gst-plugins-mad:1.0 ) packagekit? ( app-admin/packagekit-base ) " DEPEND="${COMMON_DEPEND} app-text/yelp-tools dev-util/intltool >=dev-util/gtk-doc-am-1.12 gnome-base/gnome-common:3 sys-devel/gettext virtual/pkgconfig test? ( app-text/docbook-xml-dtd:4.3 ) " # eautoreconf deps # app-text/yelp-tools # gnome-base/gnome-common PDEPEND="gnome-base/gvfs" src_prepare() { # Simplify tracker version searching and support 0.16 API (from 'master') epatch "${FILESDIR}/${P}-tracker-detection.patch" eautoreconf gnome2_src_prepare } src_configure() { DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README" gnome2_src_configure \ --disable-caches \ $(use_enable !libburn cdrtools) \ $(use_enable !libburn cdrkit) \ $(use_enable !libburn cdrdao) \ $(use_enable !libburn growisofs) \ $(use_enable introspection) \ $(use_enable libburn libburnia) \ $(use_enable nautilus) \ $(use_enable playlist) \ $(use_enable tracker search) \ ITSTOOL=$(type -P true) }