From 5bf98bbec2c0f803d23b1786bc43bfdfeda1c28e Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 16 Feb 2016 19:31:49 +0100 Subject: [PATCH] libdri2: Initial commit --- libdri2/.footprint | 13 +++++++++++++ libdri2/.md5sum | 0 libdri2/Pkgfile | 23 +++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 libdri2/.footprint create mode 100644 libdri2/.md5sum create mode 100644 libdri2/Pkgfile diff --git a/libdri2/.footprint b/libdri2/.footprint new file mode 100644 index 0000000..686e7d5 --- /dev/null +++ b/libdri2/.footprint @@ -0,0 +1,13 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/X11/ +drwxr-xr-x root/root usr/include/X11/extensions/ +-rw-r--r-- root/root usr/include/X11/extensions/dri2.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libdri2.a +-rwxr-xr-x root/root usr/lib/libdri2.la +lrwxrwxrwx root/root usr/lib/libdri2.so -> libdri2.so.1.0.0 +lrwxrwxrwx root/root usr/lib/libdri2.so.1 -> libdri2.so.1.0.0 +-rwxr-xr-x root/root usr/lib/libdri2.so.1.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/dri2.pc diff --git a/libdri2/.md5sum b/libdri2/.md5sum new file mode 100644 index 0000000..e69de29 diff --git a/libdri2/Pkgfile b/libdri2/Pkgfile new file mode 100644 index 0000000..3c652c7 --- /dev/null +++ b/libdri2/Pkgfile @@ -0,0 +1,23 @@ +# Description: split out dri2 client side code from mesa, libva, libvdpau, etc.. +# URL: https://github.com/robclark/libdri2 +# Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: git libdrm xorg-libx11 xorg-libxext + +name=libdri2 +version=git +release=1 +source=() + +build() { + if [ ! -d $PKGMK_SOURCE_DIR/$name ]; then + git clone https://github.com/robclark/libdri2.git $PKGMK_SOURCE_DIR/$name + else + cd $PKGMK_SOURCE_DIR/$name && git fetch + fi + cp -r $PKGMK_SOURCE_DIR/$name $SRC + + cd $SRC/$name + ./autogen.sh --prefix=/usr + make DESTDIR=$PKG install +} -- 2.26.2