From 33170505183b95ff618c11dc32d6bbb00e168e2a Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Wed, 16 Oct 2013 10:43:33 +0200 Subject: [PATCH] libdrm: added omap/exynos/freedreno experimental support for ARM to handle more devices. Also cleaned up. --- libdrm/.footprint | 24 ++++++++++++++++++++++++ libdrm/Pkgfile | 10 +++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/libdrm/.footprint b/libdrm/.footprint index 55605b5..f7a5b08 100644 --- a/libdrm/.footprint +++ b/libdrm/.footprint @@ -1,15 +1,22 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/exynos/ +-rw-r--r-- root/root usr/include/exynos/exynos_drm.h +drwxr-xr-x root/root usr/include/freedreno/ +-rw-r--r-- root/root usr/include/freedreno/freedreno_drmif.h +-rw-r--r-- root/root usr/include/freedreno/freedreno_ringbuffer.h drwxr-xr-x root/root usr/include/libdrm/ -rw-r--r-- root/root usr/include/libdrm/drm.h -rw-r--r-- root/root usr/include/libdrm/drm_fourcc.h -rw-r--r-- root/root usr/include/libdrm/drm_mode.h -rw-r--r-- root/root usr/include/libdrm/drm_sarea.h +-rw-r--r-- root/root usr/include/libdrm/exynos_drmif.h -rw-r--r-- root/root usr/include/libdrm/i915_drm.h -rw-r--r-- root/root usr/include/libdrm/mach64_drm.h -rw-r--r-- root/root usr/include/libdrm/mga_drm.h -rw-r--r-- root/root usr/include/libdrm/nouveau.h -rw-r--r-- root/root usr/include/libdrm/nouveau_drm.h +-rw-r--r-- root/root usr/include/libdrm/omap_drmif.h -rw-r--r-- root/root usr/include/libdrm/qxl_drm.h -rw-r--r-- root/root usr/include/libdrm/r128_drm.h -rw-r--r-- root/root usr/include/libdrm/r600_pci_ids.h @@ -27,6 +34,8 @@ drwxr-xr-x root/root usr/include/libdrm/ -rw-r--r-- root/root usr/include/libdrm/vmwgfx_drm.h drwxr-xr-x root/root usr/include/libkms/ -rw-r--r-- root/root usr/include/libkms/libkms.h +drwxr-xr-x root/root usr/include/omap/ +-rw-r--r-- root/root usr/include/omap/omap_drm.h -rw-r--r-- root/root usr/include/xf86drm.h -rw-r--r-- root/root usr/include/xf86drmMode.h drwxr-xr-x root/root usr/lib/ @@ -34,10 +43,22 @@ drwxr-xr-x root/root usr/lib/ lrwxrwxrwx root/root usr/lib/libdrm.so -> libdrm.so.2.4.0 lrwxrwxrwx root/root usr/lib/libdrm.so.2 -> libdrm.so.2.4.0 -rwxr-xr-x root/root usr/lib/libdrm.so.2.4.0 +-rwxr-xr-x root/root usr/lib/libdrm_exynos.la +lrwxrwxrwx root/root usr/lib/libdrm_exynos.so -> libdrm_exynos.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libdrm_exynos.so.1 -> libdrm_exynos.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libdrm_exynos.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libdrm_freedreno.la +lrwxrwxrwx root/root usr/lib/libdrm_freedreno.so -> libdrm_freedreno.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libdrm_freedreno.so.1 -> libdrm_freedreno.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libdrm_freedreno.so.1.0.0 -rwxr-xr-x root/root usr/lib/libdrm_nouveau.la lrwxrwxrwx root/root usr/lib/libdrm_nouveau.so -> libdrm_nouveau.so.2.0.0 lrwxrwxrwx root/root usr/lib/libdrm_nouveau.so.2 -> libdrm_nouveau.so.2.0.0 -rwxr-xr-x root/root usr/lib/libdrm_nouveau.so.2.0.0 +-rwxr-xr-x root/root usr/lib/libdrm_omap.la +lrwxrwxrwx root/root usr/lib/libdrm_omap.so -> libdrm_omap.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libdrm_omap.so.1 -> libdrm_omap.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libdrm_omap.so.1.0.0 -rwxr-xr-x root/root usr/lib/libdrm_radeon.la lrwxrwxrwx root/root usr/lib/libdrm_radeon.so -> libdrm_radeon.so.1.0.1 lrwxrwxrwx root/root usr/lib/libdrm_radeon.so.1 -> libdrm_radeon.so.1.0.1 @@ -48,6 +69,9 @@ lrwxrwxrwx root/root usr/lib/libkms.so.1 -> libkms.so.1.0.0 -rwxr-xr-x root/root usr/lib/libkms.so.1.0.0 drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/libdrm.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libdrm_exynos.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libdrm_freedreno.pc -rw-r--r-- root/root usr/lib/pkgconfig/libdrm_nouveau.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libdrm_omap.pc -rw-r--r-- root/root usr/lib/pkgconfig/libdrm_radeon.pc -rw-r--r-- root/root usr/lib/pkgconfig/libkms.pc diff --git a/libdrm/Pkgfile b/libdrm/Pkgfile index 74b425a..e601ba0 100644 --- a/libdrm/Pkgfile +++ b/libdrm/Pkgfile @@ -11,8 +11,16 @@ source=(http://dri.freedesktop.org/libdrm/libdrm-$version.tar.bz2) build() { cd $name-$version + sed -i "s/drm\/drm.h/drm.h/" include/drm/qxl_drm.h - ./configure --prefix=/usr --mandir=/usr/man --disable-manpages + + ./configure --prefix=/usr \ + --mandir=/usr/man \ + --disable-manpages \ + --enable-omap-experimental-api \ + --enable-exynos-experimental-api \ + --enable-freedreno-experimental-api + make make DESTDIR=$PKG install } -- 2.26.2