wok-current annotate xorg-xf86-video-fbdev/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | 814c58f64f83 |
children | 3ad63c8fc2f9 |
rev | line source |
---|---|
pankso@11888 | 1 # SliTaz package receipt. |
pankso@11888 | 2 |
pankso@11888 | 3 PACKAGE="xorg-xf86-video-fbdev" |
pascal@20380 | 4 VERSION="0.5.0" |
pankso@11888 | 5 CATEGORY="x-window" |
pankso@11888 | 6 SHORT_DESC="Xorg video driver for framebuffer device." |
pankso@11888 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pankso@11888 | 9 SOURCE="xf86-video-fbdev" |
pankso@11888 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20423 | 11 WEB_SITE="https://www.x.org/" |
pankso@11888 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
pankso@16067 | 13 HOST_ARCH="i486 arm" |
pankso@11888 | 14 |
pankso@16067 | 15 # We can use xorg-server-light with evdev and fbdev driver. |
pankso@11888 | 16 #DEPENDS="xorg-server" |
pankso@11888 | 17 BUILD_DEPENDS="xorg-server-dev" |
pankso@11888 | 18 |
pankso@16067 | 19 # ARM use build system xorg-server-dev or manually install it in sysroot |
pankso@16067 | 20 case "$ARCH" in |
pankso@16067 | 21 arm) BUILD_DEPENDS="" ;; |
pankso@16067 | 22 esac |
pankso@16067 | 23 |
pascal@24072 | 24 current_version() |
pascal@24072 | 25 { |
pascal@24072 | 26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 27 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 28 } |
pascal@24072 | 29 |
pankso@11888 | 30 # Rules to configure and make the package. |
pankso@11888 | 31 compile_rules() |
pankso@11888 | 32 { |
pascal@20382 | 33 # xorg-server 1.12.4 support hack... |
pascal@20382 | 34 sed -i -e 's/\(fbdevHWSwitchMode.*\));/\1, 0);/' \ |
pascal@20382 | 35 -e 's/\(fbdevHWAdjustFrame.*\)y);/\1y, 0);/' \ |
pascal@20382 | 36 -e 's/\(fbdevHWEnterVT.*\));/\1, 0);/' \ |
pascal@20382 | 37 -e 's/\(fbdevHWLeaveVT.*\));/\1, 0);/' \ |
pascal@20382 | 38 src/fbdev.c |
pascal@20382 | 39 |
pankso@11888 | 40 ./configure \ |
pankso@11888 | 41 --prefix=/usr \ |
pankso@11888 | 42 --sysconfdir=/etc \ |
pankso@11888 | 43 --localstatedir=/var \ |
pankso@11888 | 44 --with-xorg-module-dir=/usr/lib/X11/modules \ |
pankso@11888 | 45 $CONFIGURE_ARGS && |
pankso@11888 | 46 make && make install |
pankso@11888 | 47 } |
pankso@11888 | 48 |
pankso@11888 | 49 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11888 | 50 genpkg_rules() |
pankso@11888 | 51 { |
pankso@11888 | 52 mkdir -p $fs/usr/lib/X11/modules/drivers/ |
pascal@20380 | 53 cp -a $install/usr/lib/X11/modules/drivers/*.so \ |
pascal@20380 | 54 $fs/usr/lib/X11/modules/drivers/ |
pankso@11888 | 55 } |