Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 19:17:00 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d17e2a6eea71 - main - multimedia/l-smash: Switch to Vimeo fork and update to latest commit (2023-04-06)
Message-ID:  <202308051917.375JH0Ob010558@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d17e2a6eea71b9dbc142beb0855ebfd96b683fb7

commit d17e2a6eea71b9dbc142beb0855ebfd96b683fb7
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-08-05 19:03:02 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-08-05 19:14:22 +0000

    multimedia/l-smash: Switch to Vimeo fork and update to latest commit (2023-04-06)
    
    Contains various bug fixes and initial AV1 support
---
 multimedia/l-smash/Makefile              | 14 +++++++++++---
 multimedia/l-smash/distinfo              |  6 +++---
 multimedia/l-smash/files/patch-configure | 11 +++++++++++
 multimedia/l-smash/pkg-plist             |  1 -
 4 files changed, 25 insertions(+), 7 deletions(-)

diff --git a/multimedia/l-smash/Makefile b/multimedia/l-smash/Makefile
index 13a7fd1f2c7d..eb789af56c6f 100644
--- a/multimedia/l-smash/Makefile
+++ b/multimedia/l-smash/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	l-smash
-PORTVERSION=	2.14.5
 DISTVERSIONPREFIX=	v
+DISTVERSION=	2.18.0-10
+DISTVERSIONSUFFIX=	-g2c0696c
 CATEGORIES=	multimedia
 
 MAINTAINER=	ports@FreeBSD.org
@@ -10,10 +11,14 @@ WWW=		https://l-smash.github.io/l-smash/
 LICENSE=	ISCL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USE_GITHUB=	yes
+LIB_DEPENDS=	libobuparse.so:multimedia/obuparse
 
-USES=		gmake pathfix
+USES=		gmake localbase pathfix
 PATHFIX_MAKEFILEIN=	Makefile
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	vimeo
+
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix="${PREFIX}" \
 		--cc="${CC}" \
@@ -31,4 +36,7 @@ post-patch:
 	@${REINPLACE_CMD} -e '/SHARED/,/^$$/ { /STRIP/s/-x //; }' \
 		${WRKSRC}/${MAKEFILE}
 
+post-install:
+	@${RM} ${STAGEDIR}${PREFIX}/lib/liblsmash.a
+
 .include <bsd.port.mk>
diff --git a/multimedia/l-smash/distinfo b/multimedia/l-smash/distinfo
index b59f4d726ff8..d9ff2f43c5fc 100644
--- a/multimedia/l-smash/distinfo
+++ b/multimedia/l-smash/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1518307696
-SHA256 (l-smash-l-smash-v2.14.5_GH0.tar.gz) = e6f7c31de684f4b89ee27e5cd6262bf96f2a5b117ba938d2d606cf6220f05935
-SIZE (l-smash-l-smash-v2.14.5_GH0.tar.gz) = 465037
+TIMESTAMP = 1690745425
+SHA256 (vimeo-l-smash-v2.18.0-10-g2c0696c_GH0.tar.gz) = 710370b5fea5ba6acca6b8f7315588926f28c98bee74c4143257ac40fcb8a6ba
+SIZE (vimeo-l-smash-v2.18.0-10-g2c0696c_GH0.tar.gz) = 492886
diff --git a/multimedia/l-smash/files/patch-configure b/multimedia/l-smash/files/patch-configure
new file mode 100644
index 000000000000..b3c357dbf760
--- /dev/null
+++ b/multimedia/l-smash/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig	2023-07-30 19:24:45 UTC
++++ configure
+@@ -282,7 +282,7 @@ if test -n "$DEBUG"; then
+     CFLAGS="$CFLAGS -g3 -O0"
+     STRIP=""
+ else
+-    CFLAGS="-Os -ffast-math $CFLAGS"
++    CFLAGS="$CFLAGS"
+ fi
+ 
+ 
diff --git a/multimedia/l-smash/pkg-plist b/multimedia/l-smash/pkg-plist
index d0e297ce0efa..063991d1b030 100644
--- a/multimedia/l-smash/pkg-plist
+++ b/multimedia/l-smash/pkg-plist
@@ -3,7 +3,6 @@ bin/muxer
 bin/remuxer
 bin/timelineeditor
 include/lsmash.h
-lib/liblsmash.a
 lib/liblsmash.so
 lib/liblsmash.so.2
 libdata/pkgconfig/liblsmash.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308051917.375JH0Ob010558>