diff options
author | Vlad Glagolev | 2021-10-02 18:54:11 +0000 |
---|---|---|
committer | Vlad Glagolev | 2021-10-02 18:55:36 +0000 |
commit | 3ad146b3253b1bc1a22f3fac16689e73ef6ac5e1 (patch) | |
tree | ffaafdd6438de001ffab21d2c6607f0bac901c75 /video | |
parent | e6bd1b02861e80d1fe3c932f0a0bcb26bb8fa329 (diff) |
rtmpdump: update to scm
Diffstat (limited to 'video')
-rwxr-xr-x | video/rtmpdump/BUILD | 2 | ||||
-rwxr-xr-x | video/rtmpdump/CONFIGURE | 1 | ||||
-rwxr-xr-x | video/rtmpdump/DEPENDS | 11 | ||||
-rwxr-xr-x | video/rtmpdump/DETAILS | 18 | ||||
-rw-r--r-- | video/rtmpdump/HISTORY | 9 | ||||
-rwxr-xr-x | video/rtmpdump/INSTALL | 1 | ||||
-rwxr-xr-x | video/rtmpdump/PREPARE | 1 | ||||
-rwxr-xr-x | video/rtmpdump/PRE_BUILD | 7 | ||||
-rwxr-xr-x | video/rtmpdump/UP_TRIGGERS | 3 |
9 files changed, 38 insertions, 15 deletions
diff --git a/video/rtmpdump/BUILD b/video/rtmpdump/BUILD index 8f58e6df93..7731b43340 100755 --- a/video/rtmpdump/BUILD +++ b/video/rtmpdump/BUILD @@ -1 +1 @@ -make +make ${OPTS} XCFLAGS="${CFLAGS}" XLDFLAGS="${LDFLAGS}" OPT= diff --git a/video/rtmpdump/CONFIGURE b/video/rtmpdump/CONFIGURE new file mode 100755 index 0000000000..dc26cec103 --- /dev/null +++ b/video/rtmpdump/CONFIGURE @@ -0,0 +1 @@ +config_query_list RTMPDUMP_SSL "Which SSL lib do you want?" openssl libressl gnutls mbedtls diff --git a/video/rtmpdump/DEPENDS b/video/rtmpdump/DEPENDS new file mode 100755 index 0000000000..414d42285d --- /dev/null +++ b/video/rtmpdump/DEPENDS @@ -0,0 +1,11 @@ +case ${RTMPDUMP_SSL} in + libressl | openssl) + depends ${RTMPDUMP_SSL} "CRYPTO=OPENSSL" + ;; + gnutls) + depends gnutls "CRYPTO=GNUTLS" + ;; + mbedtls) + depends mbedtls "CRYPTO=POLARSSL" + ;; +esac diff --git a/video/rtmpdump/DETAILS b/video/rtmpdump/DETAILS index 7131e3abeb..d2496d1df5 100755 --- a/video/rtmpdump/DETAILS +++ b/video/rtmpdump/DETAILS @@ -1,12 +1,16 @@ SPELL=rtmpdump - VERSION=2.4 - SOURCE=$SPELL-$VERSION.tar.xz -SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION - SOURCE_URL[0]=ftp://ftp.archlinux.org/other/$SPELL/$SOURCE -# SOURCE_URL[0]=http://rtmpdump.mplayerhq.hu/download/$SOURCE - WEB_SITE=http://rtmpdump.mplayerhq.hu/ + if [[ $RTMPDUMP_AUTOUPDATE == y ]]; then + VERSION=$(date +%Y%m%d) + else + VERSION=scm + fi + SOURCE=$SPELL-scm.tar.bz2 + SOURCE_URL[0]=git://git.ffmpeg.org/${SPELL}.git:${SPELL}-scm + SOURCE_IGNORE=volatile + FORCE_DOWNLOAD=on +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm" + WEB_SITE=https://rtmpdump.mplayerhq.hu/ ENTERED=20100618 - SOURCE_HASH=sha512:643902116ae71f052017eb486ec5d7f460dd697d494e220c424d5137105e68438ed01c0fdc125b22cdac010176790caef11999a6161a1cbe2023194182b34f8c LICENSE[0]=GPL SHORT="toolkit for RTMP streams" cat << EOF diff --git a/video/rtmpdump/HISTORY b/video/rtmpdump/HISTORY index 6945c26d75..07dcdb1cf4 100644 --- a/video/rtmpdump/HISTORY +++ b/video/rtmpdump/HISTORY @@ -1,3 +1,12 @@ +2021-10-02 Vlad Glagolev <stealth@sourcemage.org> + * DETAILS: switch to scm, official upstream source + * PREPARE: added, for an autoupdate option + * CONFIGURE: added, for SSL lib selection + * DEPENDS: added, for missing SSL dependency + * INSTALL: added, for install targets + * UP_TRIGGERS: added, to recast curl + * PRE_BUILD: removed, not needed + 2012-01-29 Ladislav Hagara <hgr@vabo.cz> * DETAILS: 2.4, tarball from Arch is used diff --git a/video/rtmpdump/INSTALL b/video/rtmpdump/INSTALL new file mode 100755 index 0000000000..6d03bde489 --- /dev/null +++ b/video/rtmpdump/INSTALL @@ -0,0 +1 @@ +make ${OPTS} prefix="${INSTALL_ROOT}/usr" mandir="/usr/share/man" install diff --git a/video/rtmpdump/PREPARE b/video/rtmpdump/PREPARE new file mode 100755 index 0000000000..110909e890 --- /dev/null +++ b/video/rtmpdump/PREPARE @@ -0,0 +1 @@ +config_query RTMPDUMP_AUTOUPDATE "Update on every system update?" n diff --git a/video/rtmpdump/PRE_BUILD b/video/rtmpdump/PRE_BUILD deleted file mode 100755 index 2b57279e3f..0000000000 --- a/video/rtmpdump/PRE_BUILD +++ /dev/null @@ -1,7 +0,0 @@ -default_pre_build && -cd "$SOURCE_DIRECTORY" && - -sedit "s:/local::" Makefile && -sedit "s:/local::" librtmp/Makefile && -sedit 's:$(prefix)/man:$(prefix)/share/man:' Makefile && -sedit 's:$(prefix)/man:$(prefix)/share/man:' librtmp/Makefile diff --git a/video/rtmpdump/UP_TRIGGERS b/video/rtmpdump/UP_TRIGGERS new file mode 100755 index 0000000000..516f7736df --- /dev/null +++ b/video/rtmpdump/UP_TRIGGERS @@ -0,0 +1,3 @@ +if spell_ok curl && is_depends_enabled curl ${SPELL}; then + up_trigger curl check_self +fi |