diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -4,15 +4,15 @@ # pkgname=go4 _Pkgname=Go4 -pkgver=5.1.0 +pkgver=5.1.2 pkgrel=1 pkgdesc='Object-oriented system (GSI Object Oriented On-line Off-line system) based on ROOT' arch=('i686' 'x86_64') -depends=('root5' 'qt4') -url="http://www-win.gsi.de/go4/" +depends=('root' 'qt4') +url="https://www.gsi.de/en/work/fairgsi/rare_isotope_beams/electronics/data_processing/data_analysis/the_go4_home_page.htm" license=('GPL') source=("http://web-docs.gsi.de/~go4/download/${pkgname}-${pkgver}.tar.gz") -md5sums=('9d5e5a25a7d7ab399a1b3c3ff885ef4d') +md5sums=('8083fe20cf894225039c4347de828f73') _USEQT=4 @@ -26,12 +26,17 @@ prepare() { sed -i 's#\$(GO4LIBPATH)#$(DESTDIR)/&#g' Makefile sed -i 's#\$(GO4TOPPATH)#$(DESTDIR)/&#g' Makefile + msg "fixing QGo4Widget.cpp:324:25: error: cannot convert ‘bool’ to ‘TGo4ViewPanel*’ in initialization" + sed -i 's#TGo4ViewPanel\* res = false;#TGo4ViewPanel\* res = 0;#g' qt4/Go4GUI/QGo4Widget.cpp + } build() { cd ${pkgname}-${pkgver} - make prefix=/usr withqt=$_USEQT GO4_OS=Linux rpath=true withdabc=no debug=1 all || return 1 + make clean-bin + make clean + make -j1 prefix=/usr withqt=$_USEQT GO4_OS=Linux rpath=true withdabc=no nodepend=1 debug=1 all || return 1 } |