libmatroska: cross build support.
This commit is contained in:
parent
cb26b3cbbf
commit
35c658b163
|
@ -1,9 +1,7 @@
|
||||||
# Template file for 'libmatroska'
|
# Template file for 'libmatroska'
|
||||||
pkgname=libmatroska
|
pkgname=libmatroska
|
||||||
version=1.3.0
|
version=1.3.0
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-makefile
|
|
||||||
build_wrksrc="make/linux"
|
|
||||||
makedepends="libebml-devel"
|
makedepends="libebml-devel"
|
||||||
short_desc="Extensible open standard Audio/Video container format"
|
short_desc="Extensible open standard Audio/Video container format"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -11,39 +9,29 @@ homepage="http://dl.matroska.org/downloads/libmatroska/"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2"
|
distfiles="http://www.bunkus.org/videotools/mkvtoolnix/sources/$pkgname-$version.tar.bz2"
|
||||||
checksum=5231ec958571365e719a6fd3c220227af6cf0f14e0bd1bcf766ddbc068d18e69
|
checksum=5231ec958571365e719a6fd3c220227af6cf0f14e0bd1bcf766ddbc068d18e69
|
||||||
long_desc="
|
|
||||||
Matroska aims to become THE Standard of Multimedia Container Formats.
|
|
||||||
It was derived from a project called MCF, but differentiates from it
|
|
||||||
significantly. It is based on EBML (Extensible Binary Meta Language),
|
|
||||||
a binary derivative of XML.
|
|
||||||
|
|
||||||
Matroska is designed with the future in mind. It incorporates features
|
do_build() {
|
||||||
you would expect from a modern container format, like:
|
cd make/linux
|
||||||
|
make CC="$CC" CXX="$CXX" LD="$LD" CFLAGS="$CFLAGS" ${makejobs}
|
||||||
- Streamable over internet (HTTP and RTP)
|
}
|
||||||
- Fast seeking in the file
|
|
||||||
- High error recovery
|
|
||||||
- Menus (like DVDs have)
|
|
||||||
- Chapter entries
|
|
||||||
- Selectable subtitle streams
|
|
||||||
- Selectable audio streams
|
|
||||||
- Modularly extendable"
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
cd make/linux
|
||||||
make prefix=${DESTDIR}/usr install
|
make prefix=${DESTDIR}/usr install
|
||||||
}
|
}
|
||||||
|
|
||||||
libmatroska-devel_package() {
|
libmatroska-devel_package() {
|
||||||
depends="libebml-devel libmatroska>=${version}"
|
depends="libebml-devel libmatroska>=${version}_${revision}"
|
||||||
short_desc+=" -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libmatroska_package() {
|
libmatroska_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove all
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue