From e2db47eaae00ec33f8971db44b68645c5d3b9590 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 17 Aug 2021 11:36:49 +0100 Subject: gentoo resync : 17.08.2021 --- app-cdr/graveman/graveman-0.3.12_p5-r3.ebuild | 75 +++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 app-cdr/graveman/graveman-0.3.12_p5-r3.ebuild (limited to 'app-cdr/graveman/graveman-0.3.12_p5-r3.ebuild') diff --git a/app-cdr/graveman/graveman-0.3.12_p5-r3.ebuild b/app-cdr/graveman/graveman-0.3.12_p5-r3.ebuild new file mode 100644 index 000000000000..d9adf8a2b0cb --- /dev/null +++ b/app-cdr/graveman/graveman-0.3.12_p5-r3.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools 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 + app-cdr/cdrtools + >=dev-libs/glib-2.4:2 + >=gnome-base/libglade-2.4:2.0 + media-libs/libmng:= + 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/-}" + +src_prepare() { + eapply \ + "${FILESDIR}"/joliet-long.patch \ + "${FILESDIR}"/rename.patch \ + "${FILESDIR}"/desktop-entry.patch + + if use mp3 || use vorbis; then + eapply "${FILESDIR}"/sox.patch + fi + + # Fix tests + echo glade/dialog_media.glade >> po/POTFILES.in + echo glade/window_welcome.glade >> po/POTFILES.in + echo src/flac.c >> po/POTFILES.in + + # Prevent m4_copy error when running aclocal + # m4_copy: won't overwrite defined macro: glib_DEFUN, bug #579918 + rm m4/glib-gettext.m4 || die + + eautoreconf # Needed for build only the needed translations + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_enable debug) \ + $(use_enable flac) \ + $(use_enable mp3) \ + $(use_enable vorbis ogg) +} -- cgit v1.2.3