Added libmpeg-0.5.1 build template.

--HG--
extra : convert_revision : f9ef699aadf4edb6b9aa646bcf37a5e3e01e668b
This commit is contained in:
Juan RP 2009-12-31 02:08:55 +01:00
parent d40e03b91c
commit 336cdbe5ed
6 changed files with 70 additions and 0 deletions

1
srcpkgs/libmpeg2-devel Symbolic link
View File

@ -0,0 +1 @@
libmpeg2

2
srcpkgs/libmpeg2/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=0.5.1"
api_depends="${abi_depends}"

View File

@ -0,0 +1,24 @@
# Template file for 'libmpeg2-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run pkg-config
Add_dependency run libICE-devel
Add_dependency run libSM-devel
Add_dependency run libX11-devel
Add_dependency run libXext-devel
Add_dependency run libXv-devel
Add_dependency run SDL-devel
Add_dependency run libmpeg2
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
}

View File

@ -0,0 +1,21 @@
# Template file for 'mpeg2dec'.
#
short_desc="Simple libmpeg2 video decoder application"
long_desc="
Simple libmpeg2 application which can decode and play ES, PS, and TS
video streams. Includes extract_mpeg2 demuxer and various output drivers."
Add_dependency run libICE
Add_dependency run libSM
Add_dependency run libX11
Add_dependency run libXext
Add_dependency run libXv
Add_dependency run SDL
Add_dependency run libmpeg2
do_install()
{
mkdir -p ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
}

21
srcpkgs/libmpeg2/template Normal file
View File

@ -0,0 +1,21 @@
# Template file for 'libmpeg2'
pkgname=libmpeg2
version=0.5.1
distfiles="http://libmpeg2.sourceforge.net/files/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-shared"
short_desc="Library for decoding MPEG-2 and MPEG-1 video streams"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
long_desc="
libmpeg2 is a free library for decoding MPEG-2 and MPEG-1 video
streams acclaimed to be the fastest around."
subpackages="$pkgname-devel mpeg2dec"
Add_dependency run glibc
Add_dependency build pkg-config
Add_dependency build libICE
Add_dependency build libSM
Add_dependency build libX11
Add_dependency build libXext
Add_dependency build libXv

1
srcpkgs/mpeg2dec Symbolic link
View File

@ -0,0 +1 @@
libmpeg2