wok-next diff libvdpau/receipt @ rev 20230
Up graphviz
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 06 05:30:08 2017 +0200 (2017-11-06) |
parents | |
children | 0e7893ac206d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libvdpau/receipt Mon Nov 06 05:30:08 2017 +0200 1.3 @@ -0,0 +1,39 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="libvdpau" 1.7 +VERSION="1.1.1" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="VDPAU (Video Decode and Presentation API for Unix) library" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://www.freedesktop.org/wiki/Software/VDPAU/" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 +WGET_URL="http://people.freedesktop.org/~aplattner/vdpau/$TARBALL" 1.16 + 1.17 +BUILD_DEPENDS="xorg-libX11-dev xorg-dri2proto xorg-libXext-dev" 1.18 +SPLIT="libvdpau-dev" 1.19 + 1.20 +compile_rules() { 1.21 + ./configure \ 1.22 + --sysconfdir=/etc \ 1.23 + --localstatedir=/var \ 1.24 + $CONFIGURE_ARGS && 1.25 + make && 1.26 + make install 1.27 +} 1.28 + 1.29 +genpkg_rules() { 1.30 + case $PACKAGE in 1.31 + libvdpau) 1.32 + copy @std 1.33 + DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ 1.34 + xorg-libxcb" 1.35 + ;; 1.36 + *-dev) 1.37 + copy @dev 1.38 + DEPENDS="libvdpau xorg-libX11-dev xorg-libXau-dev \ 1.39 + xorg-libXdmcp-dev xorg-libXext-dev xorg-libxcb-dev" 1.40 + ;; 1.41 + esac 1.42 +}