mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-24 01:42:15 +08:00
Update lib32-v4l-utils to 1.6.0 with new sound group.
This commit is contained in:
parent
1fcbbaa249
commit
feb474b3af
@ -5,8 +5,8 @@
|
||||
|
||||
_pkgbasename=v4l-utils
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=0.8.8
|
||||
pkgrel=2
|
||||
pkgver=1.6.0
|
||||
pkgrel=1
|
||||
pkgdesc="Userspace tools and conversion library for Video 4 Linux (32-bit)"
|
||||
arch=('x86_64')
|
||||
url="http://freshmeat.net/projects/libv4l"
|
||||
@ -17,22 +17,21 @@ license=('LGPL')
|
||||
makedepends=('gcc-multilib')
|
||||
depends=('lib32-gcc-libs' $_pkgbasename=$pkgver 'lib32-libjpeg-turbo')
|
||||
source=(http://linuxtv.org/downloads/v4l-utils/${_pkgbasename}-${pkgver}.tar.bz2)
|
||||
sha256sums=('5fa4c6f4b6f5410de57271a03cc9a15f15195ef3fc05a8e42ecf507d6d70a87f')
|
||||
sha256sums=('6054d3120c67a1524993e699b3b02036c817bb000b742c332682163966dc7605')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_pkgbasename}-${pkgver}"
|
||||
|
||||
sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
|
||||
|
||||
export CC="gcc -m32"
|
||||
export CXX="g++ -m32"
|
||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||
|
||||
make PREFIX=/usr LIBDIR=/usr/lib32
|
||||
./configure --prefix=/usr --libdir=/usr/lib32 --sysconfdir=/etc
|
||||
make -C lib
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${_pkgbasename}-${pkgver}"
|
||||
make install PREFIX=/usr LIBDIR=/usr/lib32 DESTDIR="${pkgdir}/"
|
||||
MAKEFLAGS="-j1" make -C lib install DESTDIR="${pkgdir}/"
|
||||
rm -rf "${pkgdir}"/{etc,lib,usr/{include,share,bin,sbin}}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user