arch-packages/PKGBUILD

35 lines
984 B
Text
Raw Normal View History

2016-01-01 22:21:59 +01:00
# Maintainer: Jose Riha <jose1711 gmail com>
# Contributor: archtux <antonio dot arias99999 at gmail dot com>
pkgname=bino
2016-02-07 00:13:33 +01:00
pkgver=1.6.2
pkgrel=1
2016-01-01 22:21:59 +01:00
pkgdesc="3D video player with multi-display support."
arch=('i686' 'x86_64')
url="http://bino3d.org/"
license=('GPL3')
depends=('ffmpeg' 'freealut' 'freeglut' 'glew' 'libass' 'qt5-base')
optdepends=('lirc: for infrared remote control')
2016-02-07 00:13:33 +01:00
source=(http://download.savannah.gnu.org/releases-noredirect/$pkgname/$pkgname-$pkgver.tar.xz 'gui_common.h')
md5sums=('b6cbb49c82da6a1d7734e5c2b66864c3'
'c152d0a10fcf712760919a5892f87a6d')
2016-01-01 22:21:59 +01:00
prepare() {
cd $srcdir/$pkgname-$pkgver
sed -i 's/CXXFLAGS -fPIE/& -fPIC/' configure
./configure --prefix=/usr \
--with-qt-version=5 \
# --with-xnvctrl # Enable NVIDIA Quadro SDI output
}
build() {
2016-02-07 00:13:33 +01:00
cp $srcdir/gui_common.h $srcdir/$pkgname-$pkgver/src
2016-01-01 22:21:59 +01:00
cd $srcdir/$pkgname-$pkgver
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}