2009-12-31 01:08:55 +00:00
|
|
|
# Template file for 'libmpeg2'
|
|
|
|
pkgname=libmpeg2
|
|
|
|
version=0.5.1
|
2014-11-23 09:49:19 +00:00
|
|
|
revision=9
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2009-12-31 01:08:55 +00:00
|
|
|
configure_args="--enable-shared"
|
2014-11-23 09:49:19 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libXext-devel libXv-devel SDL-devel"
|
2009-12-31 01:08:55 +00:00
|
|
|
short_desc="Library for decoding MPEG-2 and MPEG-1 video streams"
|
2013-03-31 07:51:21 +00:00
|
|
|
homepage="http://libmpeg2.sourceforge.net/"
|
|
|
|
license="GPL-2"
|
2009-12-31 01:08:55 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-13 08:15:49 +00:00
|
|
|
distfiles="http://libmpeg2.sourceforge.net/files/$pkgname-$version.tar.gz"
|
2009-12-31 01:08:55 +00:00
|
|
|
checksum=dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libmpeg2-devel_package() {
|
2013-12-18 12:20:37 +00:00
|
|
|
depends="libmpeg2>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2013-12-18 12:20:37 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
mpeg2dec_package() {
|
|
|
|
short_desc="Simple libmpeg2 video decoder application"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|