wok-next diff libva/receipt @ rev 21207

try to build asterisk again
author Hans-G?nter Theisgen
date Mon Dec 02 09:52:22 2019 +0100 (2019-12-02)
parents d5aab818505e
children
line diff
     1.1 --- a/libva/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/libva/receipt	Mon Dec 02 09:52:22 2019 +0100
     1.3 @@ -1,37 +1,29 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="libva"
     1.7 -VERSION="1.8.2"
     1.8 +VERSION="2.3.0"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Userspace Video Acceleration (VA) library"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="MIT"
    1.13 -WEB_SITE="https://www.freedesktop.org/wiki/Software/vaapi/"
    1.14 +WEB_SITE="https://github.com/intel/libva"
    1.15 +# https://www.freedesktop.org/wiki/Software/vaapi/ - old
    1.16 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/x7driver.html#libva"
    1.17  
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 -WGET_URL="https://www.freedesktop.org/software/vaapi/releases/libva/$TARBALL"
    1.20 +WGET_URL="https://github.com/intel/libva/releases/download/$VERSION/$TARBALL"
    1.21 +TARBALL_SHA1="e1138529355cce78fa2edc7c5b1c5aeb40dd0ce5"
    1.22  
    1.23 -BUILD_DEPENDS="libdrm-dev xorg-libX11-dev xorg-libXext-dev xorg-libXfixes-dev \
    1.24 -mesa-dev expat-dev xorg-libxshmfence-dev wayland-dev"
    1.25 +BUILD_DEPENDS="libdrm-dev libx11-dev libxext-dev libxfixes-dev mesa-dev \
    1.26 +expat-dev libxshmfence-dev wayland-dev"
    1.27  SPLIT="$PACKAGE-dev"
    1.28  
    1.29 +DEPENDS_std="libdrm libx11 libxext libxfixes mesa wayland"
    1.30 +DEPENDS_dev="$PACKAGE wayland-dev"
    1.31 +
    1.32  compile_rules() {
    1.33  	./configure $CONFIGURE_ARGS &&
    1.34  	fix libtool &&
    1.35  	make &&
    1.36  	make install
    1.37  }
    1.38 -
    1.39 -genpkg_rules() {
    1.40 -	case $PACKAGE in
    1.41 -		libva)
    1.42 -			copy @std
    1.43 -			DEPENDS="libdrm mesa wayland xorg-libX11 xorg-libXext \
    1.44 -			xorg-libXfixes"
    1.45 -			;;
    1.46 -		*-dev)
    1.47 -			copy @dev
    1.48 -			DEPENDS="libva wayland-dev"
    1.49 -			;;
    1.50 -	esac
    1.51 -}