git: f680a14c2125 - main - multimedia/libtheora: Update to 1.2.0

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Fri, 26 Dec 2025 09:50:51 UTC
The branch main has been updated by jhale:

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

commit f680a14c21250d6abe176931d3a3d8f93024ccdb
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-12-26 09:29:36 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-12-26 09:50:45 +0000

    multimedia/libtheora: Update to 1.2.0
    
    https://gitlab.xiph.org/xiph/theora/-/releases/v1.2.0
---
 multimedia/libtheora/Makefile                |  8 +++-----
 multimedia/libtheora/distinfo                |  5 +++--
 multimedia/libtheora/files/patch-Makefile.in | 18 +++++++++---------
 multimedia/libtheora/files/patch-configure   | 15 ---------------
 multimedia/libtheora/pkg-plist               | 12 ++++++------
 5 files changed, 21 insertions(+), 37 deletions(-)

diff --git a/multimedia/libtheora/Makefile b/multimedia/libtheora/Makefile
index fa452d1331e5..d581695c0bec 100644
--- a/multimedia/libtheora/Makefile
+++ b/multimedia/libtheora/Makefile
@@ -1,6 +1,5 @@
 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/
@@ -12,10 +11,9 @@ 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
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
@@ -4,16 +4,16 @@ 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