diff options
author | B. Watson <urchlay@slackware.uk> | 2024-08-22 15:32:24 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-08-24 11:55:26 +0700 |
commit | d9978aae0b725666b4af9adeeb5fda0e7bc5548a (patch) | |
tree | 38edcf0a690b0bb9f3e292413eb8b27b786a643d /multimedia | |
parent | 657f657bbbea528be5892637544869ff9ee74a1d (diff) |
multimedia/l-smash: Updated for version 2.18.0.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/l-smash/l-smash.SlackBuild | 22 | ||||
-rw-r--r-- | multimedia/l-smash/l-smash.info | 10 |
2 files changed, 26 insertions, 6 deletions
diff --git a/multimedia/l-smash/l-smash.SlackBuild b/multimedia/l-smash/l-smash.SlackBuild index bd6629af53bd..4604b343eda5 100644 --- a/multimedia/l-smash/l-smash.SlackBuild +++ b/multimedia/l-smash/l-smash.SlackBuild @@ -24,6 +24,7 @@ # Now maintained by B. Watson <urchlay@slackware.uk> +# 20240822 bkw: update for v2.18.0 (vimeo fork). This is what FreeBSD ships. # 20230708 bkw: BUILD=4, install shared lib +x. # 20220411 bkw: BUILD=3, put README in right place (not /install!) # 20210910 bkw: include our own README since there are no docs @@ -39,11 +40,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=l-smash -VERSION=${VERSION:-2.14.5} -BUILD=${BUILD:-4} +VERSION=${VERSION:-2.18.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} +# 20240822 bkw: parser has been split out into its own project. +OBUVER=478adcc872d5a8a19443e87910508e261a0a60ba + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -83,10 +87,24 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION + +# 20240822 bkw: instead of building obuparse as a separate library, +# we're going to build its single source file in-tree. +tar xvf $CWD/obuparse-$OBUVER.tar.gz +mv obuparse-$OBUVER/*.[ch] . +rm -rf obuparse-$OBUVER + chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ +# 20240822 bkw: build and link obuparse.o in-tree, instead of requiring +# it to be linked as a library. -I. is already in CFLAGS, so we don't have +# to worry about the include file. +sed -i -e '/^LIBS/s, *-lobuparse,,' \ + -e '/^SRCS/s,"","obuparse.c",' \ + configure + # -Wl,-s = strip binaries at link time. ./configure \ --prefix=/usr \ diff --git a/multimedia/l-smash/l-smash.info b/multimedia/l-smash/l-smash.info index c10a5715a18c..529dcee8db81 100644 --- a/multimedia/l-smash/l-smash.info +++ b/multimedia/l-smash/l-smash.info @@ -1,8 +1,10 @@ PRGNAM="l-smash" -VERSION="2.14.5" -HOMEPAGE="https://github.com/l-smash/l-smash" -DOWNLOAD="https://github.com/l-smash/l-smash/archive/v2.14.5/l-smash-2.14.5.tar.gz" -MD5SUM="5915de411970abafbad8003599196fee" +VERSION="2.18.0" +HOMEPAGE="http://l-smash.github.io/l-smash/" +DOWNLOAD="https://github.com/vimeo/l-smash/archive/v2.18.0/l-smash-2.18.0.tar.gz \ + https://github.com/dwbuiten/obuparse/archive/478adcc872d5a8a19443e87910508e261a0a60ba/obuparse-478adcc872d5a8a19443e87910508e261a0a60ba.tar.gz" +MD5SUM="2d3600a365584fd32feb69cb5412f0a2 \ + c14a68a6c34fa3291c9798c2b7df6de4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |