wok-next view libdrm/receipt @ rev 19840
Up librsvg (split more), make-slitaz-icons (use rsvg-convert instead of inkscape), faenza-icon-theme (keep original theme), slitaz-icons-faenza (combine light & dark).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 14 15:53:27 2017 +0300 (2017-08-14) |
parents | f463de72afe3 |
children | db97269587e6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdrm"
4 VERSION="2.4.75"
5 CATEGORY="x-window"
6 SHORT_DESC="Freedesktop DRM Library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://dri.freedesktop.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://dri.freedesktop.org/libdrm/$TARBALL"
15 BUILD_DEPENDS="autoconf automake libtool xorg-util-macros libxslt \
16 xorg-libpciaccess-dev cairo-dev eudev-dev libxslt docbook-xsl valgrind-dev"
17 SPLIT="libdrm-amdgpu libdrm-etnaviv libdrm-exynos libdrm-intel libdrm-nouveau \
18 libdrm-omap libdrm-radeon libdrm-tegra libdrm-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i "/pthread-stubs/d" configure.ac &&
24 autoreconf -fiv &&
26 ./configure \
27 --enable-udev \
28 --enable-vmwgfx \
29 --enable-omap-experimental-api \
30 --enable-exynos-experimental-api \
31 --enable-tegra-experimental-api \
32 --enable-etnaviv-experimental-api \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
41 case $PACKAGE in
42 libdrm)
43 copy libdrm.so* libkms.so*
44 DEPENDS="glibc-base eudev linux-drm xorg-libpciaccess"
45 ;;
46 *-amdgpu)
47 copy libdrm_amdgpu.so*
48 CAT="x-window|AMDGPU API"
49 ;;
50 *-etnaviv)
51 copy libdrm_etnaviv.so*
52 CAT="x-window|Etnaviv API"
53 ;;
54 *-exynos)
55 copy libdrm_exynos.so*
56 CAT="x-window|EXYNOS API"
57 ;;
58 *-intel)
59 copy libdrm_intel.so*
60 CAT="x-window|Intel API"
61 DEPENDS="libdrm xorg-libpciaccess"
62 ;;
63 *-nouveau)
64 copy libdrm_nouveau.so*
65 CAT="x-window|Nouveau API"
66 ;;
67 *-omap)
68 copy libdrm_omap.so*
69 CAT="x-window|OMAP API"
70 ;;
71 *-radeon)
72 copy libdrm_radeon.so*
73 CAT="x-window|Radeon API"
74 ;;
75 *-tegra)
76 copy libdrm_tegra.so*
77 CAT="x-window|Tegra API"
78 ;;
79 *-dev)
80 copy @dev
81 ;;
82 esac
83 }