Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3ad146b3253b1bc1a22f3fac16689e73ef6ac5e1)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3ad146b3253b1bc1a22f3fac16689e73ef6ac5e1)
  • Date: Sat, 2 Oct 2021 18:56:32 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

video/rtmpdump/BUILD | 2 +-
video/rtmpdump/CONFIGURE | 1 +
video/rtmpdump/DEPENDS | 11 +++++++++++
video/rtmpdump/DETAILS | 18 +++++++++++-------
video/rtmpdump/HISTORY | 9 +++++++++
video/rtmpdump/INSTALL | 1 +
video/rtmpdump/PREPARE | 1 +
video/rtmpdump/PRE_BUILD | 7 -------
video/rtmpdump/UP_TRIGGERS | 3 +++
9 files changed, 38 insertions(+), 15 deletions(-)

New commits:
commit 3ad146b3253b1bc1a22f3fac16689e73ef6ac5e1
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

rtmpdump: update to scm

diff --git a/video/rtmpdump/BUILD b/video/rtmpdump/BUILD
index 8f58e6d..7731b43 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 0000000..dc26cec
--- /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 0000000..414d422
--- /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 7131e3a..d2496d1 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 6945c26..07dcdb1 100644
--- a/video/rtmpdump/HISTORY
+++ b/video/rtmpdump/HISTORY
@@ -1,3 +1,12 @@
+2021-10-02 Vlad Glagolev <stealth AT 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 AT 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 0000000..6d03bde
--- /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 0000000..110909e
--- /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 2b57279..0000000
--- 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 0000000..516f773
--- /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



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (3ad146b3253b1bc1a22f3fac16689e73ef6ac5e1), Vlad Glagolev, 10/02/2021

Archive powered by MHonArc 2.6.24.

Top of Page