wok-next view directfb/receipt @ rev 20856
Update libfm-extra, menu-cache, libfm, pcmanfm
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 26 17:13:37 2018 +0300 (2018-06-26) |
parents | 835b3b8ce6ac |
children | f99935f1778a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="directfb"
4 VERSION="1.8.0"
5 COMMIT="e97c8d4" # no releases here; latest commit (2014-01-30) hash
6 CATEGORY="system-tools"
7 SHORT_DESC="Thin library that provides hardware graphics acceleration"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://github.com/DirectFB"
12 TARBALL="$PACKAGE-$COMMIT.tar.gz"
13 WGET_URL="https://github.com/DirectFB/directfb/archive/$COMMIT.tar.gz"
15 BUILD_DEPENDS="libtool automake gfortran libpng16-dev libjpeg-turbo-dev \
16 freetype-dev tslib-dev perl fluxcomp xorg-xproto xorg-libXext-dev libvdpau-dev"
18 BUILD_DEPENDS="libtool automake gfortran libpng16-dev libjpeg-turbo-dev \
19 freetype-dev fluxcomp mesa-dev xorg-libxshmfence-dev expat-dev \
20 xorg-libXcomposite-dev"
23 SPLIT="directfb-dev"
25 compile_rules() {
26 case "$ARCH" in
27 arm)
28 ARCH_ARGS="--with-gfxdrivers=none --disable-x11"
29 export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib"
30 export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include"
31 ;;
32 esac
34 ./autogen.sh \
35 --disable-osx \
36 --with-dither-rgb16=none \
37 $ARCH_ARGS \
38 $CONFIGURE_ARGS &&
39 fix libtool &&
40 make -j1 &&
41 make -j1 DESTDIR=$DESTDIR install
42 }
44 genpkg_rules() {
45 case $PACKAGE in
46 directfb)
47 copy @std
48 DEPENDS="freetype libjpeg-turbo libpng16 tslib"
49 case "$SLITAZ_ARCH" in
50 arm) DEPENDS="libpng12 libjpeg freetype zlib" ;;
51 esac
52 ;;
53 *-dev)
54 copy @dev
55 DEPENDS="directfb zlib-dev"
56 ;;
57 esac
58 }