aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAric Belsito <lluixhi@gmail.com>2016-12-06 12:26:56 -0800
committerAric Belsito <lluixhi@gmail.com>2016-12-06 12:26:56 -0800
commitdc77c20c750fb074dc605373174e1fd0e525ce58 (patch)
tree7c8853d33dfef10426e09955bd6f668e91f07388 /media-sound
parentmedia-libs/zvbi: Add current version (diff)
downloadmusl-dc77c20c750fb074dc605373174e1fd0e525ce58.tar.gz
musl-dc77c20c750fb074dc605373174e1fd0e525ce58.tar.bz2
musl-dc77c20c750fb074dc605373174e1fd0e525ce58.zip
media-sound/cdparanoia: Add current version
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/cdparanoia/Manifest5
-rw-r--r--media-sound/cdparanoia/cdparanoia-3.10.2-r6.ebuild63
-rw-r--r--media-sound/cdparanoia/files/cdparanoia-missing-sys_types_h.patch24
-rw-r--r--media-sound/cdparanoia/metadata.xml8
4 files changed, 100 insertions, 0 deletions
diff --git a/media-sound/cdparanoia/Manifest b/media-sound/cdparanoia/Manifest
new file mode 100644
index 0000000..ff3ba59
--- /dev/null
+++ b/media-sound/cdparanoia/Manifest
@@ -0,0 +1,5 @@
+AUX cdparanoia-missing-sys_types_h.patch 876 SHA256 e34ba7c11d4c788f17f18d7ca1f7bf1658b3f89a6477acfaaae563f19819f154 SHA512 a124c74e7ecfc0238d7e5581063d51fd7aa18df6dae5709fe38662c33f0c9dd0706cbd834681d09f84f2ee2aa0914662740754d181f448b593288382eab68627 WHIRLPOOL db3660b3adfda49df27b4afef1bf21d9c98c97d05384fc3e431e3c4de8d55c07835aceb4b7d6bd8e85be68ab34b91c80c66b7bd95d6bec353aa22fad44fdc6ed
+DIST cdparanoia-III-10.2-patches-2.tbz2 6242 SHA256 3c06fa469d7d7774e1c168b4a79851f50aeb6a4054a515ce4e30ef5ed83d1fbc SHA512 523a9ef9f3de263236aad6da102b807a6620cde8767e297e54dcd552f59077d959a89187bc82ad71c577fa66c4862d7c651e922b8b8b8369dd63685cbda9cb74 WHIRLPOOL 238b8aed5edab02350263455b7205531a8cf830fdb5f8d3d8245756bd712295d8d32c17f53518fc8410112d6b1adb377e6eb3658a3649e0df7a9bd7ed3227269
+DIST cdparanoia-III-10.2.src.tgz 183236 SHA256 005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df SHA512 4ab0a0f5ef44d56c1af72d1fc1035566a1a89c4eeddb9e8baea675fe51c06138d913342afc8bed167d9fa55672fa25a2763ce21f7e24c1232e4739aff20733a7 WHIRLPOOL fe0c211ce42c58534978669bc1d9c63de7cba6dcd8fbfe6d6c78fc1d2600680c5a94e52e5552c8423f1929a070b2bba35c6921a7c7ddb8921a6ebd9127dacb60
+EBUILD cdparanoia-3.10.2-r6.ebuild 1521 SHA256 e333f3409db96cb0971a2562333bc1222cf14d97651cf43ae571f3075c2eab3f SHA512 12883201c810e60e9ead08cacbae884c2e3413917d771d5936f362f26d56aa98bcd55aef09f1a4693cf76259ad9b05b107f171d524cabc8040c65d4c75e6aa37 WHIRLPOOL 6a398074e6d948907924493bd482225f53813455af50a52bafe80b53547506d3b9b6d188f2be34d54e22985312a3a1385067b8d71c2669a1d08760152647e794
+MISC metadata.xml 253 SHA256 6b992cbf9f9d479cdf83d3f9a1ec920aa0be988f39ee4f1f41fd12b917f1b36b SHA512 78b724be3e1dbd6fc3c2e92cdbacc15ea4b0e8ee6fa22f76ebdd882b3a7bbedeaf8f80a29e36ec67e0432d2dfad3f57de4bc46480f92c8e544322755292df894 WHIRLPOOL 73df5c8f06d7079d8407b50207f0c217cf57ae161fbaf3c39e168b6f11b2bfac4f61b6191a5b9beecc981c003191844660c330dc8679580e1d2d336ff4e38e00
diff --git a/media-sound/cdparanoia/cdparanoia-3.10.2-r6.ebuild b/media-sound/cdparanoia/cdparanoia-3.10.2-r6.ebuild
new file mode 100644
index 0000000..4a9ab56
--- /dev/null
+++ b/media-sound/cdparanoia/cdparanoia-3.10.2-r6.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils libtool toolchain-funcs versionator multilib-minimal
+
+MY_P=${PN}-III-$(get_version_component_range 2-3)
+DESCRIPTION="an advanced CDDA reader with error correction"
+HOMEPAGE="http://www.xiph.org/paranoia"
+SRC_URI="http://downloads.xiph.org/releases/${PN}/${MY_P}.src.tgz
+ https://dev.gentoo.org/~ssuominen/${MY_P}-patches-2.tbz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="static-libs"
+
+RDEPEND="app-eselect/eselect-cdparanoia
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224-r4
+ !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] )"
+DEPEND=${RDEPEND}
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patches
+
+ epatch "${FILESDIR}"/${PN}-missing-sys_types_h.patch
+
+ mv configure.guess config.guess
+ mv configure.sub config.sub
+
+ sed -i -e '/configure.\(guess\|sub\)/d' configure.in || die
+
+ eautoconf
+ elibtoolize
+
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ tc-export AR CC RANLIB
+ econf
+}
+
+multilib_src_compile() {
+ emake OPT="${CFLAGS} -I${S}/interface"
+ use static-libs && emake lib OPT="${CFLAGS} -I${S}/interface"
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ mv "${ED}"/usr/bin/${PN}{,-paranoia}
+}
+
+pkg_postinst() {
+ eselect ${PN} update ifunset
+}
+
+pkg_postrm() {
+ eselect ${PN} update ifunset
+}
diff --git a/media-sound/cdparanoia/files/cdparanoia-missing-sys_types_h.patch b/media-sound/cdparanoia/files/cdparanoia-missing-sys_types_h.patch
new file mode 100644
index 0000000..010ed4a
--- /dev/null
+++ b/media-sound/cdparanoia/files/cdparanoia-missing-sys_types_h.patch
@@ -0,0 +1,24 @@
+diff -Naur cdparanoia-III-10.2.orig/interface/utils.h cdparanoia-III-10.2/interface/utils.h
+--- cdparanoia-III-10.2.orig/interface/utils.h 2008-08-14 06:56:20.000000000 -0700
++++ cdparanoia-III-10.2/interface/utils.h 2016-05-30 14:35:57.071615252 -0700
+@@ -3,6 +3,8 @@
+ #include <errno.h>
+ #include <string.h>
+
++#include <sys/types.h>
++
+ /* I wonder how many alignment issues this is gonna trip in the
+ future... it shouldn't trip any... I guess we'll find out :) */
+
+diff -Naur cdparanoia-III-10.2.orig/utils.h cdparanoia-III-10.2/utils.h
+--- cdparanoia-III-10.2.orig/utils.h 2008-08-22 02:39:06.000000000 -0700
++++ cdparanoia-III-10.2/utils.h 2016-05-30 14:35:33.101409747 -0700
+@@ -4,6 +4,8 @@
+ #include <errno.h>
+ #include <string.h>
+
++#include <sys/types.h>
++
+ extern long buffering_write(int outf, char *buffer, long num);
+ extern int buffering_close(int fd);
+
diff --git a/media-sound/cdparanoia/metadata.xml b/media-sound/cdparanoia/metadata.xml
new file mode 100644
index 0000000..ee7258a
--- /dev/null
+++ b/media-sound/cdparanoia/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>