Merge pull request #3880 from lemmi/libvidstab
New package: libvidstab-0.98b
This commit is contained in:
commit
8652644907
|
@ -2411,3 +2411,4 @@ libdcadec.so.0 dcadec-0.2.0_1
|
|||
libcmark.so.0 cmark-0.24.1_1
|
||||
libspotify.so.12 libspotify-12.1.51_1
|
||||
libwiredtiger-2.8.0.so wiredtiger-devel-2.8.0_1
|
||||
libvidstab.so.0.9 libvidstab-0.98b_1
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ffmpeg'
|
||||
pkgname=ffmpeg
|
||||
version=2.8.6
|
||||
revision=1
|
||||
revision=2
|
||||
short_desc="Decoding, encoding and streaming software"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL-3"
|
||||
|
@ -16,7 +16,8 @@ makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-deve
|
|||
libcdio-paranoia-devel libvpx-devel librtmp-devel freetype-devel libmodplug-devel
|
||||
speex-devel celt-devel harfbuzz-devel libass-devel opus-devel pulseaudio-devel
|
||||
ocl-icd-devel $(vopt_if x265 x265-devel) $(vopt_if vaapi libva-devel)
|
||||
$(vopt_if vdpau libvdpau-devel) $(vopt_if v4l2 v4l-utils-devel) libbs2b-devel"
|
||||
$(vopt_if vdpau libvdpau-devel) $(vopt_if v4l2 v4l-utils-devel) libbs2b-devel
|
||||
libvidstab-devel"
|
||||
|
||||
build_options="x265 v4l2 vaapi vdpau"
|
||||
build_options_default="v4l2"
|
||||
|
@ -52,7 +53,7 @@ do_configure() {
|
|||
$(vopt_if x265 '--enable-libx265' '--disable-libx265') \
|
||||
$(vopt_if v4l2 '--enable-libv4l2' '--disable-libv4l2') \
|
||||
$(vopt_enable vaapi) $(vopt_enable vdpau) \
|
||||
--enable-libbs2b --enable-avresample
|
||||
--enable-libbs2b --enable-avresample --enable-libvidstab
|
||||
}
|
||||
do_build() {
|
||||
rm ${XBPS_WRAPPERDIR}/strip
|
||||
|
|
1
srcpkgs/libvidstab-devel
Symbolic link
1
srcpkgs/libvidstab-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
libvidstab
|
32
srcpkgs/libvidstab/template
Normal file
32
srcpkgs/libvidstab/template
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Template file for 'libvidstab'
|
||||
pkgname=libvidstab
|
||||
version=0.98b
|
||||
revision=1
|
||||
wrksrc=vid.stab-release-${version}
|
||||
build_style=cmake
|
||||
short_desc="Video stabilization library"
|
||||
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||||
makedepends="orc-devel"
|
||||
license="GPL-2"
|
||||
homepage="http://public.hronopik.de/vid.stab/"
|
||||
distfiles="https://github.com/georgmartius/vid.stab/archive/release-${version}.tar.gz"
|
||||
checksum=530f0bf7479ec89d9326af3a286a15d7d6a90fcafbb641e3b8bdb8d05637d025
|
||||
|
||||
pre_configure() {
|
||||
sed -i -e 's/include (FindSSE)//' CMakeLists.txt
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*|x86_64*)
|
||||
configure_args+=" -DSSE2_FOUND=1"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
libvidstab-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user