wok-next view libdrm/receipt @ rev 21420
updated puzzles ( -> 20200413)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 27 17:23:45 2020 +0100 (2020-04-27) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdrm"
4 VERSION="2.4.96"
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"
14 TARBALL_SHA1="51eb4c248a437b3f200bd1cd84461d3e0b60d71e"
16 BUILD_DEPENDS="meson ninja util-macros libxslt libpciaccess-dev eudev-dev \
17 libxslt docbook-xsl valgrind-dev"
18 SPLIT="\
19 $PACKAGE-amdgpu $PACKAGE-etnaviv $PACKAGE-exynos $PACKAGE-intel \
20 $PACKAGE-nouveau $PACKAGE-omap $PACKAGE-radeon $PACKAGE-tegra $PACKAGE-dev"
22 COPY_std="libdrm.so* libkms.so*"
23 COPY_amdgpu=" libdrm_amdgpu.so* amdgpu.ids"
24 COPY_etnaviv="libdrm_etnaviv.so*"
25 COPY_exynos=" libdrm_exynos.so*"
26 COPY_intel=" libdrm_intel.so*"
27 COPY_nouveau="libdrm_nouveau.so*"
28 COPY_omap=" libdrm_omap.so*"
29 COPY_radeon=" libdrm_radeon.so*"
30 COPY_tegra=" libdrm_tegra.so*"
32 DEPENDS_std="eudev linux-drm libpciaccess" # all deps are implicit
33 DEPENDS_amdgpu="libdrm"
34 DEPENDS_etnaviv="libdrm"
35 DEPENDS_exynos="libdrm"
36 DEPENDS_intel="libdrm libpciaccess"
37 DEPENDS_nouveau="libdrm"
38 DEPENDS_omap="libdrm"
39 DEPENDS_radeon="libdrm"
40 DEPENDS_tegra="libdrm"
42 CAT_amdgpu="x-window|AMDGPU API"
43 CAT_etnaviv="x-window|Etnaviv API"
44 CAT_exynos="x-window|EXYNOS API"
45 CAT_intel="x-window|Intel API"
46 CAT_nouveau="x-window|Nouveau API"
47 CAT_omap="x-window|OMAP API"
48 CAT_radeon="x-window|Radeon API"
49 CAT_tegra="x-window|Tegra API"
51 compile_rules() {
52 mkdir build
53 cd build
54 # Freedreno API and VC4 API enabled on the ARM
55 meson-wrapper \
56 -Domap=true \
57 -Dexynos=true \
58 -Dtegra=true \
59 -Detnaviv=true \
60 -Dudev=true \
61 &&
62 ninja &&
63 ninja install
64 }