1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
2 # Contributor: Fly-away <flyaaway@gmail.com>
4 pkgname=libomxil-bellagio
7 pkgdesc="An opensource implementation of the OpenMAX Integration Layer API"
9 url="http://omxil.sourceforge.net"
12 source=("https://downloads.sourceforge.net/project/omxil/omxil/Bellagio%200.9.3/${pkgname}-${pkgver}.tar.gz"
14 md5sums=('a1de827fdb75c02c84e55f740ca27cb8'
15 'c34f9facf0cf26171c81f2fc3d562ec6')
20 # Fixes from fedora repo
21 patch -Np1 -i ../fedora-fixes.patch
22 sed -e 's/-Werror//' -i configure.ac
27 cd ${pkgname}-${pkgver}
29 CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
31 ./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/${pkgname}
36 cd ${pkgname}-${pkgver}
38 make DESTDIR="${pkgdir}" install