mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 00:57:01 +02:00
flightgear: patch for python3
This commit is contained in:
parent
a721636a3a
commit
e032422a49
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'flightgear'
|
||||
pkgname=flightgear
|
||||
version=2020.3.17
|
||||
revision=2
|
||||
revision=3
|
||||
# XXX: always keep in sync with simgear version!
|
||||
create_wrksrc=yes
|
||||
build_style=cmake
|
||||
|
@ -26,7 +26,6 @@ distfiles="
|
|||
$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/FlightGear-${version}-data.txz"
|
||||
checksum="6670dedeaca2683aca77f9f06bf9d1d8062ae32a2a5459dddc8aa0989c5f1854
|
||||
2a5eba2b9ae67a3691285833a6ce3f6bbdf3f20229f5871d7c940e151d54d8e8"
|
||||
python_version=2
|
||||
# the test suite doesn't get built, if enabled it segfaults
|
||||
make_check=no
|
||||
|
||||
|
@ -48,5 +47,8 @@ flightgear-data_package() {
|
|||
pkg_install() {
|
||||
vmkdir usr/share/flightgear
|
||||
mv fgdata ${PKGDESTDIR}/usr/share/flightgear
|
||||
# python 2 build scripts
|
||||
rm "${PKGDESTDIR}"/usr/share/flightgear/fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/asi/asi.py \
|
||||
"${PKGDESTDIR}"/usr/share/flightgear/fgdata/Docs/compile_docs.py
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue