arch-packages/PKGBUILD

39 lines
1.3 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{,.sig}
'gui_common.h')
sha512sums=('8be28ad2febbbf631d57ee0c32457ac2ba1f90bafcbbce83933fc5ac487e8e9aab8edcb8ed6127c5bee02ddea0dc5150743350a4289a3b9758f50562034a92c4'
'SKIP'
'8006b07a72f964da78a9ba3df7c4ead522cdca0303ab1c1d9b8224a6dd062f24e0bccf95146656e28c5ba3baa8dbc2e513309adb7486e26f1d3563eec35d0325')
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
}