Name libogg0
Description Ogg bitstream library
Version 1.3.5-3build1
Package Base libogg
Homepage https://xiph.org/ogg/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors [' IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>', 'Ron Lee <ron@debian.org>,']
Distro-repo https://git.launchpad.net/ubuntu/+source/libogg/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libogg0/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash fbdb2fedbafb02c3f07f2c2ddeb4018b5e94e13462f93fbececdcefc06fe2ac1
#! /usr/bin/make -f

export DH_OPTIONS

## use hardening some flags
DPKG_EXPORT_BUILDFLAGS = 1
DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_BUILD_MAINT_OPTIONS

include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/pkg-info.mk

#ifneq (,$(filter-out $(DEB_HOST_ARCH), alpha hppa arm))
#	HARD_CFLAGS += -fstack-protector --param ssp-buffer-size=4
#endif
#ifneq (,$(filter-out $(DEB_HOST_ARCH), ia64 hppa avr32))
#	HARD_LDFLAGS += -Wl,-z,relro
#endif
#
## Keep dpkg-buildpackage the hell out of messing with our compile flags,
## we should trust upstream to know better than it what to use here.
## We do append -g for release builds though, for the detached -dbg package,
## and also now the hardening flags too as appropriate.
#CPPFLAGS = $(HARD_CPPFLAGS)
#CFLAGS   = $(HARD_CFLAGS) -g
#CXXFLAGS = $(HARD_CFLAGS) -g
#LDFLAGS  = $(HARD_LDFLAGS)

%:
	dh $@

override_dh_strip:
	dh_strip --dbgsym-migration="libogg-dbg (<< 1.3.4-2~)"


DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
        debian/.*|doc/.*\.png
# licensecheck v1
.PHONY: licensecheck
licensecheck:
	LANG=C.UTF-8 licensecheck \
		-i "^($(DEB_COPYRIGHT_CHECK_IGNORE_REGEX))$$" \
		--check '.*' --recursive --deb-machine --lines 0 * \
		> debian/copyright_newhints
	cmp debian/copyright_hints debian/copyright_newhints \
		&& rm debian/copyright_newhints