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
2018-01-29 13:06:58 +01:00
pkgver=1.6.6
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-01-29 13:06:58 +01:00
source=(https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
2017-08-13 02:12:01 +02:00
'gui_common.h')
2018-01-29 13:06:58 +01:00
sha512sums=('43a17f390881fcc8b7721b21ff8524b89992cd7fb0cfc467769bdddd0ad0c0d2536d161475a7fce6d4d3e758e017a38f671648dfaa4a345dc02127b7b192c8c0'
'SKIP'
'8006b07a72f964da78a9ba3df7c4ead522cdca0303ab1c1d9b8224a6dd062f24e0bccf95146656e28c5ba3baa8dbc2e513309adb7486e26f1d3563eec35d0325')
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
./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
}