wok-next view libva/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents b04aa35b10fe
children c0521c689857
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libva"
4 VERSION="1.8.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Userspace Video Acceleration (VA) library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/vaapi/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.freedesktop.org/software/vaapi/releases/libva/$TARBALL"
14 BUILD_DEPENDS="libdrm-dev xorg-libX11-dev xorg-libXext-dev xorg-libXfixes-dev \
15 mesa17-dev expat-dev xorg-libxshmfence-dev wayland-dev"
16 SPLIT="libva-dev"
18 compile_rules() {
19 fix ld
20 ./configure \
21 --sysconfdir=/etc \
22 --localstatedir=/var \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libva)
32 copy @std
33 DEPENDS="libdrm mesa17 wayland xorg-libX11 xorg-libXext \
34 xorg-libXfixes"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="libva wayland-dev"
39 ;;
40 esac
41 }