first commit
This commit is contained in:
30
external/packages/extras-buildpkgs/libvdpau/debian/rules
vendored
Normal file
30
external/packages/extras-buildpkgs/libvdpau/debian/rules
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
|
||||
CONFIGURE_OPTIONS ?= --disable-documentation \
|
||||
--enable-dri2
|
||||
|
||||
%:
|
||||
dh $@ --with autoreconf
|
||||
|
||||
binary: binary-indep binary-arch ;
|
||||
|
||||
override_dh_autoreconf:
|
||||
dh_autoreconf --as-needed
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_testdir
|
||||
LDFLAGS="-Wl,--as-needed $$(dpkg-buildflags --get LDFLAGS)" ./configure \
|
||||
--prefix=/usr --sysconfdir=/etc --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
|
||||
$(CONFIGURE_OPTIONS)
|
||||
|
||||
override_dh_bugfiles:
|
||||
dh_bugfiles -A
|
||||
|
||||
# ignore the plugin
|
||||
override_dh_makeshlibs:
|
||||
dh_makeshlibs -Xvdpau/libvdpau_trace.so.1
|
||||
Reference in New Issue
Block a user