wok-next annotate libva/receipt @ rev 20880
sslh: up (1.19c)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 09 04:41:27 2018 +0300 (2018-07-09) |
parents | c0521c689857 |
children | d5aab818505e |
rev | line source |
---|---|
al@19980 | 1 # SliTaz package receipt v2. |
al@19660 | 2 |
al@19660 | 3 PACKAGE="libva" |
al@19980 | 4 VERSION="1.8.2" |
al@19660 | 5 CATEGORY="x-window" |
al@19660 | 6 SHORT_DESC="Userspace Video Acceleration (VA) library" |
al@19660 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19980 | 8 LICENSE="MIT" |
al@19660 | 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/vaapi/" |
al@19660 | 10 |
al@19660 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19980 | 12 WGET_URL="https://www.freedesktop.org/software/vaapi/releases/libva/$TARBALL" |
al@19660 | 13 |
al@19660 | 14 BUILD_DEPENDS="libdrm-dev xorg-libX11-dev xorg-libXext-dev xorg-libXfixes-dev \ |
al@20502 | 15 mesa-dev expat-dev xorg-libxshmfence-dev wayland-dev" |
al@19980 | 16 SPLIT="libva-dev" |
al@19660 | 17 |
al@19980 | 18 compile_rules() { |
al@20534 | 19 ./configure $CONFIGURE_ARGS && |
al@20443 | 20 fix libtool && |
al@19980 | 21 make && |
al@19980 | 22 make install |
al@19660 | 23 } |
al@19660 | 24 |
al@19980 | 25 genpkg_rules() { |
al@19980 | 26 case $PACKAGE in |
al@19980 | 27 libva) |
al@19980 | 28 copy @std |
al@20502 | 29 DEPENDS="libdrm mesa wayland xorg-libX11 xorg-libXext \ |
al@20443 | 30 xorg-libXfixes" |
al@19980 | 31 ;; |
al@19980 | 32 *-dev) |
al@19980 | 33 copy @dev |
al@20443 | 34 DEPENDS="libva wayland-dev" |
al@19980 | 35 ;; |
al@19980 | 36 esac |
al@19660 | 37 } |