Name openh264
Description
Version 2.6.0+dfsg-2
Package Base
Homepage
Maintainers ['Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>']
Contributors ['Bastian Germann <bage@debian.org>']
Distro-repo https://salsa.debian.org/debian/openh264
Sources ['https://sources.debian.org/data/main/o/openh264/2.6.0+dfsg-2/debian/watch', 'https://sources.debian.org/src/openh264/2.6.0+dfsg-2/debian/patches/Add-x32-build-flavour.patch', 'https://sources.debian.org/src/openh264/2.6.0+dfsg-2/debian/patches/Correct-.pc-s-libdir.patch', 'https://sources.debian.org/src/openh264/2.6.0+dfsg-2/debian/patches/Do-not-generate-version-from-git.patch', 'https://sources.debian.org/src/openh264/2.6.0+dfsg-2/debian/patches/Prevent-building-armel-with-NEON.patch', 'https://sources.debian.org/src/openh264/2.6.0+dfsg-2/debian/patches/series']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'nasm [any-amd64 any-i386]']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
CPPFLAGS=$(shell dpkg-buildflags --get CPPFLAGS)

DPKG_EXPORT_BUILDTOOLS=1
-include /usr/share/dpkg/buildtools.mk

ifeq ($(DEB_HOST_ARCH),amd64)
export ARCH=x86_64
else
export ARCH=$(DEB_HOST_ARCH)
endif

%:
	dh $@

override_dh_auto_build:
	sed s/DEB_HOST_MULTIARCH/$$DEB_HOST_MULTIARCH/g debian/libopenh264-cisco8.prerm.in > debian/libopenh264-cisco8.prerm
	dh_auto_build -- \
		LIBDIR_NAME=lib/$(DEB_HOST_MULTIARCH) \
		CFLAGS_OPT="$(CFLAGS) $(CPPFLAGS)"

override_dh_auto_install:
	dh_auto_install -- PREFIX=/usr \
		LIBDIR_NAME=lib/$(DEB_HOST_MULTIARCH) \
		SHAREDLIB_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)

override_dh_installchangelogs:
	dh_installchangelogs RELEASES