libcec: update to 4.0.2.

This commit is contained in:
Enno Boland 2017-05-21 18:37:14 +02:00
parent 9368d16f2e
commit 1edf7c37e6
2 changed files with 4 additions and 4 deletions

View File

@ -1167,7 +1167,7 @@ libmmal_core.so rpi-userland-0.0.0.0.20150907_1
libmmal_util.so rpi-userland-0.0.0.0.20150907_1
libOpenVG.so rpi-userland-0.0.0.0.20150907_1
liblockdev.so.1 lockdev-1.0.3_1
libcec.so.3 libcec-3.1.0_1
libcec.so.4 libcec-4.0.2_1
librump.so.0 netbsd-rumpkernel-20130321_1
librumpvfs.so.0 netbsd-rumpkernel-20130321_1
librumpdev_disk.so.0 netbsd-rumpkernel-20130321_1

View File

@ -1,6 +1,6 @@
# Template file for 'libcec'
pkgname=libcec
version=3.1.0
version=4.0.2
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=cmake
@ -12,7 +12,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/Pulse-Eight/libcec"
license="GPL-2"
distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz"
checksum=09109d21a1b03f42c9e341d12600f2e4c41038d640269fa75408e2d36126f921
checksum=b8b8dd31f3ebdd5472f03ab7d401600ea0d959b1288b9ca24bf457ef60e2ba27
build_options="rpi"
case "$XBPS_TARGET_MACHINE" in
@ -30,8 +30,8 @@ post_install() {
if [ -d $DESTDIR/usr/lib64 ]; then
mv $DESTDIR/usr/lib64/* $DESTDIR/usr/lib
fi
sed -i "s#$wrksrc/build/##" $DESTDIR/usr/lib/pkgconfig/libcec.pc
mv $DESTDIR/$wrksrc/build/lib*/* $DESTDIR/usr/lib
sed -i "s#$wrksrc/build/##" $DESTDIR/usr/lib/pkgconfig/libcec.pc
}
cec-client_package() {