2009-12-31 03:55:12 +01:00
|
|
|
# Template file for 'libdca'
|
|
|
|
pkgname=libdca
|
|
|
|
version=0.0.5
|
2014-02-20 17:10:44 +01:00
|
|
|
revision=8
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-12-31 03:55:12 +01:00
|
|
|
short_desc="DTS Coherent Acoustics decoder"
|
2013-03-31 09:51:17 +02:00
|
|
|
homepage="http://www.videolan.org/developers/libdca.html"
|
|
|
|
license="GPL-2"
|
2009-12-31 03:55:12 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-13 10:15:49 +02:00
|
|
|
distfiles="http://download.videolan.org/pub/videolan/$pkgname/$version/$pkgname-$version.tar.bz2"
|
2009-12-31 03:55:12 +01:00
|
|
|
checksum=dba022e022109a5bacbe122d50917769ff27b64a7bba104bd38ced8de8510642
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
post_install() {
|
2011-01-14 02:15:18 +01:00
|
|
|
# Fix manpage links.
|
|
|
|
cd ${DESTDIR}/usr/share/man/man1
|
|
|
|
ln -sf dcadec.1 dtsdec.1
|
|
|
|
ln -sf extract_dca.1 extract_dts.1
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libdca-devel_package() {
|
2013-11-16 08:57:40 +01:00
|
|
|
depends="libdca>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2013-11-16 08:57:40 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|