diff --git a/multimedia/libtheora/Makefile b/multimedia/libtheora/Makefile index fa452d1331e5..d581695c0bec 100644 --- a/multimedia/libtheora/Makefile +++ b/multimedia/libtheora/Makefile @@ -1,36 +1,34 @@ PORTNAME= libtheora -PORTVERSION= 1.1.1 -PORTREVISION= 7 +PORTVERSION= 1.2.0 CATEGORIES= multimedia MASTER_SITES= https://downloads.xiph.org/releases/theora/ \ https://ftp.osuosl.org/pub/xiph/releases/theora/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Theora video codec for the Ogg multimedia streaming system WWW= https://www.theora.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libogg.so:audio/libogg \ - libvorbis.so:audio/libvorbis +LIB_DEPENDS= libogg.so:audio/libogg -USES= libtool localbase pathfix tar:bzip2 +USES= libtool localbase pathfix tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-sdltest \ --disable-examples INSTALL_TARGET= install-strip TEST_TARGET= check USE_LDCONFIG= yes .include post-patch: @${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's, x86_64), x86_64|amd64),; \ /ac_lib/ s,compat,,' ${WRKSRC}/configure .if ${ARCH}=="amd64" @${REINPLACE_CMD} -e 's|#define OC_X86_ASM|#undef OC_X86_ASM|' ${WRKSRC}/configure .endif .include diff --git a/multimedia/libtheora/distinfo b/multimedia/libtheora/distinfo index f84c703778ad..035287a9fa29 100644 --- a/multimedia/libtheora/distinfo +++ b/multimedia/libtheora/distinfo @@ -1,2 +1,3 @@ -SHA256 (libtheora-1.1.1.tar.bz2) = b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc -SIZE (libtheora-1.1.1.tar.bz2) = 1903175 +TIMESTAMP = 1766633951 +SHA256 (libtheora-1.2.0.tar.xz) = ebdf77a8f5c0a8f7a9e42323844fa09502b34eb1d1fece7b5f54da41fe2122ec +SIZE (libtheora-1.2.0.tar.xz) = 1803124 diff --git a/multimedia/libtheora/files/patch-Makefile.in b/multimedia/libtheora/files/patch-Makefile.in index cff2df8d6c68..b44ea4bcdeab 100644 --- a/multimedia/libtheora/files/patch-Makefile.in +++ b/multimedia/libtheora/files/patch-Makefile.in @@ -1,11 +1,11 @@ ---- Makefile.in.orig 2009-10-01 18:04:07.000000000 +0000 -+++ Makefile.in 2009-12-21 01:17:02.000000000 +0000 -@@ -200,7 +200,7 @@ - missing mkinstalldirs theora-uninstalled.pc.in theora.pc.in \ - theoradec-uninstalled.pc.in theoradec.pc.in \ - theoraenc-uninstalled.pc.in theoraenc.pc.in +--- Makefile.in.orig 2025-03-29 06:07:40 UTC ++++ Makefile.in +@@ -191,7 +191,7 @@ am__define_uniq_tagged_files = \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` -DIST_SUBDIRS = lib include doc tests m4 examples +DIST_SUBDIRS = lib include m4 - all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - + am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(srcdir)/libtheora.spec.in $(srcdir)/theora-uninstalled.pc.in \ + $(srcdir)/theora.pc.in $(srcdir)/theoradec-uninstalled.pc.in \ diff --git a/multimedia/libtheora/files/patch-configure b/multimedia/libtheora/files/patch-configure deleted file mode 100644 index 229295fb60c4..000000000000 --- a/multimedia/libtheora/files/patch-configure +++ /dev/null @@ -1,15 +0,0 @@ ---- configure.orig 2014-02-11 10:04:07.000000000 +0100 -+++ configure 2014-02-11 21:06:31.000000000 +0100 -@@ -11863,7 +11863,11 @@ - case $host in - *) - DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES" -- CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops" -+ if $CC -v 2>&1 | grep clang > /dev/null; then -+ CFLAGS="-Wall -Wno-parentheses -O3 -fomit-frame-pointer -finline-functions -funroll-loops" -+ else -+ CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops" -+ fi - PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";; - esac - fi diff --git a/multimedia/libtheora/pkg-plist b/multimedia/libtheora/pkg-plist index b14279cb545d..96dc3ac10b56 100644 --- a/multimedia/libtheora/pkg-plist +++ b/multimedia/libtheora/pkg-plist @@ -1,19 +1,19 @@ include/theora/theora.h include/theora/codec.h include/theora/theoraenc.h include/theora/theoradec.h lib/libtheora.a lib/libtheora.so -lib/libtheora.so.0 -lib/libtheora.so.0.3.10 +lib/libtheora.so.1 +lib/libtheora.so.1.4.1 lib/libtheoradec.a lib/libtheoradec.so -lib/libtheoradec.so.1 -lib/libtheoradec.so.1.1.4 +lib/libtheoradec.so.2 +lib/libtheoradec.so.2.1.1 lib/libtheoraenc.a lib/libtheoraenc.so -lib/libtheoraenc.so.1 -lib/libtheoraenc.so.1.1.2 +lib/libtheoraenc.so.2 +lib/libtheoraenc.so.2.2.1 libdata/pkgconfig/theora.pc libdata/pkgconfig/theoraenc.pc libdata/pkgconfig/theoradec.pc