wok-next diff libva-intel-driver/receipt @ rev 20231

Up libsdl2, libsdl2-image, libsdl2-mixer
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 06 06:41:07 2017 +0200 (2017-11-06)
parents f463de72afe3
children 8940878905f3
line diff
     1.1 --- a/libva-intel-driver/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/libva-intel-driver/receipt	Mon Nov 06 06:41:07 2017 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libva-intel-driver"
     1.8 -VERSION="1.7.1"
     1.9 +VERSION="1.7.3"
    1.10  CATEGORY="x-window"
    1.11  SHORT_DESC="VA Intel driver"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13 @@ -9,26 +9,32 @@
    1.14  WEB_SITE="https://www.freedesktop.org/wiki/Software/vaapi/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="http://www.freedesktop.org/software/vaapi/releases/$PACKAGE/$TARBALL"
    1.18 +WGET_URL="https://www.freedesktop.org/software/vaapi/releases/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS="libdrm libdrm-intel xorg-libpciaccess"
    1.21  BUILD_DEPENDS="autoconf automake libtool python libdrm-dev libva-dev \
    1.22  xorg-libpciaccess-dev"
    1.23 +SPLIT="libva-intel-driver-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 +compile_rules() {
    1.29  	autoreconf -fi &&
    1.30  
    1.31  	./configure \
    1.32  		--sysconfdir=/etc \
    1.33  		--localstatedir=/var \
    1.34  		$CONFIGURE_ARGS &&
    1.35 -	make && make install
    1.36 +	make &&
    1.37 +	make install
    1.38  }
    1.39  
    1.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.41 -genpkg_rules()
    1.42 -{
    1.43 -	copy *.so
    1.44 +genpkg_rules() {
    1.45 +	case $PACKAGE in
    1.46 +		*-driver)
    1.47 +			copy @std
    1.48 +			DEPENDS="libdrm libdrm-intel xorg-libpciaccess"
    1.49 +			;;
    1.50 +		*-dev)
    1.51 +			copy @dev
    1.52 +			DEPENDS="libva-intel-driver libdrm-dev xorg-libpciaccess-dev"
    1.53 +			;;
    1.54 +	esac
    1.55  }