New package: platform-1.0.10
This commit is contained in:
parent
c41440e414
commit
d48b47a9ea
|
@ -2095,3 +2095,4 @@ libtbbmalloc_debug.so.2 tbb-4.3_1
|
|||
libembree.so.2 embree-2.5.1_1
|
||||
libgtkimageview.so.0 gtkimageview-1.6.4_1
|
||||
libgoocanvas.so.3 goocanvas1-1.0.0_1
|
||||
libplatform.so.1.0 platform-1.0.10_1
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
platform
|
|
@ -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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue