diff --git a/srcpkgs/xarcan/template b/srcpkgs/xarcan/template new file mode 100644 index 00000000000..3bbde9d7d3c --- /dev/null +++ b/srcpkgs/xarcan/template @@ -0,0 +1,34 @@ +pkgname=xarcan +version=0.5.4 +revision=1 +build_style=gnu-configure +short_desc="Patched Xserver that bridges connections to Arcan" +maintainer="Piraty " +license="MIT" +homepage="https://github.com/letoram/xarcan" +distfiles="https://github.com/letoram/xarcan/archive/${version}.tar.gz" +checksum=ea37709c56b4c649ea2263531a02d511ff44dcd842833be5f8db41641045d5a1 + +configure_args="--enable-kdrive --enable-xarcan --disable-xorg + --disable-xwayland --disable-xnest --disable-xvfb --enable-glamor --enable-glx + --disable-int10-module --with-xkb-path=/usr/share/X11/xkb + --with-xkb-output=/var/lib/xkb --enable-ipv6 --enable-record + --with-fontrootdir=/usr/share/fonts/X11 --with-shared-memory-dir=/dev/shm + --without-systemd-daemon --without-systemd-daemon --enable-xcsecurity --disable-static" + +hostmakedepends="pkg-config autoconf automake libtool xorg-util-macros font-util xtrans" +makedepends=" + pixman-devel libdrm-devel libX11-devel glproto MesaLib-devel libressl-devel + randrproto videoproto compositeproto scrnsaverproto xf86driproto renderproto + xineramaproto resourceproto libXfont2-devel libxkbfile-devel + recordproto libepoxy-devel arcan-devel" + +pre_configure() { + NOCONFIGURE=1 ./autogen.sh +} + +post_install() { + vlicense COPYING + rm -rf ${DESTDIR}/var + rm -rf ${DESTDIR}/usr/{lib,share} +}