wok view xorg-server/receipt @ rev 24669

updated inxi (3.0.37 -> 3.3.13)
author Hans-G?nter Theisgen
date Fri Mar 11 16:49:52 2022 +0100 (2022-03-11)
parents 814c58f64f83
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-server"
4 VERSION="1.12.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg core server."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SUGGESTED="xorg-xf86-input-evdev xorg-xf86-video-vesa"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.x.org/"
12 WGET_URL="http://xorg.freedesktop.org/releases/individual/xserver/$TARBALL"
14 # Mesa build dep make also Xorg depends on libdrm.
15 DEPENDS="xorg-xkeyboard-config xorg-libpciaccess xorg-libXxf86vm \
16 xorg-libXfont xorg-libXau xorg-base-fonts libgcrypt pixman udev libdrm \
17 xorg-xf86-input-evdev"
18 BUILD_DEPENDS="xorg-libxkbfile-dev xorg-libpciaccess-dev xorg-libXxf86vm-dev \
19 xorg-libXfont-dev libgcrypt-dev pixman-dev udev-dev mesa-dev pkg-config perl \
20 flex xorg-xf86driproto xorg-xcmiscproto xorg-bigreqsproto xorg-randrproto \
21 xorg-dri2proto xorg-libXau-dev xorg-dev-proto libdrm-dev xorg-glproto \
22 xorg-libXv-dev"
24 current_version()
25 {
26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
27 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 cd $src
35 # Xephyr make possible to use Xorg in a chroot.
36 ./configure \
37 --prefix=/usr \
38 --sysconfdir=/etc \
39 --mandir=/usr/share/man \
40 --localstatedir=/var \
41 --with-module-dir=/usr/lib/X11/modules \
42 --with-xkb-output=/var/lib/xkb \
43 --with-serverconfig-path=/etc/X11 \
44 --enable-install-setuid \
45 --enable-xorg \
46 --enable-kdrive \
47 --enable-kdrive-kbd \
48 --enable-kdrive-mouse \
49 --enable-kdrive-evdev \
50 --enable-xfbdev \
51 --enable-xephyr \
52 --enable-config-udev \
53 --disable-config-dbus \
54 --disable-docs \
55 --disable-devel-docs \
56 --with-fontrootdir=/usr/share/fonts/X11 \
57 --with-os-name="SliTaz GNU/Linux" \
58 --with-vendor-web="http://www.slitaz.org/" \
59 --with-builder-addr=$MAINTAINER \
60 $CONFIGURE_ARGS &&
61 make && make DESTDIR=$DESTDIR install
62 }
64 # Rules to gen a SliTaz package suitable for Tazpkg.
65 genpkg_rules()
66 {
67 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
68 cp -a $install/usr/lib/X11 $fs/usr/lib
69 cp -a $install/usr/bin $fs/usr
70 cp -a $install/var/lib $fs/var
71 cp -a $install/etc $fs
72 # Remove static libs and split Xnest
73 rm $fs/usr/lib/X11/*/*.*a
74 rm $fs/usr/lib/X11/*/*/*.*a
75 rm $fs/usr/bin/Xnest
76 rm $fs/usr/bin/Xvfb
77 # Kdrive/tinyX --> xorg-server-Xephyr xorg-server-Xfbdev
78 rm $fs/usr/bin/Xephyr
79 rm $fs/usr/bin/Xfbdev
80 }
82 # We need /var/tmp rw to let xkbcomp builr XKB definition.
83 post_install()
84 {
85 chmod 1777 "$1/var/tmp"
86 }