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 sha256sums=('593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c'
15 '1683126ba747ae2f711cf352b289a26c17c56e92745a0ddbd5f066d66a9bd007')
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