summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/gnac
downloadgentoo-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/gnac')
-rw-r--r--media-sound/gnac/Manifest1
-rw-r--r--media-sound/gnac/files/gnac-0.2.4.1-cflags.patch19
-rw-r--r--media-sound/gnac/files/gnac-0.2.4.1-nls.patch10
-rw-r--r--media-sound/gnac/gnac-0.2.4.1.ebuild48
-rw-r--r--media-sound/gnac/metadata.xml8
5 files changed, 86 insertions, 0 deletions
diff --git a/media-sound/gnac/Manifest b/media-sound/gnac/Manifest
new file mode 100644
index 000000000000..ee54c7ded314
--- /dev/null
+++ b/media-sound/gnac/Manifest
@@ -0,0 +1 @@
+DIST gnac-0.2.4.1.tar.bz2 929747 SHA256 8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da SHA512 c474854222cc938d6ec081cdf5e8e8762e5618eca1c17dacaf8412970310ee50af2fad92501ba3b129f8756782fabd770e52656d6eead77d1a8ec0dd5f972f9b WHIRLPOOL b81588b4c13bd6920679d096b17c6af79a8d61d8b014654140451d65de150f1f295d50cd5ceb270067f45e52c358c8ff1f12511ea29486a0acd573fa0c71cb72
diff --git a/media-sound/gnac/files/gnac-0.2.4.1-cflags.patch b/media-sound/gnac/files/gnac-0.2.4.1-cflags.patch
new file mode 100644
index 000000000000..816eadb70ef7
--- /dev/null
+++ b/media-sound/gnac/files/gnac-0.2.4.1-cflags.patch
@@ -0,0 +1,19 @@
+--- gnac-0.2.4.1/configure.ac
++++ gnac-0.2.4.1/configure.ac
+@@ -122,16 +122,6 @@
+ AC_SUBST(DISABLE_DEPRECATED)
+ fi
+
+-# debug support
+-AC_ARG_ENABLE([debug], [],
+-[ if test "$enableval" = "yes"; then
+- CFLAGS="-g -ggdb -O0"
+- else
+- CFLAGS="-O2"
+- fi
+- AC_SUBST([CFLAGS])
+- ])
+-
+ AC_SUBST([AM_CPPFLAGS])
+ AC_SUBST([AM_CFLAGS])
+ AC_SUBST([AM_LDFLAGS])
diff --git a/media-sound/gnac/files/gnac-0.2.4.1-nls.patch b/media-sound/gnac/files/gnac-0.2.4.1-nls.patch
new file mode 100644
index 000000000000..76d822f08bf9
--- /dev/null
+++ b/media-sound/gnac/files/gnac-0.2.4.1-nls.patch
@@ -0,0 +1,10 @@
+--- gnac-0.2.4.1/po/POTFILES.in
++++ gnac-0.2.4.1/po/POTFILES.in
+@@ -32,6 +32,7 @@
+ [type: gettext/xml]data/profiles/vorbis.xml.in
+ [type: gettext/xml]data/profiles/wav.xml.in
+ [type: gettext/xml]data/profiles/wavpack.xml.in
++intl/plural.c
+ libgnac/libgnac-converter.c
+ libgnac/libgnac-error.c
+ libgnac/libgnac-gst.c
diff --git a/media-sound/gnac/gnac-0.2.4.1.ebuild b/media-sound/gnac/gnac-0.2.4.1.ebuild
new file mode 100644
index 000000000000..6ee40a00f04e
--- /dev/null
+++ b/media-sound/gnac/gnac-0.2.4.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils autotools gnome2
+
+DESCRIPTION="Audio converter for GNOME"
+HOMEPAGE="http://gnac.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gnac/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LANGS=" cs da de en_GB es gl fr he hu it lt nb pt_BR pl ro ru sl sv te tr zh_CN"
+IUSE="aac flac libnotify mp3 nls wavpack ${LANGS// / linguas_}"
+
+RDEPEND="
+ x11-libs/gtk+:3
+ dev-libs/libunique:3
+ dev-libs/libxml2:2
+ libnotify? ( x11-libs/libnotify )
+ >=media-libs/gstreamer-0.10.31:0.10
+ >=media-libs/gst-plugins-base-0.10.31:0.10
+ media-plugins/gst-plugins-gio:0.10
+ media-plugins/gst-plugins-meta:0.10[flac?,mp3?,wavpack?]
+ aac? ( media-plugins/gst-plugins-faac:0.10 )
+ nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}
+ >=app-text/gnome-doc-utils-0.17.2
+ gnome-base/gnome-common
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-cflags.patch
+ epatch "${FILESDIR}"/${P}-nls.patch
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_configure() {
+ gnome2_src_configure $(use_enable nls)
+}
diff --git a/media-sound/gnac/metadata.xml b/media-sound/gnac/metadata.xml
new file mode 100644
index 000000000000..4ad88e363608
--- /dev/null
+++ b/media-sound/gnac/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+ <upstream>
+ <remote-id type="sourceforge">gnac</remote-id>
+ </upstream>
+</pkgmetadata>