CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libdri2: Initial commit
authorVictor Martinez <pitillo@ono.com>
Tue, 16 Feb 2016 18:31:49 +0000 (19:31 +0100)
committerVictor Martinez <pitillo@ono.com>
Tue, 16 Feb 2016 18:31:49 +0000 (19:31 +0100)
libdri2/.footprint [new file with mode: 0644]
libdri2/.md5sum [new file with mode: 0644]
libdri2/Pkgfile [new file with mode: 0644]

diff --git a/libdri2/.footprint b/libdri2/.footprint
new file mode 100644 (file)
index 0000000..686e7d5
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
diff --git a/libdri2/Pkgfile b/libdri2/Pkgfile
new file mode 100644 (file)
index 0000000..3c652c7
--- /dev/null
@@ -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
+}