Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:pbartfai
LDView-qt6
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package LDView-qt6
# Maintainer: Peter Bartfai <pbartfai[at]stardust[dot]hu> pkgname=('ldview-qt6' 'ldview-osmesa') pkgver=4.5 pkgrel=1 pkgdesc="A real-time 3D viewer for displaying LDraw models" url="http://github.com/tcobbs/ldview" arch=('x86_64' 'i686') license=('GPL') #Qt5.x depends=('qt6-base' 'qt6-tools' 'qt6-5compat' 'libpng' 'libjpeg-turbo' 'mesa-libgl' 'gl2ps' 'tinyxml' 'minizip') makedepends=('kdelibs4support' 'glu' 'gcc' 'make' 'cmake' 'extra-cmake-modules') conflicts=() replaces=() backup=() source=("ldview-git.tar.gz") md5sums=(SKIP) build() { test -d ${srcdir}/ldview-git/QT && cd ${srcdir}/ldview-git/QT || cd .. if test "$CARCH" == x86_64; then PLATFORM=linux-g++-64 else PLATFORM=linux-g++-32 fi if [ -x /usr/bin/qmake6 ] ; then qmake6 -spec $PLATFORM ; elif [ -x /usr/bin/qmake-qt5 ] ; then qmake-qt5 -spec $PLATFORM ; fi if [ -x /usr/bin/lrelease6 ] ; then lrelease6 LDView.pro ; elif [ -x /usr/bin/lrelease-qt5 ] ; then lrelease-qt5 LDView.pro ; fi make clean all cd kde5 if [ -d build ]; then rm -rf build ; fi mkdir -p build cd build if cmake -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` .. ; then make fi cd ../../../OSMesa make all } package_ldview-qt6() { test -d ${srcdir}/ldview-git/QT && cd ${srcdir}/ldview-git/QT || cd .. make INSTALL_ROOT="${pkgdir}" install cd kde5/build make DESTDIR="${pkgdir}" install } package_ldview-osmesa() { test -d ${srcdir}/ldview-git/OSMesa && cd ${srcdir}/ldview-git/OSMesa || cd ../../OSMesa make PREFIX="${pkgdir}" install }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor