wok-next annotate xorg-server/receipt @ rev 19657
Up: xorg-server, xorg-xf86-input-evdev, xorg-xf86-input-synaptics; add: xorg-xf86-input-wacom; remove: xorg-xf86-input-vmmouse.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 04 15:03:03 2017 +0200 (2017-03-04) |
parents | 68c89b4dcbd6 |
children | f463de72afe3 |
rev | line source |
---|---|
pankso@89 | 1 # SliTaz package receipt. |
pankso@89 | 2 |
pankso@89 | 3 PACKAGE="xorg-server" |
al@19653 | 4 VERSION="1.18.4" |
pankso@89 | 5 CATEGORY="x-window" |
pankso@261 | 6 SHORT_DESC="Xorg core server." |
pankso@89 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15023 | 8 LICENSE="MIT" |
gokhlayeh@6848 | 9 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa" |
al@19653 | 10 WEB_SITE="https://www.x.org/wiki/" |
al@19653 | 11 |
pankso@89 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19653 | 13 WGET_URL="$XORG_MIRROR/xserver/$TARBALL" |
pankso@89 | 14 |
al@19657 | 15 DEPENDS="bzlib eudev expat freetype glibc-base libdrm libepoxy libgcrypt \ |
al@19657 | 16 libgpg-error libpng libxcb mesa pixman xorg-libfontenc xorg-libpciaccess \ |
al@19657 | 17 xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext \ |
al@19657 | 18 xorg-libXfixes xorg-libXfont xorg-libxshmfence xorg-libXxf86vm zlib" |
al@19653 | 19 BUILD_DEPENDS="patch xorg-util-macros xorg-font-util-dev pixman-dev eudev-dev \ |
al@19653 | 20 dbus-dev xorg-dri2proto xorg-dri3proto xorg-libxshmfence-dev libdrm-dev \ |
al@19653 | 21 xorg-libX11-dev xorg-glproto mesa-dev libgcrypt-dev xorg-xcmiscproto \ |
al@19653 | 22 xorg-bigreqsproto xorg-randrproto xorg-renderproto xorg-fontsproto \ |
al@19653 | 23 xorg-videoproto xorg-compositeproto xorg-recordproto xorg-scrnsaverproto \ |
al@19653 | 24 xorg-resourceproto xorg-xf86driproto xorg-presentproto xorg-xineramaproto \ |
al@19653 | 25 xorg-libxkbfile-dev xorg-libXfont-dev xorg-libpciaccess-dev \ |
al@19653 | 26 xorg-libXxf86dga-dev libepoxy-dev xorg-libdmx-dev xorg-libXmu-dev \ |
al@19653 | 27 xorg-libXrender-dev xorg-libXi-dev tslib-dev xcb-util-renderutil-dev \ |
al@19653 | 28 xcb-util-dev xcb-util-image-dev xcb-util-wm-dev xcb-util-keysyms-dev \ |
al@19653 | 29 xorg-libXaw-dev xorg-libXpm-dev expat-dev" |
al@19653 | 30 SPLIT="xorg-server-Xephyr xorg-server-Xfbdev xorg-server-Xnest \ |
al@19653 | 31 xorg-server-Xvfb xorg-server-modules-gl" |
pankso@10808 | 32 |
pankso@89 | 33 # Rules to configure and make the package. |
pankso@89 | 34 compile_rules() |
pankso@89 | 35 { |
al@19653 | 36 patch -Np1 -i $stuff/xorg-server-1.18.4-add_prime_support-1.patch |
pascal@13796 | 37 |
pankso@89 | 38 ./configure \ |
pankso@89 | 39 --sysconfdir=/etc \ |
pankso@92 | 40 --localstatedir=/var \ |
al@19653 | 41 --disable-static \ |
al@19653 | 42 --enable-glamor \ |
al@19653 | 43 --enable-install-setuid \ |
al@19653 | 44 --enable-suid-wrapper \ |
al@19653 | 45 --disable-systemd-logind \ |
al@19653 | 46 --disable-xwayland \ |
al@19653 | 47 --disable-docs --disable-devel-docs \ |
pankso@92 | 48 --with-xkb-output=/var/lib/xkb \ |
pankso@10808 | 49 --enable-kdrive \ |
pankso@10808 | 50 --enable-kdrive-kbd \ |
pankso@10808 | 51 --enable-kdrive-mouse \ |
pankso@10808 | 52 --enable-kdrive-evdev \ |
pankso@10808 | 53 --enable-xfbdev \ |
pankso@12522 | 54 --enable-xephyr \ |
gokhlayeh@6993 | 55 --enable-config-udev \ |
pankso@12692 | 56 --with-fontrootdir=/usr/share/fonts/X11 \ |
pankso@92 | 57 --with-os-name="SliTaz GNU/Linux" \ |
pankso@12692 | 58 --with-vendor-web="http://www.slitaz.org/" \ |
al@19657 | 59 --with-builder-addr="devel@slitaz.org" \ |
pascal@1480 | 60 $CONFIGURE_ARGS && |
pankso@10808 | 61 make && make DESTDIR=$DESTDIR install |
pankso@89 | 62 } |
pankso@89 | 63 |
pankso@89 | 64 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@89 | 65 genpkg_rules() |
pankso@89 | 66 { |
al@19653 | 67 cook_copy_folders etc var bin libexec xorg.conf.d |
al@19653 | 68 cook_copy_files *.so |
al@19653 | 69 # split |
al@19657 | 70 for i in Xephyr Xfbdev Xnest Xvfb libglamoregl.so libglx.so; do |
al@19657 | 71 find $fs -name $i -delete |
al@19657 | 72 done |
pankso@89 | 73 } |
pankso@451 | 74 |
pankso@451 | 75 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@451 | 76 post_install() |
pankso@451 | 77 { |
pascal@18730 | 78 chmod 1777 "$1/var/tmp" |
pankso@451 | 79 } |