summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/streamtranscoder/ChangeLog8
-rw-r--r--media-sound/streamtranscoder/Manifest27
-rw-r--r--media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch59
-rw-r--r--media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild21
4 files changed, 102 insertions, 13 deletions
diff --git a/media-sound/streamtranscoder/ChangeLog b/media-sound/streamtranscoder/ChangeLog
index 134a6442035f..f08424580ebe 100644
--- a/media-sound/streamtranscoder/ChangeLog
+++ b/media-sound/streamtranscoder/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/streamtranscoder
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/streamtranscoder/ChangeLog,v 1.9 2007/07/30 14:17:00 gustavoz Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/streamtranscoder/ChangeLog,v 1.10 2012/07/14 12:16:22 hasufell Exp $
+
+ 14 Jul 2012; Julian Ospald <hasufell@gentoo.org>
+ streamtranscoder-1.2.4.ebuild, +files/streamtranscoder-1.2.4-build.patch:
+ fix build time issues wrt bug #426488
30 Jul 2007; Gustavo Zacarias <gustavoz@gentoo.org>
streamtranscoder-3.1.11.ebuild:
diff --git a/media-sound/streamtranscoder/Manifest b/media-sound/streamtranscoder/Manifest
index 4ab924e2dec9..f1dcf2ac1a9e 100644
--- a/media-sound/streamtranscoder/Manifest
+++ b/media-sound/streamtranscoder/Manifest
@@ -1,6 +1,21 @@
-DIST streamtranscoder-1.2.4.tar.gz 352873 RMD160 0f21228ebf21ecb92de233ce686926a487b1fb2e SHA1 7d83b43f1673302ac781c80bc80fa41cb757b501 SHA256 8cea5f0f4b27a31eb92b6e72c73d6bbf737f7a7ac6248399c591e44e1b280c71
-DIST streamtranscoderv3-3.1.11.tar.gz 480731 RMD160 267a00894f1253a634e25d8e1d39dc2c96bd1c71 SHA1 48989ca20c9531dafb3ef8e9fc8fbdea5b888a45 SHA256 f69cf4b2d5a08c2cc4b6be63053954a55a6fe156877dca49abb37aa962d38e09
-EBUILD streamtranscoder-1.2.4.ebuild 730 RMD160 d9dc56708ac650dea3dd5a483ef0b7591c2af290 SHA1 b14992f052de6a21728aa399a93958e622e06a6b SHA256 834e85f8220c01a688c44506a6e708fe47b737e0860a2cde33a7c38d135d81e5
-EBUILD streamtranscoder-3.1.11.ebuild 850 RMD160 14397442656c42911038cbc7b9419b2a06d9789c SHA1 ec2d269d2f4dfcd2bc439e7e50dbae6ba0eac354 SHA256 a6b29a1f304243e8c2200e9e16a6fe04b7a640a38cb1c7139d47bdbe7db9d3ac
-MISC ChangeLog 1510 RMD160 fe8740346b15709e85b8012568eb4b0d5b25d3bc SHA1 37c06af10e1e18bd2c033c8cee2a9e7d88eb4ee5 SHA256 3bf5a76da4420bf51b7e7337632aa2886acb3d82c65af88ce72280fc0ca2950d
-MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX streamtranscoder-1.2.4-build.patch 1720 SHA256 2980e97066689c600457bda473c960060aab26f7107f649ba92b947ce1ab195c SHA512 479150e9c609e92ce4171dac1d00cf4cf7d3e659316c7a857f63c335acd99577a75b28a9e9b40cff5909e4a5252496247540110216a5f7eb7a74360b5b6ca384 WHIRLPOOL 100073bf80af9461610ef98663c003a33fab3a0d1cc65fe5c96bfa4972815793b9e2dfa3b086a5458a7d0056c1ae836b0ebda2d2e8751526910364b0c69cda0b
+DIST streamtranscoder-1.2.4.tar.gz 352873 SHA256 8cea5f0f4b27a31eb92b6e72c73d6bbf737f7a7ac6248399c591e44e1b280c71 SHA512 c2a4d866e65628777a15ac301bbd06bdc5cab1558747c07d4b12d2b007989ab871ee0e5109f503779bf8554897a2ff11aab0ea9c522979bdee540235d2054071 WHIRLPOOL ff1293a6b7acae736704b57f19c74f72282416c86b475d330f4ca1a365725e10860b65b6109b2414ddaa61571f621b40947238ead79b76fb98ec35f79230feb5
+DIST streamtranscoderv3-3.1.11.tar.gz 480731 SHA256 f69cf4b2d5a08c2cc4b6be63053954a55a6fe156877dca49abb37aa962d38e09
+EBUILD streamtranscoder-1.2.4.ebuild 850 SHA256 dd6b59d8eb67e1d6bcf08b2d9401be2ff5e1dbbf8b528e7ca5731d9a443c5045 SHA512 c794bb253f2d8c5a721483c3962cb5aec52f6e3fa24b86c48201ecb260a59818034d0768b05183854525474968e5e1398a932522399a5a44736d12532df23dbc WHIRLPOOL c3eefd85912cf715e465f8363c8339ae0f7cb90281be28fdf99691016ea1ff28675a44ebf7b9090cd66943aeb72491bf22a00d04cae55f0bdcbda46cb303d77f
+EBUILD streamtranscoder-3.1.11.ebuild 850 SHA256 a6b29a1f304243e8c2200e9e16a6fe04b7a640a38cb1c7139d47bdbe7db9d3ac SHA512 aa9691bbcf1c4cb3e55e5a81457e88a3662bad8fb30f250ae77a88ccca9ef43f4b286221c4324e967fb5ceca3ecca281563bfebaded4d6d6fe8ecfb589bee9a8 WHIRLPOOL 9d8cf6a6a8a937b1255f9bf4632652d7700032dd6989c3bb5d050d64cca97452f9b92b47f4aa943a52c3202fa3061f611a136ab57cb10cc16d2242affe5dc76c
+MISC ChangeLog 1679 SHA256 6353314038d5a65fc5ab7d4c2e257e69ee567710d215925fc90f59a1f28a95c4 SHA512 6781c66f3d2bea83e9b3321533190511490b07fa097a734ba042a0d15c5229ef0fea7e5f254cf9e9c98f6ef1e1c320e860a49fc4ebf65600264372fc1ac97a76 WHIRLPOOL be2feddb7456128b9f3a36dd18fb220db09bc3f869ac849b70e7ce3e4dc2598623bff7037b5ed4b3c9b38393dc08c8e09dcd3a2bb4dd6b82842682925b29a56f
+MISC metadata.xml 158 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b SHA512 90f74979d228a35f81de50665ead63d228bc4f0d11f3def4832c9607f4242cbc4562db0a123bdcf2c4b6e0be78fc5565a65f75cdb53ed4c8d45544ebf74255dc WHIRLPOOL a90483bd4fa01ed5fa21bfe9f59c11b97c793146e3031eae342a3355c6dc2e4ef2b356af0bf711b5e16e16551c91d63ecdbb48e708df606017264e8bff5e9fe9
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQAWI0AAoJEFpvPKfnPDWzgDkIAILXe4Z7Cu56rqOQaemya7s4
+KQfmNiY/lPdW63Jrx8oSpk08Y2WHg5oF0Zz4+juVGLU+eowEOgHVv5KcInUjg982
+F+xBb979lTU0oZkAy1gAs0wpVV8HHH3xfGNgX/zY5ZJo66mOPVMUFI6N5LE5fZJf
+agALXfCccn9bWS9jqnqr1R3MVEvpTPyorp/vHy23JUN4JbQw2vnowg0IV3IAvUhS
+7Zm74/bAqBA2Xr9xqjsUDGQPj+BvMhPLFGz7HwzeojOymeBtYRopMVkpDFHK1baL
+ZyKeWYhNaffIzFYlJlSSIuTKmbTLc4w6JofGNfuiBfGW4v6y53Jg/NPSSfThFm4=
+=+ELf
+-----END PGP SIGNATURE-----
diff --git a/media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch b/media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch
new file mode 100644
index 000000000000..07128bb95596
--- /dev/null
+++ b/media-sound/streamtranscoder/files/streamtranscoder-1.2.4-build.patch
@@ -0,0 +1,59 @@
+--- configure.in
++++ configure.in
+@@ -83,22 +83,29 @@
+
+ dnl -- configure options --
+
+-XIPH_PATH_OGG(, AC_MSG_ERROR(must have Ogg installed!(Perhaps you need --with-ogg-prefix=/usr/local)))
+-XIPH_PATH_VORBIS(, AC_MSG_ERROR(must have Vorbis installed!(Perhaps you need --with-vorbis-prefix=/usr/local)))
+-AM_PATH_CURL(,,AC_MSG_ERROR(must have libcurl installed!))
+-AM_PATH_MAD(, AC_MSG_ERROR(must have libmad installed!))
+-AM_PATH_LAME(, AC_MSG_ERROR(must have libmp3lame installed!))
++PKG_CHECK_MODULES([OGG],[ogg])
++PKG_CHECK_MODULES([VORBIS],[vorbis])
++PKG_CHECK_MODULES([VORBISENC],[vorbisenc])
++PKG_CHECK_MODULES([VORBISFILE],[vorbisfile])
++PKG_CHECK_MODULES([CURL],[libcurl])
++PKG_CHECK_MODULES([MAD],[mad])
++
++AC_PATH_PROG([LAME],[lame])
+
+ dnl Make substitutions
+
+ AC_SUBST(MAD_CFLAGS)
+ AC_SUBST(MAD_LIBS)
+ AC_SUBST(LAME_CFLAGS)
+-AC_SUBST(LAME_LIBS)
++AC_SUBST([LAME_LIBS],[-lmp3lame])
+ AC_SUBST(OGG_CFLAGS)
+ AC_SUBST(VORBIS_CFLAGS)
++AC_SUBST(VORBISENC_CFLAGS)
++AC_SUBST(VORBISFILE_CFLAGS)
+ AC_SUBST(OGG_LIBS)
+ AC_SUBST(VORBIS_LIBS)
++AC_SUBST(VORBISENC_LIBS)
++AC_SUBST(VORBISFILE_LIBS)
+ AC_SUBST(LIBTOOL_DEPS)
+ AC_SUBST(OPT)
+ AC_SUBST(LIBS)
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -17,5 +17,6 @@
+
+ INCLUDES = -I$(srcdir)/liboddcast -I$(srcdir)/libtranscoder
+
+-install-hook:
+- cp transcoder.cfg $(DESTDIR)$(sysconfdir)/transcoder.cfg
++install-data-hook:
++ $(INSTALL) -d $(DESTDIR)$(sysconfdir)
++ $(INSTALL) -m644 transcoder.cfg $(DESTDIR)$(sysconfdir)/transcoder.cfg
+--- src/libtranscoder/transcurl.cpp
++++ src/libtranscoder/transcurl.cpp
+@@ -18,7 +18,6 @@
+ #include <winsock2.h>
+ #endif
+ #include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+ #include "transcurl.h"
+ #include "cbuffer.h"
diff --git a/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild b/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild
index 80f1bf8ab4cc..f20c77ceeed2 100644
--- a/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild
+++ b/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild
@@ -1,23 +1,34 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild,v 1.5 2005/08/07 12:52:48 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/streamtranscoder/streamtranscoder-1.2.4.ebuild,v 1.6 2012/07/14 12:16:22 hasufell Exp $
-IUSE=""
+EAPI=4
+
+inherit autotools eutils
DESCRIPTION="Command line application to transcode shoutcast/icecast streams to different bitrates"
HOMEPAGE="http://www.oddsock.org"
SRC_URI="http://www.oddsock.org/tools/streamTranscoder/${P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
+IUSE=""
-DEPEND=">=media-libs/libogg-1.1
+RDEPEND=">=media-libs/libogg-1.1
>=media-libs/libvorbis-1.0.1-r2
>=media-sound/lame-3.96
>=media-libs/libmad-0.15.1b
>=net-misc/curl-7.11.0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+ eautoreconf
+}
src_install() {
- make DESTDIR="${D}" install || die
+ default
dodoc AUTHORS README
}