wok-next annotate libdrm/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
pankso@3006 | 2 |
pankso@3006 | 3 PACKAGE="libdrm" |
al@21072 | 4 VERSION="2.4.96" |
pankso@3006 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="Freedesktop DRM Library" |
al@19805 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15472 | 8 LICENSE="MIT" |
al@21020 | 9 WEB_SITE="https://dri.freedesktop.org/wiki/" |
al@20905 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/libdrm.html" |
pankso@3006 | 11 |
al@19647 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19647 | 13 WGET_URL="https://dri.freedesktop.org/libdrm/$TARBALL" |
al@21072 | 14 TARBALL_SHA1="51eb4c248a437b3f200bd1cd84461d3e0b60d71e" |
al@19647 | 15 |
al@21072 | 16 BUILD_DEPENDS="meson ninja util-macros libxslt libpciaccess-dev eudev-dev \ |
al@21072 | 17 libxslt docbook-xsl valgrind-dev" |
al@21072 | 18 SPLIT="\ |
al@21072 | 19 $PACKAGE-amdgpu $PACKAGE-etnaviv $PACKAGE-exynos $PACKAGE-intel \ |
al@21072 | 20 $PACKAGE-nouveau $PACKAGE-omap $PACKAGE-radeon $PACKAGE-tegra $PACKAGE-dev" |
al@21072 | 21 |
al@21072 | 22 COPY_std="libdrm.so* libkms.so*" |
al@21072 | 23 COPY_amdgpu=" libdrm_amdgpu.so* amdgpu.ids" |
al@21072 | 24 COPY_etnaviv="libdrm_etnaviv.so*" |
al@21072 | 25 COPY_exynos=" libdrm_exynos.so*" |
al@21072 | 26 COPY_intel=" libdrm_intel.so*" |
al@21072 | 27 COPY_nouveau="libdrm_nouveau.so*" |
al@21072 | 28 COPY_omap=" libdrm_omap.so*" |
al@21072 | 29 COPY_radeon=" libdrm_radeon.so*" |
al@21072 | 30 COPY_tegra=" libdrm_tegra.so*" |
al@21072 | 31 |
al@21072 | 32 DEPENDS_std="eudev linux-drm libpciaccess" # all deps are implicit |
al@21072 | 33 DEPENDS_amdgpu="libdrm" |
al@21072 | 34 DEPENDS_etnaviv="libdrm" |
al@21072 | 35 DEPENDS_exynos="libdrm" |
al@21072 | 36 DEPENDS_intel="libdrm libpciaccess" |
al@21072 | 37 DEPENDS_nouveau="libdrm" |
al@21072 | 38 DEPENDS_omap="libdrm" |
al@21072 | 39 DEPENDS_radeon="libdrm" |
al@21072 | 40 DEPENDS_tegra="libdrm" |
al@21072 | 41 |
al@21072 | 42 CAT_amdgpu="x-window|AMDGPU API" |
al@21072 | 43 CAT_etnaviv="x-window|Etnaviv API" |
al@21072 | 44 CAT_exynos="x-window|EXYNOS API" |
al@21072 | 45 CAT_intel="x-window|Intel API" |
al@21072 | 46 CAT_nouveau="x-window|Nouveau API" |
al@21072 | 47 CAT_omap="x-window|OMAP API" |
al@21072 | 48 CAT_radeon="x-window|Radeon API" |
al@21072 | 49 CAT_tegra="x-window|Tegra API" |
pankso@12528 | 50 |
al@19979 | 51 compile_rules() { |
al@21072 | 52 mkdir build |
al@21072 | 53 cd build |
al@20905 | 54 # Freedreno API and VC4 API enabled on the ARM |
al@21072 | 55 meson-wrapper \ |
al@21072 | 56 -Domap=true \ |
al@21072 | 57 -Dexynos=true \ |
al@21072 | 58 -Dtegra=true \ |
al@21072 | 59 -Detnaviv=true \ |
al@21072 | 60 -Dudev=true \ |
al@21072 | 61 && |
al@21072 | 62 ninja && |
al@21072 | 63 ninja install |
pankso@3006 | 64 } |