mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
[testing] flightgear: try to fix build again
This commit is contained in:
parent
40bed8bc23
commit
efa8fb2da9
@ -6,17 +6,17 @@ _pkgver=${pkgver%.*}
|
|||||||
pkgdesc="An open-source, multi-platform flight simulator."
|
pkgdesc="An open-source, multi-platform flight simulator."
|
||||||
url="https://home.flightgear.org/"
|
url="https://home.flightgear.org/"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
depends=('fltk' 'libxmu' 'libxi' 'openal' 'openscenegraph' 'zlib' 'subversion' 'libxrandr' 'glu')
|
depends=('libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu' 'openal')
|
||||||
makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'qt5-base' 'plib' 'freeglut' 'freealut' 'glew' 'qt5-declarative')
|
makedepends=('boost' 'cmake' 'mesa' 'sharutils' 'plib' 'freeglut' 'freealut' 'glew' 'qt5-base' 'qt5-declarative')
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
screenshot="http://www.flightgear.org/wp-content/gallery/gallery-v2-6/737-300_egkk_hom.jpg"
|
screenshot="http://www.flightgear.org/wp-content/gallery/gallery-v2-6/737-300_egkk_hom.jpg"
|
||||||
categories=('games')
|
categories=('games')
|
||||||
options=('!makeflags' '!strip')
|
options=('makeflags' 'staticlibs' '!strip')
|
||||||
source=( #flightgear
|
source=( # flightgear
|
||||||
"https://downloads.sourceforge.net/project/flightgear/release-$_pkgver/flightgear-$pkgver.tar.bz2"
|
"https://downloads.sourceforge.net/project/flightgear/release-$_pkgver/flightgear-$pkgver.tar.bz2"
|
||||||
# flightgear-data
|
# flightgear-data
|
||||||
"https://downloads.sourceforge.net/project/flightgear/release-$_pkgver/FlightGear-$pkgver-data.tar.bz2"
|
"https://downloads.sourceforge.net/project/flightgear/release-$_pkgver/FlightGear-$pkgver-data.tar.bz2"
|
||||||
#simgear
|
# simgear
|
||||||
"https://downloads.sourceforge.net/project/flightgear/release-$_pkgver/simgear-$pkgver.tar.bz2")
|
"https://downloads.sourceforge.net/project/flightgear/release-$_pkgver/simgear-$pkgver.tar.bz2")
|
||||||
sha1sums=('7bf06d3ad218ce4e99eede7aa250fbdf938eb7a3'
|
sha1sums=('7bf06d3ad218ce4e99eede7aa250fbdf938eb7a3'
|
||||||
'4244106a93841e8fe27422134ec7cdcd91c03658'
|
'4244106a93841e8fe27422134ec7cdcd91c03658'
|
||||||
@ -27,9 +27,9 @@ prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
#build simgear
|
# build simgear
|
||||||
cd simgear-$pkgver
|
cd simgear-$pkgver
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release .
|
||||||
make
|
make
|
||||||
make DESTDIR=../fake_install install
|
make DESTDIR=../fake_install install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user