diff --git a/srcpkgs/libvpx-devel b/srcpkgs/libvpx-devel new file mode 120000 index 00000000000..230e0dffa9e --- /dev/null +++ b/srcpkgs/libvpx-devel @@ -0,0 +1 @@ +libvpx \ No newline at end of file diff --git a/srcpkgs/libvpx/depends b/srcpkgs/libvpx/depends new file mode 100644 index 00000000000..b128089b5d9 --- /dev/null +++ b/srcpkgs/libvpx/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.9.6" +api_depends="${abi_depends}" diff --git a/srcpkgs/libvpx/libvpx-devel.template b/srcpkgs/libvpx/libvpx-devel.template new file mode 100644 index 00000000000..6d5c399ee5e --- /dev/null +++ b/srcpkgs/libvpx/libvpx-devel.template @@ -0,0 +1,17 @@ +# Template file for 'libvpx-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run yasm +Add_dependency run glibc-devel +Add_dependency run libvpx + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libvpx/template b/srcpkgs/libvpx/template new file mode 100644 index 00000000000..5367c8db76c --- /dev/null +++ b/srcpkgs/libvpx/template @@ -0,0 +1,23 @@ +# Template file for 'libvpx' +pkgname=libvpx +version=0.9.6 +wrksrc="libvpx-v${version}" +distfiles="http://webm.googlecode.com/files/${pkgname}-v${version}.tar.bz2" +build_style=configure +configure_args="--enable-vp8 --enable-runtime-cpu-detect --enable-shared +--enable-postproc --enable-pic --disable-install-docs --disable-install-srcs" +make_install_target="DIST_DIR=${XBPS_DESTDIR}/${pkgname}-${version}/usr install" +short_desc="The VP8 Codec SDK" +maintainer="Juan RP " +checksum=28bd8a8ef216fb570912f0d378668051d99681bf13735b59e68a12ad79f2aa73 +long_desc=" + WebM is an open, royalty-free, media file format designed for the web. + + WebM defines the file container structure, video and audio formats. WebM + files consist of video streams compressed with the VP8 video codec and audio + streams compressed with the Vorbis audio codec. The WebM file structure is + based on the Matroska container." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency build yasm diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index b85ee54169b..fde407ad7f4 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -803,3 +803,4 @@ libchamplain-0.10.so libchamplain libchamplain-devel libchamplain-gtk-0.10.so libchamplain libchamplain-devel libgeoclue.so geoclue geoclue-devel libgnome-shell.so gnome-shell +libvpx.so libvpx libvpx-devel