2009-12-25 21:39:22 +00:00
|
|
|
# Template file for 'smpeg'
|
|
|
|
pkgname=smpeg
|
|
|
|
version=0.4.4
|
2013-04-14 10:31:59 +00:00
|
|
|
revision=5
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2009-12-25 21:39:22 +00:00
|
|
|
configure_args="--disable-gtk-player --disable-opengl-player"
|
|
|
|
make_build_args="LDFLAGS+=-lstdc++"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="SDL-devel"
|
2009-12-25 21:39:22 +00:00
|
|
|
short_desc="SDL MPEG Player Library"
|
2013-03-30 10:52:08 +00:00
|
|
|
homepage="https://icculus.org/smpeg/"
|
|
|
|
license="LGPL-2"
|
2009-12-25 21:39:22 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-14 10:31:59 +00:00
|
|
|
distfiles="http://mirrors.dotsrc.org/lokigames/open-source/smpeg/smpeg-$version.tar.gz"
|
2009-12-25 21:39:22 +00:00
|
|
|
checksum=1efa7984d0aada0c2954cd0aaef357e9d7871dadd3368dbe742ab5f260523e57
|
|
|
|
long_desc="
|
|
|
|
SMPEG is based on UC Berkeley's mpeg_play software MPEG decoder
|
|
|
|
and SPLAY, an MPEG audio decoder created by Woo-jae Jung."
|
|
|
|
|
2013-04-14 10:31:59 +00:00
|
|
|
post_install() {
|
2009-12-25 21:39:22 +00:00
|
|
|
# Remove unused stuff
|
|
|
|
rm -rf ${DESTDIR}/usr/share/man
|
|
|
|
rm -f ${DESTDIR}/usr/bin/plaympeg
|
|
|
|
}
|
2013-04-14 10:31:59 +00:00
|
|
|
|
|
|
|
smpeg-devel_package() {
|
|
|
|
depends="SDL-devel smpeg>=${version}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
smpeg_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|