New package: platform-1.0.10

This commit is contained in:
Enno Boland 2015-07-22 11:08:13 +02:00
parent c41440e414
commit d48b47a9ea
3 changed files with 35 additions and 0 deletions

View file

@ -2095,3 +2095,4 @@ libtbbmalloc_debug.so.2 tbb-4.3_1
libembree.so.2 embree-2.5.1_1 libembree.so.2 embree-2.5.1_1
libgtkimageview.so.0 gtkimageview-1.6.4_1 libgtkimageview.so.0 gtkimageview-1.6.4_1
libgoocanvas.so.3 goocanvas1-1.0.0_1 libgoocanvas.so.3 goocanvas1-1.0.0_1
libplatform.so.1.0 platform-1.0.10_1

1
srcpkgs/platform-devel Symbolic link
View file

@ -0,0 +1 @@
platform

33
srcpkgs/platform/template Normal file
View file

@ -0,0 +1,33 @@
# Template file for 'platform'
pkgname=platform
version=1.0.10
revision=1
build_style=cmake
hostmakedepends="cmake"
short_desc="Platform support library used by libCEC and binary add-ons for Kodi"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2"
homepage="https://github.com/Pulse-Eight/platform"
distfiles="https://github.com/Pulse-Eight/platform/archive/$version.tar.gz"
checksum=6ba3239cb1c0a5341efcf9488f4d3dfad8c26d6b2994b2b2247e5a61568ab5cd
configure_args+=" -DBUILD_SHARED_LIBS=1"
post_install() {
vmkdir usr/lib
if [ -d $DESTDIR/usr/lib64 ]; then
mv $DESTDIR/usr/lib64/* $DESTDIR/usr/lib
fi
sed -i "s#$wrksrc/build/##" $DESTDIR/usr/lib/platform/platform-config.cmake $DESTDIR/usr/lib/pkgconfig/platform.pc
mv $DESTDIR/$wrksrc/build/lib*/* $DESTDIR/usr/lib
}
platform-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/platform
vmove "usr/lib/*.so"
}
}