diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/v86d |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/v86d')
-rw-r--r-- | extra/v86d/PKGBUILD | 38 | ||||
-rw-r--r-- | extra/v86d/modprobe.uvesafb | 10 | ||||
-rw-r--r-- | extra/v86d/v86d | 12 | ||||
-rw-r--r-- | extra/v86d/v86d_hook | 4 |
4 files changed, 64 insertions, 0 deletions
diff --git a/extra/v86d/PKGBUILD b/extra/v86d/PKGBUILD new file mode 100644 index 000000000..e1c3e78d2 --- /dev/null +++ b/extra/v86d/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 102014 2010-12-03 22:27:43Z pierre $ +# Maintainer: Thomas Baechler <thomas@archlinux.org> + +pkgname="v86d" +pkgver=0.1.9 +pkgrel=11 +pkgdesc="userspace helper for uvesafb that runs x86 code in an emulated environment" +url="http://dev.gentoo.org/~spock/projects/uvesafb/" +license=('GPL2') +arch=("i686" "x86_64") +depends=('glibc') +conflicts=('mkinitcpio<0.5.99') +backup=(etc/modprobe.d/uvesafb.conf) +source=(http://dev.gentoo.org/~spock/projects/uvesafb/archive/v86d-$pkgver.tar.bz2 + v86d + v86d_hook + modprobe.uvesafb) +md5sums=('ebbbc8e7013c9544b6ba6981add43831' + '33f3131e7bf041ed6a67e92bff272f4c' + '813958b8f6c75a7063e4858f31509694' + '2d7cc8dc6a41916a13869212d0191147') +options=(!makeflags) + +build() { + cd $srcdir/v86d-$pkgver + ./configure --with-x86emu + # we only need /usr/include/video/uvesafb.h + make KDIR=/usr +} + +package() { + cd $srcdir/v86d-$pkgver + make DESTDIR=$pkgdir install + + install -D -m644 $srcdir/v86d $pkgdir/lib/initcpio/install/v86d + install -D -m644 $srcdir/v86d_hook $pkgdir/lib/initcpio/hooks/v86d + install -D -m644 $srcdir/modprobe.uvesafb $pkgdir/etc/modprobe.d/uvesafb.conf +} diff --git a/extra/v86d/modprobe.uvesafb b/extra/v86d/modprobe.uvesafb new file mode 100644 index 000000000..5e46e1088 --- /dev/null +++ b/extra/v86d/modprobe.uvesafb @@ -0,0 +1,10 @@ +# +# This file sets the parameters for uvesafb module. +# The following format should be used: +# options uvesafb mode=<xres>x<yres>[-<bpp>][@<refresh>] scroll=<ywrap|ypan|redraw> ... +# +# For more details see: +# http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/fb/uvesafb.txt +# + +options uvesafb mode_option=1024x768-32 scroll=ywrap diff --git a/extra/v86d/v86d b/extra/v86d/v86d new file mode 100644 index 000000000..57383fe78 --- /dev/null +++ b/extra/v86d/v86d @@ -0,0 +1,12 @@ +install() { + add_binary "/sbin/v86d" + add_file "/etc/modprobe.d/uvesafb.conf" + MODULES="uvesafb" + SCRIPT="v86d" +} + +help() { + echo "This hook sets up v86d, the userspace helper for uvesafb." +} + +# vim: set ft=sh ts=4 sw=4 expandtab: diff --git a/extra/v86d/v86d_hook b/extra/v86d/v86d_hook new file mode 100644 index 000000000..e5dff01c1 --- /dev/null +++ b/extra/v86d/v86d_hook @@ -0,0 +1,4 @@ +run_hook() +{ + /sbin/modprobe uvesafb +}
\ No newline at end of file |