diff --git a/common/shlibs b/common/shlibs index 9521b113a7..9084696e10 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template index b71ac562ee..428fece5cf 100644 --- a/srcpkgs/ffmpeg/template +++ b/srcpkgs/ffmpeg/template @@ -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 diff --git a/srcpkgs/libvidstab-devel b/srcpkgs/libvidstab-devel new file mode 120000 index 0000000000..ac0b88599d --- /dev/null +++ b/srcpkgs/libvidstab-devel @@ -0,0 +1 @@ +libvidstab \ No newline at end of file diff --git a/srcpkgs/libvidstab/template b/srcpkgs/libvidstab/template new file mode 100644 index 0000000000..4f160ae29c --- /dev/null +++ b/srcpkgs/libvidstab/template @@ -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" + } +}