Name libtheoradec1
Description Theora Video Compression Codec (shared library - libtheoradec)
Version 1.2.0~alpha1+dfsg-6
Package Base libtheora
Homepage https://www.theora.org/
Maintainers ['Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>']
Contributors ['Martin Steghöfer <martin@steghoefer.eu>', 'Petter Reinholdtsen <pere@debian.org>', 'Ralph Giles <giles@thaumas.net>,']
Distro-repo https://salsa.debian.org/multimedia-team/libtheora
Sources ['https://sources.debian.org/data/main/libt/libtheora/1.2.0~alpha1+dfsg-6/debian/watch', 'https://sources.debian.org/src/libtheora/1.2.0~alpha1+dfsg-6/debian/patches/0001-Remove-non-DFSG-commpliant-RFCs.patch', 'https://sources.debian.org/src/libtheora/1.2.0~alpha1+dfsg-6/debian/patches/0002-player-example-needs-lm-for-rint.patch', 'https://sources.debian.org/src/libtheora/1.2.0~alpha1+dfsg-6/debian/patches/0003-latex.patch', 'https://sources.debian.org/src/libtheora/1.2.0~alpha1+dfsg-6/debian/patches/0004-libpng16.patch', 'https://sources.debian.org/src/libtheora/1.2.0~alpha1+dfsg-6/debian/patches/0005-drop-inter-library-dep.patch', 'https://sources.debian.org/src/libtheora/1.2.0~alpha1+dfsg-6/debian/patches/0006-CVE-2024-56431.patch', 'https://sources.debian.org/src/libtheora/1.2.0~alpha1+dfsg-6/debian/patches/series']
Dependencies ['libc6', 'libcairo2']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'doxygen', 'libcairo2-dev', 'libogg-dev', 'libpng-dev', 'libsdl1.2-dev <!pkg.libtheora.nosdl>', 'libvorbis-dev', 'pkgconf']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 31c566d16b0a30f2c100d685d09b831d10d756bd043107ec6594c082274c0c74
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Ensure texlive respects SOURCE_DATE_EPOCH
export FORCE_SOURCE_DATE=1

# Enable Telemetry debugging information (LP: #627854), see
# <URL: https://people.xiph.org/~xiphmont/demo/theora/demo2.html >
CONFIGURE_FLAGS = --enable-telemetry
ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf))
CONFIGURE_FLAGS += --disable-asm
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)

ifeq (,$(filter pkg.libtheora.nosdl,$(DEB_BUILD_PROFILES)))
execute_after_dh_install-arch:
	for i in debian/libtheora-bin/usr/bin/*; do \
		mv $$i debian/libtheora-bin/usr/bin/theora_`basename $$i`; \
	done
endif

override_dh_autoreconf:
	dh_autoreconf autoreconf -- -i -f -I m4