summaryrefslogtreecommitdiff
path: root/media-sound/gnac
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-sound/gnac
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/gnac')
-rw-r--r--media-sound/gnac/Manifest7
-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.ebuild54
-rw-r--r--media-sound/gnac/metadata.xml11
5 files changed, 101 insertions, 0 deletions
diff --git a/media-sound/gnac/Manifest b/media-sound/gnac/Manifest
new file mode 100644
index 000000000000..7a594185362d
--- /dev/null
+++ b/media-sound/gnac/Manifest
@@ -0,0 +1,7 @@
+AUX gnac-0.2.4.1-cflags.patch 363 SHA256 4fc934a7cc98cdc5a7c1ac9e65d57826fed81c9f50694d1c28acae9f79bd24f6 SHA512 ec43a8925136432ae2d05cace27d98c6193babee3d5d6b6c4c86ce9494875c4d6289624cb7436af1e0467583a70afe87087d7251a81053fa83cdf5cb1959d3a5 WHIRLPOOL 541612591436b46fb94de82c76596c215affe66b168bd7186e9427cdbe1028ca372231a554fd8c98ed44ab3a90b4475aadebd0a7a2775aab0940415e9a3374de
+AUX gnac-0.2.4.1-nls.patch 316 SHA256 870431ff702d0e400c3221b3574d2e8ca4049eb13003d829d43034bfc5e059a1 SHA512 2d553fa9ca941ba8f24c83a5e18de528ea6284e5a5ddb66b472227f02425555a783f49bada25b277817cd358e7c3895b9cf76166e9c357edb732e5d1480f288a WHIRLPOOL 381d810e25c0c8bd518102e844f404d8cb36274d84e0931503b963c6a45221d15625c8c999c8fcb03075a971ffe0741c48d7e7decb57f7375da235cbc704e870
+DIST gnac-0.2.4.1.tar.bz2 929747 SHA256 8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da SHA512 c474854222cc938d6ec081cdf5e8e8762e5618eca1c17dacaf8412970310ee50af2fad92501ba3b129f8756782fabd770e52656d6eead77d1a8ec0dd5f972f9b WHIRLPOOL b81588b4c13bd6920679d096b17c6af79a8d61d8b014654140451d65de150f1f295d50cd5ceb270067f45e52c358c8ff1f12511ea29486a0acd573fa0c71cb72
+EBUILD gnac-0.2.4.1.ebuild 1277 SHA256 649ad16bdd81b44adf548f49a68bbff3057a9e15d74ebbc19f5845e8611983fc SHA512 e518911ff4e0ef5fe6341071446e0c7449137c31261305f0e04db60c7f9b28ee10d180a04df2b1a527a9cc24ed06e049910a81ec6ef85fd8dc383d0600324924 WHIRLPOOL 918ee484bfe0c9e30f5c6c4d50b39c84651fef66370c7d3cc6dfbe9bd2bdbbd1b5922aa01d525e95d0d69edb1b2a37e0eb549754229a07ec62def417e16d2574
+MISC ChangeLog 2777 SHA256 e5ea3a5e721ed059cf81f27db32e99365e70b090d3295395151c311a18aefaa6 SHA512 68c2c08ddee4a54f3d6fdb74aa1859bb8ac2aec28c14b3979f1ca38e31ea003874f1e24c5509247f83f8278fe33805c9d9ed6345a4c68a13e3b8df2be517d6f0 WHIRLPOOL c02f9393b90754769855713b070a1c62504c6918ef648c0af79cbf23bc0b7bace2868922874e77486cdbebacef81a33f6ea8afb98589572a970a8389875e0170
+MISC ChangeLog-2015 519 SHA256 7776bddc6dd1ae9ab2a0122cc0d2ae20d9ec7953afcb380f2f316a5237281067 SHA512 708798c8e8e3e06eca90eb617df2dd8251ac0b7a51c685561968a6c0b888f0258b49bfb604ed0a6896efa244c59a081638c0e7e1e57a13efdc20042a5290ed80 WHIRLPOOL 355e8b2969bcace1e0d5aab5bd92b17c51652867866189bfe089cf4202ac527e17e4b096294f1d5c4cba07330848545455701529926b5e1be05e46cedabe4458
+MISC metadata.xml 327 SHA256 cdb17ec06e53ad7b809982095116d0b9dd458b1a79beb3c16916365ebe5fc486 SHA512 625a24b4c289ba16de91190300b2eb295b728642e030cf25a5c6c439f6b0cfeaff1a03f172bf83bb23f7dbea50cb839df7b041bb4d7069dc8ee8da7e3caa7601 WHIRLPOOL 032c5cfe805a5afa89467c99e52d052c58fd059789130752f419f7ea20d6f94d611d6fc1d8f43f7df29039144d11484333aa1e85486aaf0d8d01a5e65d2ea71c
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..e35ac1e872a3
--- /dev/null
+++ b/media-sound/gnac/gnac-0.2.4.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils flag-o-matic 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 )
+"
+PATCHES=(
+ "${FILESDIR}/${P}-cflags.patch"
+ "${FILESDIR}/${P}-nls.patch"
+)
+
+src_prepare() {
+ default
+ epatch -p1 "${PATCHES[@]}"
+
+ # fix bug 574568 by restoring pre-GCC5 inline semantics
+ append-cflags -std=gnu89
+
+ 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..291998630e92
--- /dev/null
+++ b/media-sound/gnac/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">gnac</remote-id>
+ </upstream>
+</pkgmetadata>