34 lines
853 B
Bash
34 lines
853 B
Bash
# Template file for 'libdca'
|
|
pkgname=libdca
|
|
version=0.0.7
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="DTS Coherent Acoustics decoder"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.videolan.org/developers/libdca.html"
|
|
distfiles="${VIDEOLAN_SITE}/libdca/${version}/libdca-${version}.tar.bz2"
|
|
checksum=3a0b13815f582c661d2388ffcabc2f1ea82f471783c400f765f2ec6c81065f6a
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
# useless and broken symlink
|
|
# /usr/lib/libdts.a -> /destdir/libdca-0.0.7/usr/lib64/libdca.a
|
|
rm ${DESTDIR}/usr/lib/libdts.a
|
|
}
|
|
|
|
libdca-devel_package() {
|
|
depends="libdca>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|