wok-next view directfb/receipt @ rev 20567

xfe: update receipt; qt5: undo `fix math`
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 11 01:07:35 2018 +0300 (2018-04-11)
parents d43bf7aae921
children 835b3b8ce6ac
line source
1 # SliTaz package receipt v2.
3 PACKAGE="directfb"
4 VERSION="1.4.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Thin library that provides hardware graphics acceleration"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.directfb.org/"
11 SOURCE="DirectFB"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://www.directfb.org/downloads/Core/$SOURCE-${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS_arm="libpng12-dev jpeg-dev freetype-dev"
16 BUILD_DEPENDS="libpng12-dev jpeg-dev freetype-dev tslib-dev perl"
17 SPLIT="directfb-dev"
20 compile_rules() {
21 case "$ARCH" in
22 arm)
23 ARCH_ARGS="--with-gfxdrivers=none --disable-x11"
24 export LDFLAGS="$LDFLAGS -L/cross/arm/sysroot/usr/lib"
25 export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include"
26 ;;
27 esac
28 ./configure \
29 --with-dither-rgb16=none \
30 $ARCH_ARGS \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 directfb)
39 copy @std
40 DEPENDS="libpng12 libjpeg freetype tslib zlib"
41 case "$SLITAZ_ARCH" in
42 arm) DEPENDS="libpng12 libjpeg freetype zlib" ;;
43 esac
44 ;;
45 *-dev)
46 copy @dev
47 ;;
48 esac
49 }