From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/rtmpdump/
Date: Wed, 14 Sep 2016 16:33:05 +0000 (UTC) [thread overview]
Message-ID: <1473870618.4ff8903a00af9928ea908f89d063f2e07e423adf.aballier@gentoo> (raw)
commit: 4ff8903a00af9928ea908f89d063f2e07e423adf
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 16:30:18 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 16:30:18 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ff8903a
Revert "media-video/rtmpdump: Move to EAPI6 and git-r3."
It doesnt even build...
This reverts commit 3252a86b2afff788707c84c540504cca87ac8630.
.../rtmpdump/rtmpdump-2.4_p20131018-r1.ebuild | 79 ----------------------
media-video/rtmpdump/rtmpdump-9999.ebuild | 13 ++--
2 files changed, 5 insertions(+), 87 deletions(-)
diff --git a/media-video/rtmpdump/rtmpdump-2.4_p20131018-r1.ebuild b/media-video/rtmpdump/rtmpdump-2.4_p20131018-r1.ebuild
deleted file mode 100644
index 5a9d6d3..00000000
--- a/media-video/rtmpdump/rtmpdump-2.4_p20131018-r1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="6"
-
-inherit multilib toolchain-funcs multilib-minimal
-
-DESCRIPTION="RTMP client intended to stream audio or video flash content"
-HOMEPAGE="http://rtmpdump.mplayerhq.hu/"
-SRC_URI="https://dev.gentoo.org/~hwoarang/distfiles/${P}.tar.gz"
-
-# the library is LGPL-2.1, the command is GPL-2
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~amd64-fbsd ~amd64-linux ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-linux"
-IUSE="gnutls polarssl ssl libressl"
-
-DEPEND="ssl? (
- gnutls? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP},nettle(+)] )
- polarssl? ( !gnutls? ( >=net-libs/polarssl-1.3.4[${MULTILIB_USEDEP}] ) )
- !gnutls? ( !polarssl? ( !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] ) libressl? ( dev-libs/libressl:0 ) ) )
- >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
- )"
-RDEPEND="${DEPEND}"
-
-DOCS=( README ChangeLog )
-HTML_DOCS=( rtmpdump.1.html rtmpgw.8.html )
-
-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() {
- default
-
- # fix #571106 by restoring pre-GCC5 inline semantics
- append-cflags -std=gnu89
- # 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"
- multilib_copy_sources
-
- if use ssl ; then
- if use gnutls ; then
- crypto="GNUTLS"
- elif use polarssl ; then
- crypto="POLARSSL"
- else
- crypto="OPENSSL"
- fi
- fi
-}
-
-multilib_src_compile() {
- #fix multilib-script support. Bug #327449
- sed -i "/^libdir/s:lib$:$(get_libdir):" librtmp/Makefile || die
- if ! multilib_is_native_abi; then
- cd librtmp || die
- fi
- emake CC="$(tc-getCC)" LD="$(tc-getLD)" \
- OPT="${CFLAGS}" XLDFLAGS="${LDFLAGS}" CRYPTO="${crypto}" SYS=posix
-}
-
-multilib_src_install() {
- mkdir -p "${ED}"/usr/$(get_libdir) || die
- if ! multilib_is_native_abi; then
- cd librtmp || die
- fi
- emake DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man" \
- CRYPTO="${crypto}" install
-}
diff --git a/media-video/rtmpdump/rtmpdump-9999.ebuild b/media-video/rtmpdump/rtmpdump-9999.ebuild
index 4c568c3..c9348c0 100644
--- a/media-video/rtmpdump/rtmpdump-9999.ebuild
+++ b/media-video/rtmpdump/rtmpdump-9999.ebuild
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="6"
+EAPI="4"
-inherit git-r3 multilib toolchain-funcs multilib-minimal
+inherit git-2 multilib toolchain-funcs multilib-minimal
DESCRIPTION="RTMP client intended to stream audio or video flash content"
HOMEPAGE="http://rtmpdump.mplayerhq.hu/"
@@ -24,9 +24,6 @@ DEPEND="ssl? (
)"
RDEPEND="${DEPEND}"
-DOCS=( README ChangeLog )
-HTML_DOCS=( rtmpdump.1.html rtmpgw.8.html )
-
pkg_setup() {
if ! use ssl && { use gnutls || use polarssl; }; then
ewarn "USE='gnutls polarssl' are ignored without USE='ssl'."
@@ -35,8 +32,6 @@ pkg_setup() {
}
src_prepare() {
- default
-
# fix #571106 by restoring pre-GCC5 inline semantics
append-cflags -std=gnu89
# fix Makefile ( bug #298535 , bug #318353 and bug #324513 )
@@ -70,7 +65,9 @@ multilib_src_compile() {
multilib_src_install() {
mkdir -p "${ED}"/usr/$(get_libdir) || die
- if ! multilib_is_native_abi; then
+ if multilib_is_native_abi; then
+ dodoc README ChangeLog rtmpdump.1.html rtmpgw.8.html
+ else
cd librtmp || die
fi
emake DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man" \
next reply other threads:[~2016-09-14 16:33 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-14 16:33 Alexis Ballier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-06 20:14 [gentoo-commits] repo/gentoo:master commit in: media-video/rtmpdump/ Sam James
2024-12-04 9:15 Sam James
2024-12-03 12:10 Sam James
2024-12-02 15:00 Sam James
2024-12-02 14:57 Sam James
2024-12-02 14:50 Sam James
2024-12-02 14:50 Sam James
2024-03-15 16:24 Craig Andrews
2022-05-13 12:19 WANG Xuerui
2022-05-13 12:19 WANG Xuerui
2021-07-01 11:02 Marek Szuba
2021-05-03 17:09 Mikle Kolyada
2021-05-03 9:32 Mikle Kolyada
2021-05-03 9:31 Mikle Kolyada
2021-05-01 18:24 Sam James
2020-08-13 20:50 Craig Andrews
2020-06-23 15:22 Craig Andrews
2020-06-10 13:11 Craig Andrews
2019-10-10 20:30 Andreas Sturmlechner
2019-07-22 14:43 Craig Andrews
2019-05-15 15:27 Mikle Kolyada
2019-05-13 0:38 Thomas Deutschmann
2019-05-06 17:13 Sergei Trofimovich
2019-05-03 15:28 Aaron Bauman
2019-04-30 9:59 Mikle Kolyada
2019-04-29 20:11 Sergei Trofimovich
2019-04-29 20:09 Sergei Trofimovich
2019-02-15 20:57 Mike Gilbert
2018-10-27 2:42 Craig Andrews
2018-10-26 19:48 Craig Andrews
2018-03-26 19:18 Aaron Bauman
2018-03-26 19:18 Aaron Bauman
2017-11-04 20:31 Thomas Deutschmann
2017-09-07 13:12 Craig Andrews
2017-08-24 7:11 Benda XU
2017-07-16 1:09 Aaron Bauman
2017-06-18 11:56 Alexis Ballier
2017-04-01 12:15 Michael Weber
2017-01-15 20:49 Jeroen Roovers
2016-12-13 11:30 Agostino Sarubbo
2016-12-13 11:05 Agostino Sarubbo
2016-12-10 19:37 Markos Chandras
2016-09-14 16:33 Alexis Ballier
2016-09-14 11:16 Patrice Clement
2016-09-14 11:16 Patrice Clement
2016-06-16 7:01 Patrice Clement
2016-06-11 8:13 Michał Górny
2016-05-30 12:50 Lars Wendler
2016-05-14 8:49 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473870618.4ff8903a00af9928ea908f89d063f2e07e423adf.aballier@gentoo \
--to=aballier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox