summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-06 19:48:53 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-06 19:48:53 +0300
commit22a367e95ea7ddac5f91840e429738f0b40b3c5e (patch)
treeec594abc15502f494732e6c49e1a1ed5717f52bb
parent3bf1fe248c844c99a1c3e8f6cb16ac4b7dacadca (diff)
downloadspm-22a367e95ea7ddac5f91840e429738f0b40b3c5e.tar.gz
spm-22a367e95ea7ddac5f91840e429738f0b40b3c5e.tar.bz2
spm-22a367e95ea7ddac5f91840e429738f0b40b3c5e.tar.xz
spm-22a367e95ea7ddac5f91840e429738f0b40b3c5e.zip
Add mesa and drm packages.
-rw-r--r--packages/drm.sh10
-rw-r--r--packages/mesa.sh11
2 files changed, 21 insertions, 0 deletions
diff --git a/packages/drm.sh b/packages/drm.sh
new file mode 100644
index 0000000..dcbf883
--- /dev/null
+++ b/packages/drm.sh
@@ -0,0 +1,10 @@
+SRCURL=git://anongit.freedesktop.org/git/mesa/drm
+
+ENV_PATH="etc:bin:lib:include"
+ENV_LD_LIBRARY_PATH="lib"
+ENV_PKG_CONFIG_PATH="lib/pkgconfig"
+ENV_LDFLAGS_PATH="lib"
+ENV_MANPATH="share/man"
+ENV_CPPFLAGS_PATH="include"
+
+BUILD_TYPE="automake"
diff --git a/packages/mesa.sh b/packages/mesa.sh
new file mode 100644
index 0000000..76bd32c
--- /dev/null
+++ b/packages/mesa.sh
@@ -0,0 +1,11 @@
+SRCURL=git://anongit.freedesktop.org/git/mesa/mesa
+
+ENV_PATH="bin:lib:include"
+ENV_LD_LIBRARY_PATH="lib"
+ENV_PKG_CONFIG_PATH="lib/pkgconfig"
+ENV_LDFLAGS_PATH="lib"
+ENV_MANPATH="share/man"
+ENV_CPPFLAGS_PATH="include"
+
+BUILD_TYPE="automake"
+CONFIGURE_FLAGS='--enable-gles1 --enable-gles2 --enable-gles3 --with-gallium-drivers="" --with-dri-drivers="i915 i965" --with-vulkan-drivers="intel"'