archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libomxil-bellagio / trunk / PKGBUILD
blobe89531314aa4b197091f4466583dcf4560202a9f
1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
2 # Contributor: Fly-away <flyaaway@gmail.com>
4 pkgname=libomxil-bellagio
5 pkgver=0.9.3
6 pkgrel=4
7 pkgdesc="An opensource implementation of the OpenMAX Integration Layer API"
8 arch=('x86_64')
9 url="http://omxil.sourceforge.net"
10 license=('LGPL')
11 depends=('glibc')
12 source=("https://downloads.sourceforge.net/project/omxil/omxil/Bellagio%200.9.3/${pkgname}-${pkgver}.tar.gz"
13         fedora-fixes.patch)
14 sha256sums=('593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c'
15             '1683126ba747ae2f711cf352b289a26c17c56e92745a0ddbd5f066d66a9bd007')
17 prepare() {
18   cd ${pkgname}-$pkgver
20   # Fixes from fedora repo
21   patch -Np1 -i ../fedora-fixes.patch
22   sed -e 's/-Werror//' -i configure.ac
23   autoreconf -fiv
26 build() {
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}
32   make
35 package() {
36   cd ${pkgname}-${pkgver}
38   make DESTDIR="${pkgdir}" install