obs: add -devel subpackage

This commit is contained in:
Toyam Cox 2016-04-26 14:22:42 -04:00
parent c74c739f94
commit dedff32851
3 changed files with 16 additions and 2 deletions

View file

@ -2430,3 +2430,6 @@ libkdevplatformoutputview.so.8 kdevplatform-1.7.3_1
libkdevplatformvcs.so.8 kdevplatform-1.7.3_1
libkdevplatforminterfaces.so.8 kdevplatform-1.7.3_1
libts-1.0.so.0 tslib-1.1_1
libobs.so.0 obs-0.14.1_2
libobsglad.so.0 obs-0.14.1_2
libobs-opengl.so.0 obs-0.14.1_2

1
srcpkgs/obs-devel Symbolic link
View file

@ -0,0 +1 @@
obs

View file

@ -1,11 +1,11 @@
# Template file for 'obs'
pkgname=obs
version=0.14.1
revision=1
revision=2
wrksrc=obs-studio-${version}
only_for_archs="i686 x86_64 i686-musl x86_64-musl"
build_style=cmake
hostmakedepends="cmake pkg-config"
hostmakedepends="pkg-config"
makedepends="libX11-devel glu-devel ffmpeg-devel qt5-devel qt5-x11extras-devel
libXcomposite-devel pulseaudio-devel v4l-utils-devel jack-devel x264-devel libcurl-devel
alsa-lib-devel"
@ -15,3 +15,13 @@ license="GPL-2"
homepage="https://obsproject.com"
distfiles="https://github.com/jp9000/obs-studio/archive/${version}.tar.gz"
checksum=afd03afa92e70c5ae6ff527f88f4bf5f48db30565e8a26757dd1712dec8b07f0
obs-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/cmake
}
}