wok-next view libdrm/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | afbc312ba6b0 |
children | e7a485521d6a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdrm"
4 VERSION="2.4.89"
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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="libdrm-amdgpu libdrm-etnaviv libdrm-exynos libdrm-intel libdrm-nouveau \
18 libdrm-omap libdrm-radeon libdrm-tegra libdrm-dev"
20 compile_rules() {
21 # sed -i "/pthread-stubs/d" configure.ac &&
22 autoreconf -fiv &&
24 ./configure \
25 --enable-udev \
26 --enable-vmwgfx \
27 --enable-omap-experimental-api \
28 --enable-exynos-experimental-api \
29 --enable-tegra-experimental-api \
30 --enable-etnaviv-experimental-api \
31 $CONFIGURE_ARGS &&
32 fix libtool &&
33 make &&
34 make install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 libdrm)
40 copy libdrm.so* libkms.so*
41 DEPENDS="eudev linux-drm xorg-libpciaccess"
42 ;;
43 *-amdgpu)
44 copy libdrm_amdgpu.so* amdgpu.ids
45 CAT="x-window|AMDGPU API"
46 DEPENDS="libdrm"
47 ;;
48 *-etnaviv)
49 copy libdrm_etnaviv.so*
50 CAT="x-window|Etnaviv API"
51 DEPENDS="libdrm"
52 ;;
53 *-exynos)
54 copy libdrm_exynos.so*
55 CAT="x-window|EXYNOS API"
56 DEPENDS="libdrm"
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 DEPENDS="libdrm"
67 ;;
68 *-omap)
69 copy libdrm_omap.so*
70 CAT="x-window|OMAP API"
71 DEPENDS="libdrm"
72 ;;
73 *-radeon)
74 copy libdrm_radeon.so*
75 CAT="x-window|Radeon API"
76 DEPENDS="libdrm"
77 ;;
78 *-tegra)
79 copy libdrm_tegra.so*
80 CAT="x-window|Tegra API"
81 DEPENDS="libdrm"
82 ;;
83 *-dev)
84 copy @dev
85 ;;
86 esac
87 }