AM_CONFIG_HEADER([config.h])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+TODAY="`LC_ALL=C date +'%a, %d %b %Y %X %z'`"
+AC_SUBST(TODAY)
+
VA_API_MAJOR_VERSION=va_api_major_version
VA_API_MINOR_VERSION=va_api_minor_version
VA_API_MICRO_VERSION=va_api_micro_version
AC_OUTPUT([
Makefile
debian.upstream/Makefile
+ debian.upstream/changelog
+ debian.upstream/control
+ debian.upstream/libva$LIBVA_MAJOR_VERSION.install:\
+debian.upstream/libva.install.in
doc/Makefile
dummy_drv_video/Makefile
pkgconfig/Makefile
DEBIANFILES = \
- README.Debian \
- changelog.in \
- compat \
- control.in \
- copyright \
- libva-dev.dirs \
- libva-dev.install \
- libva1.dirs \
- libva1.install \
- rules \
- vainfo.install \
+ README.Debian \
+ changelog.in \
+ compat \
+ control.in \
+ copyright \
+ libva-dev.install \
+ libva.install.in \
+ rules \
+ vainfo.install \
$(NULL)
-DEBIANGENFILES = \
- changelog \
- control \
+DEBIANGENFILES = \
+ changelog \
+ control \
+ libva$(LIBVA_MAJOR_VERSION).install \
$(NULL)
EXTRA_DIST = $(DEBIANFILES)
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = Makefile.in $(DEBIANGENFILES)
-
-$(DEBIANGENFILES): %: %.in Makefile
- -sed \
- -e 's|\@DATE\@|'"`LC_ALL=C date +'%a, %d %b %Y %X %z'`"'|' \
- -e 's|\@LIBDRM_VERSION\@|$(LIBDRM_VERSION)|' \
- -e 's|\@LIBVA_PACKAGE_VERSION\@|$(LIBVA_PACKAGE_VERSION)|' \
- -e 's|\@PACKAGE_VERSION\@|$(PACKAGE_VERSION)|' \
- $< > $@
* Autogenerated package, see NEWS file for ChangeLog.
- -- Gwenole Beauchesne <gwenole.beauchesne@intel.com> @DATE@
+ -- Gwenole Beauchesne <gwenole.beauchesne@intel.com> @TODAY@
Package: libva-dev
Section: libdevel
Architecture: any
-Depends: libva1 (= ${binary:Version}),
+Depends: libva@LIBVA_MAJOR_VERSION@ (= ${binary:Version}),
libdrm-dev (>= @LIBDRM_VERSION@),
libgl-dev,
pkg-config
.
This package provides the development environment for libva.
-Package: libva1
+Package: libva@LIBVA_MAJOR_VERSION@
Section: libs
Architecture: any
Depends: ${shlibs:Depends}
The libva library implements the Video Acceleration (VA) API for Linux.
The library loads a hardware dependendent driver.
-Package: libva1-dbg
+Package: libva@LIBVA_MAJOR_VERSION@-dbg
Section: libdevel
Architecture: any
-Depends: libva1 (= ${Source-Version})
+Depends: libva@LIBVA_MAJOR_VERSION@ (= ${Source-Version})
Description: Video Acceleration (VA) API for Linux -- runtime
The libva library implements the Video Acceleration (VA) API for Linux.
The library loads a hardware dependendent driver.
Package: vainfo
Architecture: any
-Depends: libva1 (= ${Source-Version})
+Depends: libva@LIBVA_MAJOR_VERSION@ (= ${Source-Version})
Description: Video Acceleration (VA) API for Linux -- info program
The libva library implements the Video Acceleration (VA) API for Linux.
The library loads a hardware dependendent driver.
+++ /dev/null
-usr/lib
-usr/include