diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile index bfbe960339b..c0743aa2f8a 100644 --- a/multimedia/x264/Makefile +++ b/multimedia/x264/Makefile @@ -1,16 +1,15 @@ -# $OpenBSD: Makefile,v 1.53 2019/10/19 16:59:33 visa Exp $ +# $OpenBSD: Makefile,v 1.54 2019/12/24 15:03:18 ajacoutot Exp $ COMMENT= free H.264/MPEG-4 AVC encoder -V= 20190720 +V= 20191220 DISTNAME= x264-snapshot-${V}-2245 PKGNAME= x264-${V} -REVISION= 0 CATEGORIES= multimedia -MASTER_SITES= https://downloads.videolan.org/pub/videolan/x264/snapshots/ -EXTRACT_SUFX= .tar.bz2 +MASTER_SITES= https://comstyle.com/source/ +EXTRACT_SUFX= .tar.xz -SHARED_LIBS= x264 20.0 +SHARED_LIBS= x264 21.0 HOMEPAGE= https://www.videolan.org/developers/x264.html diff --git a/multimedia/x264/distinfo b/multimedia/x264/distinfo index d89b664acd1..33d43265314 100644 --- a/multimedia/x264/distinfo +++ b/multimedia/x264/distinfo @@ -1,2 +1,2 @@ -SHA256 (x264-snapshot-20190720-2245.tar.bz2) = TUjhWrMoauj16Toq6RUL9xjFl73BJSe+MrJ32NkjPkk= -SIZE (x264-snapshot-20190720-2245.tar.bz2) = 774812 +SHA256 (x264-snapshot-20191220-2245.tar.xz) = G2tMq8hlIwbeJQ/WhpTgLqHWbOqoRFsyGkyfBw5MLAg= +SIZE (x264-snapshot-20191220-2245.tar.xz) = 672876 diff --git a/multimedia/x264/patches/patch-Makefile b/multimedia/x264/patches/patch-Makefile index f7a4496a62e..beb9a682c21 100644 --- a/multimedia/x264/patches/patch-Makefile +++ b/multimedia/x264/patches/patch-Makefile @@ -1,8 +1,9 @@ -$OpenBSD: patch-Makefile,v 1.18 2018/09/16 06:37:15 ajacoutot Exp $ +$OpenBSD: patch-Makefile,v 1.19 2019/12/24 15:03:18 ajacoutot Exp $ + Index: Makefile --- Makefile.orig +++ Makefile -@@ -255,7 +255,7 @@ example: example$(EXE) +@@ -260,7 +260,7 @@ example: example$(EXE) endif x264$(EXE): $(GENERATED) .depend $(OBJCLI) $(CLI_LIBX264) @@ -11,7 +12,7 @@ Index: Makefile checkasm8$(EXE): $(GENERATED) .depend $(OBJCHK) $(OBJCHK_8) $(LIBX264) $(LD)$@ $(OBJCHK) $(OBJCHK_8) $(LIBX264) $(LDFLAGS) -@@ -398,7 +398,6 @@ ifneq ($(IMPLIBNAME),) +@@ -406,7 +406,6 @@ ifneq ($(IMPLIBNAME),) $(INSTALL) -m 755 $(SONAME) $(DESTDIR)$(bindir) $(INSTALL) -m 644 $(IMPLIBNAME) $(DESTDIR)$(libdir) else ifneq ($(SONAME),) diff --git a/multimedia/x264/patches/patch-common_osdep_h b/multimedia/x264/patches/patch-common_osdep_h index 6be37798508..863a09a1e12 100644 --- a/multimedia/x264/patches/patch-common_osdep_h +++ b/multimedia/x264/patches/patch-common_osdep_h @@ -1,4 +1,4 @@ -$OpenBSD: patch-common_osdep_h,v 1.11 2018/09/16 06:37:15 ajacoutot Exp $ +$OpenBSD: patch-common_osdep_h,v 1.12 2019/12/24 15:03:18 ajacoutot Exp $ Enable the use of __sync_fetch_and_add() on aarch64, alpha, arm, mips64, powerpc and sparc64. @@ -6,7 +6,7 @@ powerpc and sparc64. Index: common/osdep.h --- common/osdep.h.orig +++ common/osdep.h -@@ -255,7 +255,8 @@ int x264_threading_init( void ); +@@ -367,7 +367,8 @@ X264_API int x264_threading_init( void ); static ALWAYS_INLINE int x264_pthread_fetch_and_add( int *val, int add, x264_pthread_mutex_t *mutex ) { #if HAVE_THREAD diff --git a/multimedia/x264/patches/patch-configure b/multimedia/x264/patches/patch-configure index 3a3cce9e0b4..d22e835d413 100644 --- a/multimedia/x264/patches/patch-configure +++ b/multimedia/x264/patches/patch-configure @@ -1,4 +1,4 @@ -$OpenBSD: patch-configure,v 1.26 2019/07/22 06:56:33 ajacoutot Exp $ +$OpenBSD: patch-configure,v 1.27 2019/12/24 15:03:18 ajacoutot Exp $ Index: configure --- configure.orig @@ -9,7 +9,7 @@ Index: configure if test x"$1" = x"-h" -o x"$1" = x"--help" ; then cat <> config.mak if [ $compiler_style = MS ]; then -@@ -1513,7 +1504,7 @@ if [ "$shared" = "yes" ]; then +@@ -1551,7 +1542,7 @@ if [ "$shared" = "yes" ]; then else echo "SOSUFFIX=so" >> config.mak echo "SONAME=libx264.so.$API" >> config.mak