mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:17:14 +08:00
348d542db8
will commit them separately next time... it's just too much work to do separate commits right now
40 lines
979 B
Bash
40 lines
979 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=zvbi
|
|
pkgver=0.2.33
|
|
pkgrel=4
|
|
pkgdesc="VBI capture and decoding library"
|
|
url="http://zapping.sourceforge.net/cgi-bin/view/ZVBI/WebHome"
|
|
arch=('x86_64')
|
|
depends=('libpng>=1.5.0' 'libx11')
|
|
license=('GPL')
|
|
options=('!libtool')
|
|
source=("http://downloads.sourceforge.net/sourceforge/zapping/${pkgname}-${pkgver}.tar.bz2"
|
|
'fix-includes.patch'
|
|
'zvbi-0.2.33-libpng15.patch')
|
|
md5sums=('1741a6045c3eedfb611d645f2da69ac8'
|
|
'38766bc59e1571133d0399f0102da653'
|
|
'4434de7addc438be8c5a33274146bd11')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
patch -p1 -i "${srcdir}/fix-includes.patch"
|
|
patch -p0 -i "${srcdir}/zvbi-0.2.33-libpng15.patch"
|
|
|
|
./configure --prefix=/usr \
|
|
--disable-static \
|
|
--mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|