summaryrefslogtreecommitdiffstats
path: root/source/x/x11/make
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/make')
-rw-r--r--source/x/x11/make/xcb-proto17
-rw-r--r--source/x/x11/make/xorgproto13
2 files changed, 30 insertions, 0 deletions
diff --git a/source/x/x11/make/xcb-proto b/source/x/x11/make/xcb-proto
new file mode 100644
index 000000000..a4c380bbc
--- /dev/null
+++ b/source/x/x11/make/xcb-proto
@@ -0,0 +1,17 @@
+cd python2
+ if ! make $NUMJOBS ; then
+ touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed
+ continue
+ fi
+
+ make install DESTDIR=$PKG
+cd -
+
+cd python3
+ if ! make $NUMJOBS ; then
+ touch ${SLACK_X_BUILD_DIR}/${PKGNAME}.failed
+ continue
+ fi
+
+ make install DESTDIR=$PKG
+cd -
diff --git a/source/x/x11/make/xorgproto b/source/x/x11/make/xorgproto
new file mode 100644
index 000000000..47bfc8e6c
--- /dev/null
+++ b/source/x/x11/make/xorgproto
@@ -0,0 +1,13 @@
+export CFLAGS="$SLKCFLAGS"
+export CXXFLAGS="$SLKCFLAGS"
+cd build
+ ninja || exit 1
+ DESTDIR=$PKG ninja install || exit 1
+cd ..
+# meson doesn't seem to care about a docdir:
+mkdir -p $PKG/usr/doc/${PKGNAME}-${MODULAR_PACKAGE_VERSION}
+for docfile in PM_spec compositeproto.txt damageproto.txt dri2proto.txt dri3proto.txt fixesproto.txt presentproto.txt randrproto.txt renderproto.txt resproto.txt xv-protocol-v2.txt ; do
+ cp -a $docfile $PKG/usr/doc/${PKGNAME}-${MODULAR_PACKAGE_VERSION}
+ chown root:root $PKG/usr/doc/${PKGNAME}-${MODULAR_PACKAGE_VERSION}/${docfile}
+ chmod 644 $PKG/usr/doc/${PKGNAME}-${MODULAR_PACKAGE_VERSION}/${docfile}
+done