wok annotate xorg-server/receipt @ rev 25416
updated wxWidgets and wxWidgets-dev (3.1.3 -> 3.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 09:20:59 2022 +0100 (2022-08-04) |
parents | 814c58f64f83 |
children |
rev | line source |
---|---|
pankso@89 | 1 # SliTaz package receipt. |
pankso@89 | 2 |
pankso@89 | 3 PACKAGE="xorg-server" |
pascal@20381 | 4 VERSION="1.12.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" |
pankso@89 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20423 | 11 WEB_SITE="https://www.x.org/" |
pankso@89 | 12 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL" |
pankso@89 | 13 |
pankso@10808 | 14 # Mesa build dep make also Xorg depends on libdrm. |
pankso@10808 | 15 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \ |
pankso@12161 | 16 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev libdrm \ |
pankso@12161 | 17 xorg-xf86-input-evdev" |
pankso@10808 | 18 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \ |
pankso@10808 | 19 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev pkg-config perl \ |
pankso@10808 | 20 flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \ |
pankso@12522 | 21 xorg-dri2proto xorg-libXau-dev xorg-dev-proto libdrm-dev xorg-glproto \ |
pankso@12522 | 22 xorg-libXv-dev" |
pankso@10808 | 23 |
pascal@24072 | 24 current_version() |
pascal@24072 | 25 { |
pascal@24072 | 26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 27 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 28 } |
pascal@24072 | 29 |
pankso@89 | 30 # Rules to configure and make the package. |
pankso@89 | 31 compile_rules() |
pankso@89 | 32 { |
pankso@89 | 33 cd $src |
pascal@13796 | 34 |
pankso@12522 | 35 # Xephyr make possible to use Xorg in a chroot. |
pankso@89 | 36 ./configure \ |
pankso@89 | 37 --prefix=/usr \ |
pankso@89 | 38 --sysconfdir=/etc \ |
pankso@92 | 39 --mandir=/usr/share/man \ |
pankso@92 | 40 --localstatedir=/var \ |
pankso@92 | 41 --with-module-dir=/usr/lib/X11/modules \ |
pankso@92 | 42 --with-xkb-output=/var/lib/xkb \ |
pankso@92 | 43 --with-serverconfig-path=/etc/X11 \ |
pankso@92 | 44 --enable-install-setuid \ |
pankso@3014 | 45 --enable-xorg \ |
pankso@10808 | 46 --enable-kdrive \ |
pankso@10808 | 47 --enable-kdrive-kbd \ |
pankso@10808 | 48 --enable-kdrive-mouse \ |
pankso@10808 | 49 --enable-kdrive-evdev \ |
pankso@10808 | 50 --enable-xfbdev \ |
pankso@12522 | 51 --enable-xephyr \ |
gokhlayeh@6993 | 52 --enable-config-udev \ |
gokhlayeh@6993 | 53 --disable-config-dbus \ |
pankso@12692 | 54 --disable-docs \ |
pankso@12692 | 55 --disable-devel-docs \ |
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/" \ |
pankso@92 | 59 --with-builder-addr=$MAINTAINER \ |
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 { |
gokhlayeh@6961 | 67 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d |
pankso@12522 | 68 cp -a $install/usr/lib/X11 $fs/usr/lib |
pankso@12522 | 69 cp -a $install/usr/bin $fs/usr |
pankso@12522 | 70 cp -a $install/var/lib $fs/var |
pankso@12522 | 71 cp -a $install/etc $fs |
pankso@3014 | 72 # Remove static libs and split Xnest |
pankso@89 | 73 rm $fs/usr/lib/X11/*/*.*a |
pankso@89 | 74 rm $fs/usr/lib/X11/*/*/*.*a |
pankso@3014 | 75 rm $fs/usr/bin/Xnest |
pankso@3014 | 76 rm $fs/usr/bin/Xvfb |
pankso@15751 | 77 # Kdrive/tinyX --> xorg-server-Xephyr xorg-server-Xfbdev |
pankso@15751 | 78 rm $fs/usr/bin/Xephyr |
pankso@15751 | 79 rm $fs/usr/bin/Xfbdev |
pankso@89 | 80 } |
pankso@451 | 81 |
pankso@451 | 82 # We need /var/tmp rw to let xkbcomp builr XKB definition. |
pankso@451 | 83 post_install() |
pankso@451 | 84 { |
pascal@18730 | 85 chmod 1777 "$1/var/tmp" |
pankso@451 | 86 } |
psychomaniak@19154 | 87 |