wok-next rev 19980
Up libva (1.8.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:39:08 2017 +0300 (2017-10-18) |
parents | db97269587e6 |
children | 7181a3f7f828 |
files | libva-dev/receipt libva/receipt |
line diff
1.1 --- a/libva-dev/receipt Wed Oct 18 03:31:51 2017 +0300 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,20 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="libva-dev" 1.7 -VERSION="1.7.1" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="Userspace Video Acceleration (VA) library (development files)" 1.10 -MAINTAINER="al.bobylev@gmail.com" 1.11 -LICENSE="other" 1.12 -WEB_SITE="https://www.freedesktop.org/wiki/Software/vaapi/" 1.13 - 1.14 -WANTED="libva" 1.15 -DEPENDS="libva expat-dev libdrm-dev libxcb-dev mesa-dev xorg-libX11-dev \ 1.16 -xorg-libXau-dev xorg-libXdamage-dev xorg-libXdmcp-dev xorg-libXext-dev \ 1.17 -xorg-libXfixes-dev xorg-libxshmfence-dev xorg-libXxf86vm-dev" 1.18 - 1.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 -genpkg_rules() 1.21 -{ 1.22 - copy *.h *.la *.pc 1.23 -}
2.1 --- a/libva/receipt Wed Oct 18 03:31:51 2017 +0300 2.2 +++ b/libva/receipt Wed Oct 18 03:39:08 2017 +0300 2.3 @@ -1,33 +1,42 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="libva" 2.8 -VERSION="1.7.1" 2.9 +VERSION="1.8.2" 2.10 CATEGORY="x-window" 2.11 SHORT_DESC="Userspace Video Acceleration (VA) library" 2.12 MAINTAINER="al.bobylev@gmail.com" 2.13 -LICENSE="other" 2.14 +LICENSE="MIT" 2.15 WEB_SITE="https://www.freedesktop.org/wiki/Software/vaapi/" 2.16 2.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.18 -WGET_URL="http://www.freedesktop.org/software/vaapi/releases/libva/$TARBALL" 2.19 +WGET_URL="https://www.freedesktop.org/software/vaapi/releases/libva/$TARBALL" 2.20 2.21 -DEPENDS="libdrm libxcb mesa xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ 2.22 -xorg-libXfixes" 2.23 BUILD_DEPENDS="libdrm-dev xorg-libX11-dev xorg-libXext-dev xorg-libXfixes-dev \ 2.24 mesa-dev expat-dev xorg-libxshmfence-dev" 2.25 +SPLIT="libva-dev" 2.26 2.27 -# Rules to configure and make the package. 2.28 -compile_rules() 2.29 -{ 2.30 +compile_rules() { 2.31 ./configure \ 2.32 --sysconfdir=/etc \ 2.33 --localstatedir=/var \ 2.34 $CONFIGURE_ARGS && 2.35 - make && make install 2.36 + make && 2.37 + make install 2.38 } 2.39 2.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.41 -genpkg_rules() 2.42 -{ 2.43 - copy bin/ *.so* 2.44 +genpkg_rules() { 2.45 + case $PACKAGE in 2.46 + libva) 2.47 + copy @std 2.48 + DEPENDS="libdrm mesa mesa-libegl xorg-libX11 xorg-libXau \ 2.49 + xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libxcb" 2.50 + ;; 2.51 + *-dev) 2.52 + copy @dev 2.53 + DEPENDS="libva expat-dev libdrm-dev mesa-dev xorg-libX11-dev \ 2.54 + xorg-libXau-dev xorg-libXdamage-dev xorg-libXdmcp-dev \ 2.55 + xorg-libXext-dev xorg-libXfixes-dev xorg-libXxf86vm-dev \ 2.56 + xorg-libxcb-dev xorg-libxshmfence-dev" 2.57 + ;; 2.58 + esac 2.59 }