summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2011-12-03 10:13:28 +0100
committerGwenole Beauchesne <gb.devel@gmail.com>2011-12-03 10:17:05 +0100
commitcfa64e64205112856d025c5898377dec665b251f (patch)
treec3a960b2244cd9897da64b0ffa3d544309f5bf8d
parentfdd7b7f8bf145152af92a126e6f99e0d704b05c6 (diff)
debian: fix drivers path.
-rw-r--r--.gitignore1
-rw-r--r--debian.upstream/Makefile.am4
-rw-r--r--debian.upstream/libva-driver-vdpau.install1
-rw-r--r--debian.upstream/libva-driver-vdpau.install.in1
4 files changed, 5 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 836a16f..73ff4ce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,4 @@ depcomp
TAGS
/debian.upstream/changelog
/debian.upstream/control
+/debian.upstream/libva-driver-vdpau.install
diff --git a/debian.upstream/Makefile.am b/debian.upstream/Makefile.am
index 2a81776..5a8e5a2 100644
--- a/debian.upstream/Makefile.am
+++ b/debian.upstream/Makefile.am
@@ -3,13 +3,14 @@ DEBIANFILES = \
compat \
control.in \
copyright \
+ libva-driver-vdpau.install.in \
rules \
- libva-driver-vdpau.install \
$(NULL)
DEBIANGENFILES = \
changelog \
control \
+ libva-driver-vdpau.install \
$(NULL)
EXTRA_DIST = $(DEBIANFILES)
@@ -23,5 +24,6 @@ $(DEBIANGENFILES): %: %.in Makefile
-sed \
-e 's|\@PACKAGE_VERSION\@|$(PACKAGE_VERSION)|' \
-e 's|\@LIBVA_PACKAGE_VERSION\@|$(LIBVA_PACKAGE_VERSION)|' \
+ -e 's|\@LIBVA_DRIVERS_PATH\@|$(LIBVA_DRIVERS_PATH)|' \
-e 's|\@DATE\@|'"`LC_ALL=C date +'%a, %d %b %Y %X %z'`"'|' \
$< > $@
diff --git a/debian.upstream/libva-driver-vdpau.install b/debian.upstream/libva-driver-vdpau.install
deleted file mode 100644
index 8fbbd2b..0000000
--- a/debian.upstream/libva-driver-vdpau.install
+++ /dev/null
@@ -1 +0,0 @@
-debian/tmp/usr/lib/va/drivers/*.so
diff --git a/debian.upstream/libva-driver-vdpau.install.in b/debian.upstream/libva-driver-vdpau.install.in
new file mode 100644
index 0000000..771fcd5
--- /dev/null
+++ b/debian.upstream/libva-driver-vdpau.install.in
@@ -0,0 +1 @@
+debian/tmp@LIBVA_DRIVERS_PATH@/*.so