diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/mp3splt-gtk | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/mp3splt-gtk')
11 files changed, 488 insertions, 0 deletions
diff --git a/media-sound/mp3splt-gtk/Manifest b/media-sound/mp3splt-gtk/Manifest new file mode 100644 index 000000000000..da15baab4b8c --- /dev/null +++ b/media-sound/mp3splt-gtk/Manifest @@ -0,0 +1,4 @@ +DIST mp3splt-gtk-0.7.3.tar.gz 1166328 SHA256 7300383453ca8d3268776163e2afb9b03a0d907d2f29ec6fc1826b41679d4e1c SHA512 070d9aabfe3eed77f596051b2a750dff3a36f1a37e233d6d6498dae4688a48770a87730b3c2e9c1c775a28e834590d84027030fd6f994ffa890c685c9f8bd809 WHIRLPOOL e0b42f51a552d0b372054b5a55d6f1e9e3ee35f20363999bfcb7a34436515a831f3b20b4ca40723cd5614b63e405e46530621d16167954c986f320f8876b9cc0 +DIST mp3splt-gtk-0.9.1.tar.gz 1079894 SHA256 3c9db4b6ec26cd55c91b7fe30b8b6236555b95012cd8abdc4c949e6ae45c8194 SHA512 7596e8341b8cd5f0592f310665bd178d04e8c46b43e51a2df4fb0d6acac64e5be66aeb58f072acbbf9597578c5126f28eb3734e8d24e020669db7b2b94ef6a65 WHIRLPOOL ce701110d5c855c1872ca1c83aa7e13c8e95c307e9cea43545a9d77017dac1c13c7bddaaf129ba00ef6be8f2f4a1a3aae57e29df7b3361830a54643d0bfa85fc +DIST mp3splt-gtk-0.9.1a.tar.gz 1079260 SHA256 5fc242870f1690a2e27b5bea8b13bb4f7ede1e4cb212f9d9bccd9502a734f718 SHA512 9eea51063350d7644a96150332a3e88a35ba5e94bda07043d03dc93fe1b6ff656e55f8d7e564248d54004e44e0f9f4677c63a456a8a65a18be63417e47b524aa WHIRLPOOL 75e7c3c87d60fd0d4dead656cab4560dc13a69c70a18de776127875fff6804e92c7311d60f88a9115d7bbfab66d22718e6de334480e7faab9017f94a03131afd +DIST mp3splt-gtk-0.9.tar.gz 1061200 SHA256 6262cf61f74bfb1cac5d5bdf6c3ad41fece221f7fb66032ae633835044aecff5 SHA512 0966e08fb8aef75feb6d3ffea7377ce39376739b1c6d97cb5729e627829d99e0b56011d625cfea26c76a39f7a2ff2a941fef92b4ab85a9c83f99ef1c55c6a87f WHIRLPOOL 14d64a728364139fabfe4851886fc0bdc98121f2ef8c8642f9d30b37cfdf143b3e8434aaac600fda0c80d38afdb8f13a2423e53904cc0cf446d187193d426bf4 diff --git a/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.7-disable-docs.patch b/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.7-disable-docs.patch new file mode 100644 index 000000000000..fa7b5f588553 --- /dev/null +++ b/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.7-disable-docs.patch @@ -0,0 +1,40 @@ +From 12880888a2857f73cc87b9bdf5505fed0cbc6bbe Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Wed, 3 Aug 2011 20:53:22 +0200 +Subject: [PATCH 2/2] Disable documentation + +--- + configure.ac | 17 +++-------------- + 1 files changed, 3 insertions(+), 14 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 1c564c5..260602d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -269,20 +269,9 @@ echo + + # Check for doxygen, so we can decide if we add it to the "doc" + # make target. +-AC_PATH_PROG([DOXYGEN],[doxygen]) +-AC_ARG_VAR(DOXYGEN, +- [Location of the 'doxygen' program; if found we can generate documentation for the C code]) +-AM_CONDITIONAL(HAVE_DOXYGEN, [ test "x$DOXYGEN" != "x" ]) +- +-# Check for dot, the tool that makes the nice little caller graphs for the +-# doxygen documentation. +-AC_PATH_PROG([GRAPHVIZ],[dot]) +-AC_ARG_VAR(GRAPHVIZ, +- [Location of the 'dot' program from the graphviz suite; if found we can generate caller graphs for the documentation of the C code]) +-AM_CONDITIONAL(HAVE_GRAPHVIZ, [ test "x$GRAPHVIZ" != "x" ]) +-if test x$HAVE_DOT = "xfalse"; then +- AC_MSG_WARN([*** dot from the graphviz package not found, inheritance diagrams will not be generated in code documentation]) +-fi ++AM_CONDITIONAL(HAVE_DOXYGEN, [ false ]) ++ ++AM_CONDITIONAL(HAVE_GRAPHVIZ, [ false ]) + + ################################################# + # Generate Makefile +-- +1.7.6 + diff --git a/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.7.0.930-gtk.patch b/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.7.0.930-gtk.patch new file mode 100644 index 000000000000..bb4b2f763998 --- /dev/null +++ b/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.7.0.930-gtk.patch @@ -0,0 +1,44 @@ +From bb1c3cb3ffd1081d56e48d87ab05d31ad05d89de Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Fri, 23 Sep 2011 23:09:47 +0200 +Subject: [PATCH] Allow specifying a specific slot of GTK + +--- + configure.ac | 18 +++++++++++++----- + 1 files changed, 13 insertions(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 2157019..fbcadcf 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -150,14 +150,22 @@ fi + + ################################################# + #Check for GTK +-ifdef([AM_PATH_GTK_3_0], +-[ ++AC_ARG_ENABLE(gtk3, [ ++AC_HELP_STRING([--enable-gtk3], [Compile against GTK 3.x explicitly (default: use GTK 3.x if available)]) ++AC_HELP_STRING([--disable-gtk3], [Compile against GTK 2.x explicitly (default: use GTK 3.x if available)])], ++ [enable_gtk3=$enableval],[enable_gtk3="auto"]) ++ ++if test "x$enable_gtk3" = xauto; then ++ AC_MSG_NOTICE([selecting GTK 2.x/3.x automatically]) ++ ifdef([AM_PATH_GTK_3_0],[enable_gtk3=yes],[enable_gtk3=no]) ++fi ++ ++if test "x$enable_gtk3" = xyes; then + CFLAGS="$CFLAGS -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE" + AM_PATH_GTK_3_0(3.0.0,,AC_MSG_ERROR(mp3splt-gtk needs GTK+ >= 3.0.0)) +-], +-[ ++else + AM_PATH_GTK_2_0(2.20.0,,AC_MSG_ERROR(mp3splt-gtk needs GTK+ >= 2.20.0)) +-]) ++fi + + ################################################# + #Check for libmp3splt +-- +1.7.6.1 + diff --git a/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.8.2-automake-1.13.patch b/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.8.2-automake-1.13.patch new file mode 100644 index 000000000000..109682f46fcc --- /dev/null +++ b/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.8.2-automake-1.13.patch @@ -0,0 +1,61 @@ +From cb38e44936aa6a923f9dedffb7084de657caa54f Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Sat, 8 Jun 2013 21:44:45 +0200 +Subject: [PATCH] Resolve use of $(top_srcdir) in TESTS to stop Automake 1.13.1 + from erroring out + +This is actually a cheap port of a fix to upstream bug #153 +https://sourceforge.net/p/mp3splt/bugs/152/ +https://sourceforge.net/p/mp3splt/code/1326/ +--- + test/Makefile.am | 7 +++++-- + test/run-tests.sh | 7 ++++++- + 2 files changed, 11 insertions(+), 3 deletions(-) + +diff --git a/test/Makefile.am b/test/Makefile.am +index bb77e86..81159e3 100644 +--- a/test/Makefile.am ++++ b/test/Makefile.am +@@ -34,11 +34,14 @@ test_douglas_peucker_la_SOURCES = test_douglas_peucker.c tests.h \ + $(top_srcdir)/src/douglas_peucker.c $(top_srcdir)/src/douglas_peucker.h \ + $(top_srcdir)/src/utilities.c $(top_srcdir)/src/utilities.h + +-TESTS = $(top_srcdir)/test/run-tests.sh +-TESTS_ENVIRONMENT = NO_MAKE=yes CUTTER="$(CUTTER)" ++TESTS = run-tests.sh ++TESTS_ENVIRONMENT = NO_MAKE=yes CUTTER="$(CUTTER)" TESTS_DIR="$(top_builddir)/test" + + echo-cutter: + @echo $(CUTTER) + ++echo-tests-dir: ++ @echo $(top_builddir)/test ++ + endif + +diff --git a/test/run-tests.sh b/test/run-tests.sh +index a7bee7a..49ca19e 100755 +--- a/test/run-tests.sh ++++ b/test/run-tests.sh +@@ -5,6 +5,11 @@ top_dir="$BASE_DIR/.." + + if test -z "$NO_MAKE"; then + make -C $top_dir > /dev/null || exit 1 ++ TESTS_DIR=$BASE_DIR ++else ++ if test -z "$TESTS_DIR"; then ++ TESTS_DIR="`make -s -C $BASE_DIR echo-tests-dir`" ++ fi + fi + + if test -z "$CUTTER"; then +@@ -21,5 +26,5 @@ fi + exit 1 + } + +-$CUTTER -s $BASE_DIR "$@" $BASE_DIR ++$CUTTER -s $BASE_DIR "$@" $TESTS_DIR + +-- +1.8.2.1 + diff --git a/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.8.2-desktop-file.patch b/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.8.2-desktop-file.patch new file mode 100644 index 000000000000..f03c8a1e2987 --- /dev/null +++ b/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.8.2-desktop-file.patch @@ -0,0 +1,26 @@ +From 2db2b45c9b78561370b620a6a64d2d5e7c988a78 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Wed, 1 May 2013 22:27:25 +0200 +Subject: [PATCH] Remove deprecated category "Application" from .desktop file + template + +--- + mp3splt-gtk.desktop.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mp3splt-gtk.desktop.in b/mp3splt-gtk.desktop.in +index d7d0c98..67e4e1b 100644 +--- a/mp3splt-gtk.desktop.in ++++ b/mp3splt-gtk.desktop.in +@@ -6,7 +6,7 @@ Comment=Split mp3 and ogg files without decoding + Icon=PREFIX/mp3splt-gtk_ico.svg + + Type=Application +-Categories=Application;AudioVideo;Audio;AudioVideoEditing; ++Categories=AudioVideo;Audio;AudioVideoEditing; + + Exec=mp3splt-gtk + StartupNotify=false +-- +1.8.1.5 + diff --git a/media-sound/mp3splt-gtk/metadata.xml b/media-sound/mp3splt-gtk/metadata.xml new file mode 100644 index 000000000000..f622bddd39c5 --- /dev/null +++ b/media-sound/mp3splt-gtk/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <maintainer> + <email>sping@gentoo.org</email> + <name>Sebastian Pipping</name> + </maintainer> + <use> + <flag name="audacious">Include <pkg>media-sound/audacious</pkg> support</flag> + <flag name="gtk3">Link against <pkg>x11-libs/gtk+</pkg>:3 instead of <pkg>x11-libs/gtk+</pkg>:2</flag> + </use> + <upstream> + <remote-id type="sourceforge">mp3splt</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/mp3splt-gtk/mp3splt-gtk-0.7.3.ebuild b/media-sound/mp3splt-gtk/mp3splt-gtk-0.7.3.ebuild new file mode 100644 index 000000000000..fcca594ccb8e --- /dev/null +++ b/media-sound/mp3splt-gtk/mp3splt-gtk-0.7.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit versionator autotools multilib + +DESCRIPTION="a GTK+ based utility to split mp3 and ogg files without decoding" +HOMEPAGE="http://mp3splt.sourceforge.net" +SRC_URI="mirror://sourceforge/mp3splt/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~hppa ~ppc ~ppc64 sparc x86" +IUSE="audacious doc gtk3 gnome gstreamer nls" + +RDEPEND=">=media-libs/libmp3splt-0.7.3 + gtk3? ( x11-libs/gtk+:3 + audacious? ( >=media-sound/audacious-3.0 ) ) + !gtk3? ( >=x11-libs/gtk+-2.18:2 + audacious? ( <media-sound/audacious-3.0 ) ) + !audacious? ( dev-libs/dbus-glib ) + gstreamer? ( media-libs/gst-plugins-base:0.10 ) + gnome? ( gnome-base/libgnomeui )" +DEPEND="${RDEPEND} + gnome? ( app-text/gnome-doc-utils app-text/rarian ) + nls? ( sys-devel/gettext )" + +src_prepare() { + if use audacious; then + sed -i \ + -e 's:@AUDACIOUS_LIBS@:-laudclient &:' \ + src/Makefile.am || die + fi + + eautoreconf +} + +src_configure() { + local myconf + + use nls || myconf+=" --disable-nls" + use audacious || myconf+=" --disable-audacious" + use gstreamer || myconf+=" --disable-gstreamer" + + econf \ + --disable-dependency-tracking \ + --with-mp3splt-libraries=/usr/$(get_libdir) \ + --with-mp3splt-includes=/usr/include/libmp3splt \ + $(use_enable gnome) \ + $(use_enable doc doxygen_doc) \ + $(use_enable gtk3) \ + --disable-cutter \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.1.ebuild b/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.1.ebuild new file mode 100644 index 000000000000..1715333c86bc --- /dev/null +++ b/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils versionator autotools multilib + +DESCRIPTION="a GTK+ based utility to split mp3 and ogg files without decoding" +HOMEPAGE="http://mp3splt.sourceforge.net" +SRC_URI="mirror://sourceforge/mp3splt/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="audacious doc gtk3 gnome gstreamer nls" + +RDEPEND="~media-libs/libmp3splt-0.9.1 + gtk3? ( x11-libs/gtk+:3 + audacious? ( >=media-sound/audacious-3.0 ) ) + !gtk3? ( >=x11-libs/gtk+-2.18:2 + audacious? ( <media-sound/audacious-3.0 ) ) + !audacious? ( dev-libs/dbus-glib ) + gstreamer? ( media-libs/gstreamer:1.0 ) + gnome? ( gnome-base/libgnomeui )" +DEPEND="${RDEPEND} + virtual/pkgconfig + gnome? ( app-text/gnome-doc-utils app-text/rarian ) + nls? ( sys-devel/gettext )" + +src_prepare() { + if use audacious; then + sed -i \ + -e 's:@AUDACIOUS_LIBS@:-laudclient &:' \ + src/Makefile.am || die + fi + + eautoreconf +} + +src_configure() { + local myconf + + use nls || myconf+=" --disable-nls" + use audacious || myconf+=" --disable-audacious" + use gstreamer || myconf+=" --disable-gstreamer" + + econf \ + --disable-dependency-tracking \ + $(use_enable gnome) \ + $(use_enable doc doxygen_doc) \ + $(use_enable gtk3) \ + --disable-cutter \ + ${myconf} +} + +src_install() { + default + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.1a-r1.ebuild b/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.1a-r1.ebuild new file mode 100644 index 000000000000..a1c35fe0e454 --- /dev/null +++ b/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.1a-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils versionator autotools multilib + +DESCRIPTION="a GTK+ based utility to split mp3 and ogg files without decoding" +HOMEPAGE="http://mp3splt.sourceforge.net" +SRC_URI="mirror://sourceforge/mp3splt/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="audacious doc gtk3 gnome gstreamer nls" + +RDEPEND="~media-libs/libmp3splt-0.9.1a + gtk3? ( x11-libs/gtk+:3 + audacious? ( >=media-sound/audacious-3.0 ) ) + !gtk3? ( >=x11-libs/gtk+-2.18:2 + audacious? ( <media-sound/audacious-3.0 ) ) + !audacious? ( dev-libs/dbus-glib ) + gstreamer? ( media-libs/gstreamer:1.0 + media-plugins/gst-plugins-meta:1.0[mp3] ) + gnome? ( gnome-base/libgnomeui )" +DEPEND="${RDEPEND} + virtual/pkgconfig + gnome? ( app-text/gnome-doc-utils app-text/rarian ) + nls? ( sys-devel/gettext )" + +src_prepare() { + if use audacious; then + sed -i \ + -e 's:@AUDACIOUS_LIBS@:-laudclient &:' \ + src/Makefile.am || die + fi + + eautoreconf +} + +src_configure() { + local myconf + + use nls || myconf+=" --disable-nls" + use audacious || myconf+=" --disable-audacious" + use gstreamer || myconf+=" --disable-gstreamer" + + econf \ + --disable-dependency-tracking \ + $(use_enable gnome) \ + $(use_enable doc doxygen_doc) \ + $(use_enable gtk3) \ + --disable-cutter \ + ${myconf} +} + +src_install() { + default + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.1a.ebuild b/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.1a.ebuild new file mode 100644 index 000000000000..7438241eeec4 --- /dev/null +++ b/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.1a.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils versionator autotools multilib + +DESCRIPTION="a GTK+ based utility to split mp3 and ogg files without decoding" +HOMEPAGE="http://mp3splt.sourceforge.net" +SRC_URI="mirror://sourceforge/mp3splt/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="audacious doc gtk3 gnome gstreamer nls" + +RDEPEND="~media-libs/libmp3splt-0.9.1a + gtk3? ( x11-libs/gtk+:3 + audacious? ( >=media-sound/audacious-3.0 ) ) + !gtk3? ( >=x11-libs/gtk+-2.18:2 + audacious? ( <media-sound/audacious-3.0 ) ) + !audacious? ( dev-libs/dbus-glib ) + gstreamer? ( media-libs/gstreamer:1.0 ) + gnome? ( gnome-base/libgnomeui )" +DEPEND="${RDEPEND} + virtual/pkgconfig + gnome? ( app-text/gnome-doc-utils app-text/rarian ) + nls? ( sys-devel/gettext )" + +src_prepare() { + if use audacious; then + sed -i \ + -e 's:@AUDACIOUS_LIBS@:-laudclient &:' \ + src/Makefile.am || die + fi + + eautoreconf +} + +src_configure() { + local myconf + + use nls || myconf+=" --disable-nls" + use audacious || myconf+=" --disable-audacious" + use gstreamer || myconf+=" --disable-gstreamer" + + econf \ + --disable-dependency-tracking \ + $(use_enable gnome) \ + $(use_enable doc doxygen_doc) \ + $(use_enable gtk3) \ + --disable-cutter \ + ${myconf} +} + +src_install() { + default + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.ebuild b/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.ebuild new file mode 100644 index 000000000000..9a51fb5ec7bb --- /dev/null +++ b/media-sound/mp3splt-gtk/mp3splt-gtk-0.9.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils versionator autotools multilib + +DESCRIPTION="a GTK+ based utility to split mp3 and ogg files without decoding" +HOMEPAGE="http://mp3splt.sourceforge.net" +SRC_URI="mirror://sourceforge/mp3splt/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="audacious doc gtk3 gnome gstreamer nls" + +RDEPEND="~media-libs/libmp3splt-0.9.0 + gtk3? ( x11-libs/gtk+:3 + audacious? ( >=media-sound/audacious-3.0 ) ) + !gtk3? ( >=x11-libs/gtk+-2.18:2 + audacious? ( <media-sound/audacious-3.0 ) ) + !audacious? ( dev-libs/dbus-glib ) + gstreamer? ( media-libs/gst-plugins-base:0.10 ) + gnome? ( gnome-base/libgnomeui )" +DEPEND="${RDEPEND} + virtual/pkgconfig + gnome? ( app-text/gnome-doc-utils app-text/rarian ) + nls? ( sys-devel/gettext )" + +src_prepare() { + if use audacious; then + sed -i \ + -e 's:@AUDACIOUS_LIBS@:-laudclient &:' \ + src/Makefile.am || die + fi + + eautoreconf +} + +src_configure() { + local myconf + + use nls || myconf+=" --disable-nls" + use audacious || myconf+=" --disable-audacious" + use gstreamer || myconf+=" --disable-gstreamer" + + econf \ + --disable-dependency-tracking \ + $(use_enable gnome) \ + $(use_enable doc doxygen_doc) \ + $(use_enable gtk3) \ + --disable-cutter \ + ${myconf} +} + +src_install() { + default + dodoc AUTHORS ChangeLog NEWS README +} |