arch-packages/PKGBUILD

38 lines
1.1 KiB
Text
Raw Normal View History

2017-08-13 02:12:01 +02:00
# Maintainer: Manuel Hüsers <manuel.huesers@uni-ol.de>
# Contributor: Jose Riha <jose1711 gmail com>
2016-01-01 22:21:59 +01:00
# Contributor: archtux <antonio dot arias99999 at gmail dot com>
pkgname=bino
2017-08-13 02:12:01 +02:00
pkgver=1.6.5
2016-02-07 00:13:33 +01:00
pkgrel=1
2017-08-13 02:12:01 +02:00
pkgdesc='3D video player with multi-display support'
2016-01-01 22:21:59 +01:00
arch=('i686' 'x86_64')
2017-08-13 02:12:01 +02:00
url='https://bino3d.org/'
2016-01-01 22:21:59 +01:00
license=('GPL3')
2017-08-13 02:12:01 +02:00
depends=('ffmpeg' 'freealut' 'freeglut' 'glewmx' 'libass' 'qt5-base')
optdepends=('lirc: infrared remote control')
source=(https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.xz
2017-08-13 02:12:01 +02:00
'gui_common.h')
sha256sums=('3254316d3ae81cc69643dcd823caaac1233704d91289272d0011ced5e5cdffe2'
'0664e447fe115dbe7a146f3d057f171731c082cbc5691b68e2c959205a39c4e5')
2017-08-13 02:12:01 +02:00
validpgpkeys=('2F788CDEF4181652720EF132F4926138953E5294')
2016-01-01 22:21:59 +01:00
prepare() {
2017-08-13 02:12:01 +02:00
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
2016-01-01 22:21:59 +01:00
}
build() {
2017-08-13 02:12:01 +02:00
cd "${srcdir}/${pkgname}-${pkgver}"
cp '../gui_common.h' 'src'
make
2016-01-01 22:21:59 +01:00
}
package() {
2017-08-13 02:12:01 +02:00
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2016-01-01 22:21:59 +01:00
}