| Name |
x264 |
| Description |
video encoder for the H.264/MPEG-4 AVC standard |
| Version |
2:0.164.3108+git31e19f9-1 |
| Package Base |
|
| Homepage |
https://www.videolan.org/developers/x264.html |
| Maintainers |
['Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>', 'Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
[' Reinhard Tartler <siretart@tauware.de>', 'Rico Tzschichholz <ricotz@ubuntu.com>'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/x264/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/x264/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/x264/plain/debian/patches/properly_detect_x32.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/x264/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/x264/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
['libavcodec60', 'libavformat60', 'libavutil58', 'libc6', 'libffms2-5', 'libswscale7', 'libx264-164'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['debhelper-compat', 'libavformat-dev', 'libffms2-dev <!stage1>', 'nasm', 'pkg-config'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
50a21cb3332409ffc99b3d1dfa62f7fcb91183c15e005ff81d318d8971e432d7 |
#!/usr/bin/make -f
libx264N := libx264-$(shell awk '/define X264_BUILD/{print $$3}' x264.h)
include /usr/share/dpkg/architecture.mk
include debian/confflags
DH_INSTALL_FILES = debian/$(libx264N).install \
debian/libx264-dev.install
%:
dh $@
.PHONY: debian/control
debian/control:
sed -e 's/@libx264N@/$(libx264N)/g' $@.in > $@
$(DH_INSTALL_FILES):
sed -e 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' $(subst $(libx264N),libx264N,$@).in > $@
override_dh_auto_build:
# Build static lib
CFLAGS="$(extra_cflags)" LDFLAGS="$(LDFLAGS)" ./configure $(static_confflags) \
|| ( tail -v -n +0 config.log config.log ; exit 1 )
$(MAKE)
$(MAKE) install DESTDIR=$(CURDIR)/debian/install/static
$(MAKE) distclean
# Build shared lib
CFLAGS="$(extra_cflags)" LDFLAGS="$(LDFLAGS)" ./configure $(shared_confflags) \
|| ( tail -v -n +0 config.log config.log ; exit 1 )
$(MAKE)
$(MAKE) install DESTDIR=$(CURDIR)/debian/install/shared
ifeq ($(do_opt),yes)
$(MAKE) distclean
# Build opt lib
LDFLAGS="$(LDFLAGS)" ./configure $(opt_confflags) \
|| ( tail -v -n +0 config.log config.log ; exit 1 )
$(MAKE)
$(MAKE) install DESTDIR=$(CURDIR)/debian/install/opt
endif
override_dh_auto_configure:
# dh_auto_configure phase handled via dh_auto_build.
override_dh_auto_install:
# dh_auto_install phase handled via dh_auto_build.
override_dh_auto_clean: debian/control
rm -rf debian/install
$(MAKE) -o config.mak distclean
dh_clean config.mak2 $(DH_INSTALL_FILES)
override_dh_install: $(DH_INSTALL_FILES)
dh_install --sourcedir=debian/install
ifeq ($(do_opt),yes)
mkdir -p debian/$(libx264N)$(opt_libdir)
cp -a debian/install/opt$(opt_libdir)/*.so.* debian/$(libx264N)$(opt_libdir)
endif
override_dh_missing:
dh_missing --list-missing --sourcedir=debian/install
debian/x264.1: build
env LD_LIBRARY_PATH="$(LD_LIBRARY_PATH):$(CURDIR)/debian/install/shared/usr/lib/$(DEB_HOST_MULTIARCH)" \
help2man -n "fast h264 encoder" -N -s1 -S "Videolan project" -h '--fullhelp' \
debian/install/shared/usr/bin/x264 > debian/x264.1