summaryrefslogtreecommitdiff
path: root/media-sound/ripperx
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/ripperx
reinit the tree, so we can have metadata
Diffstat (limited to 'media-sound/ripperx')
-rw-r--r--media-sound/ripperx/Manifest7
-rw-r--r--media-sound/ripperx/files/ripperx-2.7.3-ldflags.patch11
-rw-r--r--media-sound/ripperx/files/ripperx-2.7.3-pkgconfig.patch10
-rw-r--r--media-sound/ripperx/metadata.xml11
-rw-r--r--media-sound/ripperx/ripperx-2.7.3.ebuild47
5 files changed, 86 insertions, 0 deletions
diff --git a/media-sound/ripperx/Manifest b/media-sound/ripperx/Manifest
new file mode 100644
index 000000000000..8975175c24db
--- /dev/null
+++ b/media-sound/ripperx/Manifest
@@ -0,0 +1,7 @@
+AUX ripperx-2.7.3-ldflags.patch 360 SHA256 5d755881e9db81b47951fd3bcb8abccdc03ac5ac1a2c144453c9ee7f1feb37fd SHA512 f430e043284f4d35f88b3fc8349fd4cfe9df87f6f1ec11cd52b97c25e853b9394a87066a54612f828987023dcfe4724cb31fd39c91c319d76b2f3209aa6546c4 WHIRLPOOL 6aa961000add2d882426f669edf4195896e8b2801c31c5fc466213a8c24a3028e8075d42720bfcde64bcc0f79337bfd08b7b4affca91c29f2cb71e55de1ab86d
+AUX ripperx-2.7.3-pkgconfig.patch 210 SHA256 00c921ad411f7331231ab9868095964a781c5c7be263c5f961abe7383914c8e9 SHA512 87382681d64c65e9353940d3e0c8955f5f7113b9dd23d58c06034ccfb13ac4369577e3ad1cc325bd44e2b38f453ae82870198c45af6335fab7fe0c70993ac276 WHIRLPOOL 6e8bba880c990fcd83acab6b418b8761a7453d22ea0846d27c03f24d78ef8e9d75d4effa200944a113da4c6d0239e9569eb897b044203324446a8c7c0b88da57
+DIST ripperX-2.7.3.tar.gz 536059 SHA256 7d58f95d9fc3b43890db4c09eafa3880e45880c9385524ce8786024fc5d2198c SHA512 fad4d8ee5e7ea37608b827230446f213c871d425920d0ffae5b0151e2270b36ca67156a78a530a3267141f8c5d0577a17647e4342468662472ea0f88bda69cea WHIRLPOOL 57a6acfad3e3e0701592f77a97980ad2db305c59e8cba4a28031c18e41bc4d67fef49534b2c7c8b469c9d036357dec077a20334c121e116cd36892dbd6295db7
+EBUILD ripperx-2.7.3.ebuild 1058 SHA256 85f4feea7d3350e0b5b0000e4596480eadb60a8c5f3f4c4ffe129e7992c9634d SHA512 b0b324da5b629c17b46d6332f52437751a50736f5a1b274a2f8f0863c7b01772527bc3a334a1ae0e44b0bc31d80520840739e9dd2a607e3fdc8a51bd0ae70969 WHIRLPOOL 2f5c6dd715a4c4d432b0fafdcac79d9944e7f5d76f4368a149772612197adc980f2579427304ab3e9bf3492bb0e883ccc2679133984d8a24c5be90938c1ec414
+MISC ChangeLog 2618 SHA256 f4b062058918bd11c08135bb2779d81009b832e614bcad89d011657b0f8104a1 SHA512 5f15cd565f7834d38a25ecf6e684cecfc8a9ad1bb5dd79d89d07f3b6f40b65cd594c9d5b4ba6ac38094ce7da4b865253b1ac23bd349a971eb4015c6ebe8631db WHIRLPOOL 87c5c8fcc3913c99250e8692358ab63956ab709cb387a80556eafe982ce6e226d711bb897deadff3d09221ef15c3732848dd81f8a2ec6a5a7efb2d8152684fd3
+MISC ChangeLog-2015 6981 SHA256 74d2aa0db83e0c9c88ee9edd356610d8765e119513caa9db60829be8cefd3914 SHA512 0d2303f69951c6e760b9aa899241d5617318321334000aa7569dc2b136797e600f4c5731d5618b8f5e83307a43afef3abd395719c5b39977f72c93a50416e0dc WHIRLPOOL 851138a3a7608b647530348651e2325a6bb4afaeed77bb856e0cace9e643750c41f71d38454ded8ff00b445af88ef850b84718402a61a4a60f1fe0848b9b2000
+MISC metadata.xml 340 SHA256 7f03639ea98711dd84ecb2024a99613502c16538d6a368fa46b812647aa147a8 SHA512 0e9310c5b4c10d5a2663b6da6d247e5f992011c11c6c49a679c72b34e110a10509f40382fcdb1ae21ff529a1b8756820be197fbc0e4d64f30f1ce47430ae81d8 WHIRLPOOL 4311060778b8f5ed0e7279abc3e00aea779318b16b640479bad7ea7389f0251f131a7ade9582f0265d6382c3a7ef2dd16dcb1bdcbd76fa1c378fe11d4e4b11b2
diff --git a/media-sound/ripperx/files/ripperx-2.7.3-ldflags.patch b/media-sound/ripperx/files/ripperx-2.7.3-ldflags.patch
new file mode 100644
index 000000000000..11e18972e638
--- /dev/null
+++ b/media-sound/ripperx/files/ripperx-2.7.3-ldflags.patch
@@ -0,0 +1,11 @@
+--- plugins/Makefile.in
++++ plugins/Makefile.in
+@@ -658,7 +658,7 @@ uninstall-am: uninstall-binPROGRAMS
+ all: ripperX_plugin_tester $(PLUGINS)
+
+ .c.o:
+- $(CC) $(CFLAGS) $(LDFLAGS) -c $< -o $@
++ $(CC) $(CFLAGS) -c $< -o $@
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/media-sound/ripperx/files/ripperx-2.7.3-pkgconfig.patch b/media-sound/ripperx/files/ripperx-2.7.3-pkgconfig.patch
new file mode 100644
index 000000000000..48c24f4054a9
--- /dev/null
+++ b/media-sound/ripperx/files/ripperx-2.7.3-pkgconfig.patch
@@ -0,0 +1,10 @@
+--- ripperX.pc.in
++++ ripperX.pc.in
+@@ -1,6 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
++includedir=@includedir@
+
+ pkglibdir=${libdir}/@PACKAGE@
+ pkgincludedir=${includedir}/@PACKAGE@
diff --git a/media-sound/ripperx/metadata.xml b/media-sound/ripperx/metadata.xml
new file mode 100644
index 000000000000..6bb1c7ca3d69
--- /dev/null
+++ b/media-sound/ripperx/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">ripperx</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/ripperx/ripperx-2.7.3.ebuild b/media-sound/ripperx/ripperx-2.7.3.ebuild
new file mode 100644
index 000000000000..96bb4e62f35e
--- /dev/null
+++ b/media-sound/ripperx/ripperx-2.7.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils
+
+MY_P=${P/x/X}
+MY_PN=${PN/x/X}
+
+DESCRIPTION="a GTK program to rip CD audio tracks and encode them to the Ogg, MP3, or FLAC formats"
+HOMEPAGE="https://sourceforge.net/projects/ripperx"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="nls"
+
+RDEPEND="media-libs/id3lib
+ media-sound/cdparanoia
+ media-sound/lame
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ # AC_CHECK_LIB(m, ceilf, [], [MATH_LIB="-lm" MATH_LIB=""]) #401867
+ sed -i -e '/ripperX_LDADD/s:=:= -lm:' src/Makefile.in || die
+
+ epatch \
+ "${FILESDIR}"/${P}-ldflags.patch \
+ "${FILESDIR}"/${P}-pkgconfig.patch
+}
+
+src_configure() {
+ econf $(use_enable nls)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc BUGS CHANGES FAQ README* TODO
+ doicon src/xpms/${MY_PN}-icon.xpm
+ make_desktop_entry ${MY_PN} ${MY_PN} ${MY_PN}-icon
+}