wok-next view libdrm/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | e7a485521d6a |
children | d01953cd12ed |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdrm"
4 VERSION="2.4.92"
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/wiki/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/libdrm.html"
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="$PACKAGE-amdgpu $PACKAGE-etnaviv $PACKAGE-exynos $PACKAGE-intel \
18 $PACKAGE-nouveau $PACKAGE-omap $PACKAGE-radeon $PACKAGE-tegra $PACKAGE-dev"
20 compile_rules() {
21 autoreconf -fiv &&
23 # Freedreno API and VC4 API enabled on the ARM
24 GREP=grep \
25 ./configure \
26 --enable-udev \
27 --enable-vmwgfx \
28 --enable-omap-experimental-api \
29 --enable-exynos-experimental-api \
30 --enable-tegra-experimental-api \
31 --enable-etnaviv-experimental-api \
32 $CONFIGURE_ARGS &&
33 fix libtool &&
34 make &&
35 make install
36 }
38 genpkg_rules() {
39 case $PACKAGE in
40 libdrm)
41 copy libdrm.so* libkms.so*
42 DEPENDS="eudev linux-drm xorg-libpciaccess" # all deps are implicit
43 ;;
44 *-amdgpu)
45 copy libdrm_amdgpu.so* amdgpu.ids
46 CAT="x-window|AMDGPU API"
47 DEPENDS="libdrm"
48 ;;
49 *-etnaviv)
50 copy libdrm_etnaviv.so*
51 CAT="x-window|Etnaviv API"
52 DEPENDS="libdrm"
53 ;;
54 *-exynos)
55 copy libdrm_exynos.so*
56 CAT="x-window|EXYNOS API"
57 DEPENDS="libdrm"
58 ;;
59 *-intel)
60 copy libdrm_intel.so*
61 CAT="x-window|Intel API"
62 DEPENDS="libdrm xorg-libpciaccess"
63 ;;
64 *-nouveau)
65 copy libdrm_nouveau.so*
66 CAT="x-window|Nouveau API"
67 DEPENDS="libdrm"
68 ;;
69 *-omap)
70 copy libdrm_omap.so*
71 CAT="x-window|OMAP API"
72 DEPENDS="libdrm"
73 ;;
74 *-radeon)
75 copy libdrm_radeon.so*
76 CAT="x-window|Radeon API"
77 DEPENDS="libdrm"
78 ;;
79 *-tegra)
80 copy libdrm_tegra.so*
81 CAT="x-window|Tegra API"
82 DEPENDS="libdrm"
83 ;;
84 *-dev)
85 copy @dev
86 ;;
87 esac
88 }