wok annotate xorg-server/receipt @ rev 23086

updated libmediainfo and libmediainfo-dev (0.7.79 -> 19.09)
author Hans-G?nter Theisgen
date Wed Mar 11 09:02:21 2020 +0100 (2020-03-11)
parents 29f2e486ba73
children 5d79829fa876
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
pankso@89 24 # Rules to configure and make the package.
pankso@89 25 compile_rules()
pankso@89 26 {
pankso@89 27 cd $src
pascal@13796 28
pankso@12522 29 # Xephyr make possible to use Xorg in a chroot.
pankso@89 30 ./configure \
pankso@89 31 --prefix=/usr \
pankso@89 32 --sysconfdir=/etc \
pankso@92 33 --mandir=/usr/share/man \
pankso@92 34 --localstatedir=/var \
pankso@92 35 --with-module-dir=/usr/lib/X11/modules \
pankso@92 36 --with-xkb-output=/var/lib/xkb \
pankso@92 37 --with-serverconfig-path=/etc/X11 \
pankso@92 38 --enable-install-setuid \
pankso@3014 39 --enable-xorg \
pankso@10808 40 --enable-kdrive \
pankso@10808 41 --enable-kdrive-kbd \
pankso@10808 42 --enable-kdrive-mouse \
pankso@10808 43 --enable-kdrive-evdev \
pankso@10808 44 --enable-xfbdev \
pankso@12522 45 --enable-xephyr \
gokhlayeh@6993 46 --enable-config-udev \
gokhlayeh@6993 47 --disable-config-dbus \
pankso@12692 48 --disable-docs \
pankso@12692 49 --disable-devel-docs \
pankso@12692 50 --with-fontrootdir=/usr/share/fonts/X11 \
pankso@92 51 --with-os-name="SliTaz GNU/Linux" \
pankso@12692 52 --with-vendor-web="http://www.slitaz.org/" \
pankso@92 53 --with-builder-addr=$MAINTAINER \
pascal@1480 54 $CONFIGURE_ARGS &&
pankso@10808 55 make && make DESTDIR=$DESTDIR install
pankso@89 56 }
pankso@89 57
pankso@89 58 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@89 59 genpkg_rules()
pankso@89 60 {
gokhlayeh@6961 61 mkdir -p $fs/usr/lib $fs/var $fs/etc/X11/xorg.conf.d
pankso@12522 62 cp -a $install/usr/lib/X11 $fs/usr/lib
pankso@12522 63 cp -a $install/usr/bin $fs/usr
pankso@12522 64 cp -a $install/var/lib $fs/var
pankso@12522 65 cp -a $install/etc $fs
pankso@3014 66 # Remove static libs and split Xnest
pankso@89 67 rm $fs/usr/lib/X11/*/*.*a
pankso@89 68 rm $fs/usr/lib/X11/*/*/*.*a
pankso@3014 69 rm $fs/usr/bin/Xnest
pankso@3014 70 rm $fs/usr/bin/Xvfb
pankso@15751 71 # Kdrive/tinyX --> xorg-server-Xephyr xorg-server-Xfbdev
pankso@15751 72 rm $fs/usr/bin/Xephyr
pankso@15751 73 rm $fs/usr/bin/Xfbdev
pankso@89 74 }
pankso@451 75
pankso@451 76 # We need /var/tmp rw to let xkbcomp builr XKB definition.
pankso@451 77 post_install()
pankso@451 78 {
pascal@18730 79 chmod 1777 "$1/var/tmp"
pankso@451 80 }
psychomaniak@19154 81