[arch-commits] Commit in vbetool/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 20:51:12 UTC 2018
Date: Friday, November 9, 2018 @ 20:51:11
Author: felixonmars
Revision: 404442
archrelease: copy trunk to community-staging-x86_64
Added:
vbetool/repos/community-staging-x86_64/
vbetool/repos/community-staging-x86_64/PKGBUILD
(from rev 404440, vbetool/trunk/PKGBUILD)
vbetool/repos/community-staging-x86_64/no_x86_check.patch
(from rev 404440, vbetool/trunk/no_x86_check.patch)
--------------------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
no_x86_check.patch | 24 ++++++++++++++++++++++++
2 files changed, 55 insertions(+)
Copied: vbetool/repos/community-staging-x86_64/PKGBUILD (from rev 404440, vbetool/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-09 20:51:11 UTC (rev 404442)
@@ -0,0 +1,31 @@
+# Maintainer: Connor Behan <connor.behan at gmail.com>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Christian Storm <Christian.Storm at gmx.DE>
+# Contributor: James Rayner <james at archlinux.org>
+# Contributor: Thayer Williams <thayer at archlinux.org>
+
+pkgname=vbetool
+pkgver=1.2.2
+pkgrel=3
+pkgdesc="Uses lrmi in order to run code from the video BIOS"
+url="http://www.codon.org.uk/~mjg59/vbetool/"
+license=('GPL2')
+arch=('x86_64')
+depends=('zlib' 'libx86' 'libpciaccess')
+makedepends=('pciutils')
+source=("https://cgit.freedesktop.org/~airlied/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz"
+ 'no_x86_check.patch')
+md5sums=('SKIP'
+ 'f4abc1181c0cda966626cbe5872d678f')
+
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ patch -Np1 -i ../no_x86_check.patch
+ ./autogen.sh --prefix=/usr --sbindir=/usr/bin
+ make LIBS=-lpci
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+}
Copied: vbetool/repos/community-staging-x86_64/no_x86_check.patch (from rev 404440, vbetool/trunk/no_x86_check.patch)
===================================================================
--- community-staging-x86_64/no_x86_check.patch (rev 0)
+++ community-staging-x86_64/no_x86_check.patch 2018-11-09 20:51:11 UTC (rev 404442)
@@ -0,0 +1,24 @@
+diff -u vbetool-vbetool-1.2.2.orig/configure.ac vbetool-vbetool-1.2.2/configure.ac
+--- vbetool-vbetool-1.2.2.orig/configure.ac 2014-07-04 18:05:58.478398712 -0700
++++ vbetool-vbetool-1.2.2/configure.ac 2014-07-04 18:07:06.496117460 -0700
+@@ -35,9 +35,6 @@
+
+ PKG_CHECK_MODULES(LIBPCIACCESS, pciaccess)
+
+-# Checks for pkg-config packages
+-PKG_CHECK_MODULES(LIBX86, x86)
+-
+ SAVE_CFLAGS=$CFLAGS
+ CFLAGS=$LIBPCIACCESS_CFLAGS
+ LIBS=$LIBPCIACCESS_LIBS
+@@ -45,8 +42,8 @@
+ LIBS=$SAVE_LIBS
+ CFLAGS=$SAVE_CFLAGS
+
+-VBETOOL_LIBS="$LIBPCIACCESS_LIBS $LIBX86_LIBS"
+-VBETOOL_CFLAGS="$LIBPCIACCESS_CFLAGS $LIBX86_CFLAGS"
++VBETOOL_LIBS="$LIBPCIACCESS_LIBS -lx86"
++VBETOOL_CFLAGS="$LIBPCIACCESS_CFLAGS"
+ AC_SUBST(VBETOOL_CFLAGS)
+ AC_SUBST(VBETOOL_LIBS)
+
More information about the arch-commits
mailing list