summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-07-07 22:25:30 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-07-07 22:25:30 +0000
commit4f0d50a809235694f9d079efc284933653329cb2 (patch)
treea8fb424abf57f8ebc40ff92dce1e7a2533ff91e2 /media-video/rtmpdump
parentVersion bump (#325747 by gionnico) (diff)
downloadhistorical-4f0d50a809235694f9d079efc284933653329cb2.tar.gz
historical-4f0d50a809235694f9d079efc284933653329cb2.tar.bz2
historical-4f0d50a809235694f9d079efc284933653329cb2.zip
Version bump. Thanks to Adrian.Bassett@hotmail.co.uk for the ebuild. Fixes bug #326619
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-video/rtmpdump')
-rw-r--r--media-video/rtmpdump/ChangeLog8
-rw-r--r--media-video/rtmpdump/Manifest4
-rw-r--r--media-video/rtmpdump/rtmpdump-2.3.ebuild63
3 files changed, 73 insertions, 2 deletions
diff --git a/media-video/rtmpdump/ChangeLog b/media-video/rtmpdump/ChangeLog
index a33212ef4ae1..7af35b063ce5 100644
--- a/media-video/rtmpdump/ChangeLog
+++ b/media-video/rtmpdump/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/rtmpdump
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/rtmpdump/ChangeLog,v 1.6 2010/06/17 21:56:25 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/rtmpdump/ChangeLog,v 1.7 2010/07/07 22:25:30 hwoarang Exp $
+
+*rtmpdump-2.3 (07 Jul 2010)
+
+ 07 Jul 2010; Markos Chandras <hwoarang@gentoo.org> +rtmpdump-2.3.ebuild:
+ Version bump. Thanks to Adrian.Bassett@hotmail.co.uk for the ebuild. Fixes
+ bug #326619
*rtmpdump-2.2e-r3 (17 Jun 2010)
diff --git a/media-video/rtmpdump/Manifest b/media-video/rtmpdump/Manifest
index 8a54d923b6ef..ad99abfa04da 100644
--- a/media-video/rtmpdump/Manifest
+++ b/media-video/rtmpdump/Manifest
@@ -1,6 +1,8 @@
DIST rtmpdump-2.2d.tgz 118309 RMD160 33f211d8edcedb020789b34c736fd0feba4ba6c1 SHA1 1e4de42fdae647f4810dc9e22d9a76cce74c88cc SHA256 a5660fed0b66e36fb7727b9492d5fe210b87acb6f7b493eb52ac91fbeac84c70
DIST rtmpdump-2.2e.tar.gz 123742 RMD160 ddb796dfa0287622c2e34ecf6add2d75259b6859 SHA1 369010b64d798f04559055fdbe2962944505decd SHA256 15f984a8a084137b46a19c48e90f62be088c383edfad9804690842e55ef5a6b5
+DIST rtmpdump-2.3.tgz 125103 RMD160 1d48925e6567783806fa68819d6a695cd06138bc SHA1 b65ce7708ae79adb51d1f43dd0b6d987076d7c42 SHA256 ef38b7a99d82ce6912063d21063aeaf28185341b3df486e24bffce5354224b2c
EBUILD rtmpdump-2.2d.ebuild 1569 RMD160 0a989cb5bc53185505d3984e3f041d96de9d641e SHA1 01f610da5b07908681e5f3eb44222c1619042a9e SHA256 9ea4eb0a03f9b8782054a5a9b51b496a46fc4a4f9ae655caa95da3885e7129bc
EBUILD rtmpdump-2.2e-r3.ebuild 1734 RMD160 9cf6f4438c89d79215625764d887b03091403810 SHA1 3e2edadf5df46a399f2fd0136ac12e324c7c7de5 SHA256 eeffbb85dbdf47fc6fe9b0408df6a68e1947ce259ea2f54b634256cb447697ae
-MISC ChangeLog 1577 RMD160 decf3a0ba787984af7c03ee0279ee941242ad01b SHA1 60ce9d48994bca5513314be2bbb4e814160f2090 SHA256 9bcf69b52f9ec9798ce596826ba6ce5570a2e88c6d0f1fa2447e8686ab634d43
+EBUILD rtmpdump-2.3.ebuild 1760 RMD160 049383d6904a6dc1c0fa918f53c0e20bbe764115 SHA1 5d8b1b87f1d49ddb21424dad1e282dee33f95873 SHA256 59eee5dd0189af3bfe91bd59ab6756f5929d5fa0143e4bb74ed4a42a8c8373ac
+MISC ChangeLog 1773 RMD160 4cddba660cd01d22763297178f9f620b8f760964 SHA1 ad99e1da1fb8a4cf3b239efe02e0fd289731d693 SHA256 e09052294ac3b520e98f483d5b375d7b45bef1b8c05de060a4842ebc40e9cd5a
MISC metadata.xml 472 RMD160 4835468842fdab943f6be092477f49086c6a29b9 SHA1 956aa390149904e2c64696cf44e36d5cfea8ac0f SHA256 e8efe99d2c5cee392b1222aedf2703c49f8b1a452d125a371fd3c3b2bbbe2b03
diff --git a/media-video/rtmpdump/rtmpdump-2.3.ebuild b/media-video/rtmpdump/rtmpdump-2.3.ebuild
new file mode 100644
index 000000000000..40f6b73b678f
--- /dev/null
+++ b/media-video/rtmpdump/rtmpdump-2.3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/rtmpdump/rtmpdump-2.3.ebuild,v 1.1 2010/07/07 22:25:30 hwoarang Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Open source command-line RTMP client intended to stream audio or video flash content"
+HOMEPAGE="http://rtmpdump.mplayerhq.hu/"
+SRC_URI="http://rtmpdump.mplayerhq.hu/download/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnutls polarssl ssl"
+
+DEPEND="ssl? (
+ gnutls? ( net-libs/gnutls )
+ polarssl? ( !gnutls? ( net-libs/polarssl ) )
+ !gnutls? ( !polarssl? ( dev-libs/openssl ) )
+ )
+ sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ if ! use ssl && ( use gnutls || use polarssl ) ; then
+ ewarn "USE='gnutls polarssl' are ignored without USE='ssl'."
+ ewarn "Please review the local USE flags for this package."
+ fi
+}
+
+src_prepare() {
+ # fix Makefile ( bug #298535 , bug #318353 and bug #324513 )
+ sed -i 's/\$(MAKEFLAGS)//g' Makefile \
+ || die "failed to fix Makefile"
+ sed -i -e 's:OPT=:&-fPIC :' \
+ -e 's:OPT:OPTS:' \
+ -e 's:CFLAGS=.*:& $(OPT):' librtmp/Makefile \
+ || die "failed to fix Makefile"
+}
+
+src_compile() {
+ if use ssl ; then
+ if use gnutls ; then
+ crypto="GNUTLS"
+ elif use polarssl ; then
+ crypto="POLARSSL"
+ else
+ crypto="OPENSSL"
+ fi
+ fi
+
+ emake CC=$(tc-getCC) LD=$(tc-getLD) \
+ OPT="${CFLAGS}" XLDFLAGS="${LDFLAGS}" CRYPTO="${crypto}" SYS=posix || die "emake failed"
+}
+
+src_install() {
+ mkdir -p "${D}"/${DESTTREE}/lib
+ emake DESTDIR="${D}" prefix="${DESTTREE}" mandir="${DESTTREE}/share/man" \
+ CRYPTO="${crypto}" install || die "emake install failed"
+ dodoc README ChangeLog rtmpdump.1.html rtmpgw.8.html || die "dodoc failed"
+}