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
|
2018-12-09 21:49:58 +01:00
|
|
|
pkgver=1.6.7
|
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')
|
2018-12-09 21:49:58 +01:00
|
|
|
source=(https://bino3d.org/releases/bino-1.6.7.tar.xz{,.sig})
|
|
|
|
sha512sums=('ae8f72b200100664b9fd55963371ce64a2f39e240676494d69b422d662f2295560ba458eb04707b82f88d3c6b3fab98a1ecb40d74799300f96b8eb8be680c9b8'
|
|
|
|
'SKIP')
|
2018-01-29 13:06:58 +01:00
|
|
|
validpgpkeys=('2F61B4828BBA779AECB3F32703A2A4AB1E32FD34')
|
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
|
2016-01-01 22:21:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2017-08-13 02:12:01 +02:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2018-12-09 21:49:58 +01:00
|
|
|
# libglewmx* env variables are to fix compilation issue
|
|
|
|
# when both glew and glew1.6 are installed
|
|
|
|
# details at https://gitlab.marlam.de/marlam/bino/issues/1
|
|
|
|
libglewmx_CFLAGS="$(pkg-config --cflags glew)" libglewmx_LIBS="$(pkg-config --libs glew)" ./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--with-qt-version=5 \
|
|
|
|
#--with-xnvctrl # Enable NVIDIA Quadro SDI output
|
|
|
|
sed -i '/am__append_.* = -DGLEW_MX/d' src/Makefile
|
2017-08-13 02:12:01 +02:00
|
|
|
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
|
|
|
}
|