# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-cdr/graveman/graveman-0.3.12_p5-r2.ebuild,v 1.1 2014/04/02 10:00:36 tomwij Exp $ EAPI="5" inherit eutils gnome2 DESCRIPTION="Graphical frontend for cdrecord, mkisofs, readcd and sox using GTK+2" HOMEPAGE="http://graveman.tuxfamily.org/" SRC_URI="http://graveman.tuxfamily.org/sources/${PN}-${PV/_p/-}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="debug dvdr flac mp3 nls vorbis" RDEPEND="app-cdr/cdrdao >=dev-libs/glib-2.4:2 >=gnome-base/libglade-2.4:2.0 media-libs/libmng virtual/cdrtools x11-libs/gdk-pixbuf:2 >=x11-libs/gtk+-2.4:2 dvdr? ( app-cdr/dvd+rw-tools ) flac? ( media-libs/flac ) mp3? ( media-libs/libid3tag media-libs/libmad media-sound/sox ) nls? ( virtual/libintl ) vorbis? ( media-libs/libogg media-libs/libvorbis media-sound/sox )" DEPEND="${RDEPEND} dev-util/intltool virtual/pkgconfig nls? ( sys-devel/gettext )" S=${WORKDIR}/${P/_p/-} DOCS="AUTHORS ChangeLog NEWS README* THANKS" src_prepare() { epatch "${FILESDIR}"/joliet-long.patch \ "${FILESDIR}"/rename.patch \ "${FILESDIR}"/desktop-entry.patch if use mp3 || use vorbis; then epatch "${FILESDIR}"/sox.patch fi } src_configure() { gnome2_src_configure \ $(use_enable debug) \ $(use_enable flac) \ $(use_enable mp3) \ $(use_enable vorbis ogg) }