From 38c2acc4663379e3c5cae871158d1aa829f8690c Mon Sep 17 00:00:00 2001 From: David P Date: Fri, 1 Feb 2019 23:46:06 -0300 Subject: addpkg: nonsystemd-multilib/lib32-v4l-utils 1.16.3-1.nonsystemd1 Signed-off-by: David P --- nonsystemd-multilib/lib32-v4l-utils/PKGBUILD | 38 ++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 nonsystemd-multilib/lib32-v4l-utils/PKGBUILD (limited to 'nonsystemd-multilib') diff --git a/nonsystemd-multilib/lib32-v4l-utils/PKGBUILD b/nonsystemd-multilib/lib32-v4l-utils/PKGBUILD new file mode 100644 index 000000000..c5fe0e1d4 --- /dev/null +++ b/nonsystemd-multilib/lib32-v4l-utils/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: David P. +# Maintainer (Arch): Jan "heftig" Steffens + +_pkgbasename=v4l-utils +pkgname=lib32-$_pkgbasename +pkgver=1.16.3 +pkgrel=1 +pkgrel+=.nonsystemd1 +pkgdesc="Userspace tools and conversion library for Video 4 Linux (32-bit)" +arch=('x86_64') +url="https://linuxtv.org/" +provides=("lib32-libv4l=$pkgver") +replaces=('lib32-libv4l') +conflicts=('lib32-libv4l') +license=('LGPL') +depends=($_pkgbasename 'lib32-gcc-libs' 'lib32-libjpeg-turbo' 'lib32-eudev') +source=(https://linuxtv.org/downloads/v4l-utils/${_pkgbasename}-${pkgver}.tar.bz2 + https://linuxtv.org/downloads/v4l-utils/${_pkgbasename}-${pkgver}.tar.bz2.asc) +validpgpkeys=('05D0169C26E41593418129DF199A64FADFB500FF') # Gregor Jasny +sha512sums=('404672d18d94861c6957ea3a15a6a48f238d3859940810952a5a8cc33b57f1a360d1a19af28405c01b073c0ece90c5995a71dbe6544b30bdb8eace7daeb4bc0b' + 'SKIP') + +build() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + ./configure --prefix=/usr --libdir=/usr/lib32 --sysconfdir=/etc + make -C lib +} + +package() { + cd "${srcdir}/${_pkgbasename}-${pkgver}" + MAKEFLAGS="-j1" make -C lib install DESTDIR="${pkgdir}/" + rm -rf "${pkgdir}"/{usr/{include,share,bin,sbin},etc,lib} +} -- cgit v1.2.3