pkgsrc/games/flightgear/Makefile

51 lines
1.6 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.112 2020/06/05 12:49:05 jperkin Exp $
DISTNAME= flightgear-2019.1.1
PKGREVISION= 12
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flightgear/release-${PKGVERSION_NOREV:R}/}
Update to 2.8.0. Switches build system to cmake. August 17, 2012 -- FlightGear v2.8.0 is Released The FlightGear development team is happy to announce the v2.8.0 release of FlightGear, the free, open-source flight simulator. This new version contains many exciting new features, enhancements and bugfixes. V2.8.0 includes improvements making FlightGear world more realistic than ever before. Placement of random buildings and trees match the underlying terrain texture, and urban areas now have denser random buildings. Textures can be region specific, and users can select between summer and winter textures in-sim. An improved atmospheric scattering and terrain haze model means the lighting of the terrain is more realistic. Finally, a new automated system is now available for scenery submissions that automatically get rolled into the scenery distribution to be enjoyed by everyone. [...] Some of the major changes include: AI Traffic Improved aircraft models and textures. Flight dynamics FlightGear has been synced with the JSBSim project. Environment Region-specific terrain textures are used for Europe and Hawaii. Now towns in Europe look different from towns in the USA. Cities and towns now look more populated due to random 3D buildings, complete with lighting at night. Scenery looks more realistic due to improved placement of random objects, buildings and trees. Airport signs are now rendered in 3D, with support for double-sided signs. Full apt.dat 850 syntax is supported. You can now select between summer and winter scenery in-sim. Instruments & HUDs A new flexible, 2D rendering system designed for complex instruments such as CDUs, MFDs, EICAS, HUDs and other glass cockpit interfaces. Canvas allows aircraft designers to easily build complex instruments without needing specialized C++ code. Interface Support for translation of the main menu into languages other than English. A Nasal API is available allowing access to Navigation and route-manager data. Highlighted new and improved aircraft Airwave Xtreme 150: complete new (JSBSim) flight dynamics, new model, advanced pilot animations. Cessna 337G Skymaster Project infrastructure Various improvements to our scenery database make it easier than ever to add, delete or update objects to the FlightGear world. The new aircraft download page allows you to easily find quality aircraft, by filtering on status indications. Visual effects Improved simulation of atmospheric light scattering with terrain haze. An experimental renderer, named after the famous painter Rembrandt, is included for testing purposes. The Rembrandt rendered supports multiple light sources (landing lights, instrument lights), real-time shadows and ambient occlusion across aircraft and scenery for a much more realistic visual experience. Other Additional joysticks and rudder pedals are supported out-of-the-box: InterLink Elite Micorosft Xbox 360 Controller Qware USB Saitek Cyborg X (F.L.Y. 5) Saitek Pro Flight Cessna Yoke Saitek Pro Flight Cessna Trim Wheel Saitek Pro Flight Cessna Rudder Pedals Speedlink Defender A French partial translation of The FlightGear Manual is now available. Bug fixes See our bugtracker for an extensive list of the bugs fixed in this release.
2012-09-30 12:04:33 +02:00
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
2019-06-24 12:59:40 +02:00
HOMEPAGE= https://www.flightgear.org/
COMMENT= The FlightGear Simulator
Update to 2.8.0. Switches build system to cmake. August 17, 2012 -- FlightGear v2.8.0 is Released The FlightGear development team is happy to announce the v2.8.0 release of FlightGear, the free, open-source flight simulator. This new version contains many exciting new features, enhancements and bugfixes. V2.8.0 includes improvements making FlightGear world more realistic than ever before. Placement of random buildings and trees match the underlying terrain texture, and urban areas now have denser random buildings. Textures can be region specific, and users can select between summer and winter textures in-sim. An improved atmospheric scattering and terrain haze model means the lighting of the terrain is more realistic. Finally, a new automated system is now available for scenery submissions that automatically get rolled into the scenery distribution to be enjoyed by everyone. [...] Some of the major changes include: AI Traffic Improved aircraft models and textures. Flight dynamics FlightGear has been synced with the JSBSim project. Environment Region-specific terrain textures are used for Europe and Hawaii. Now towns in Europe look different from towns in the USA. Cities and towns now look more populated due to random 3D buildings, complete with lighting at night. Scenery looks more realistic due to improved placement of random objects, buildings and trees. Airport signs are now rendered in 3D, with support for double-sided signs. Full apt.dat 850 syntax is supported. You can now select between summer and winter scenery in-sim. Instruments & HUDs A new flexible, 2D rendering system designed for complex instruments such as CDUs, MFDs, EICAS, HUDs and other glass cockpit interfaces. Canvas allows aircraft designers to easily build complex instruments without needing specialized C++ code. Interface Support for translation of the main menu into languages other than English. A Nasal API is available allowing access to Navigation and route-manager data. Highlighted new and improved aircraft Airwave Xtreme 150: complete new (JSBSim) flight dynamics, new model, advanced pilot animations. Cessna 337G Skymaster Project infrastructure Various improvements to our scenery database make it easier than ever to add, delete or update objects to the FlightGear world. The new aircraft download page allows you to easily find quality aircraft, by filtering on status indications. Visual effects Improved simulation of atmospheric light scattering with terrain haze. An experimental renderer, named after the famous painter Rembrandt, is included for testing purposes. The Rembrandt rendered supports multiple light sources (landing lights, instrument lights), real-time shadows and ambient occlusion across aircraft and scenery for a much more realistic visual experience. Other Additional joysticks and rudder pedals are supported out-of-the-box: InterLink Elite Micorosft Xbox 360 Controller Qware USB Saitek Cyborg X (F.L.Y. 5) Saitek Pro Flight Cessna Yoke Saitek Pro Flight Cessna Trim Wheel Saitek Pro Flight Cessna Rudder Pedals Speedlink Defender A French partial translation of The FlightGear Manual is now available. Bug fixes See our bugtracker for an extensive list of the bugs fixed in this release.
2012-09-30 12:04:33 +02:00
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
2008-06-12 04:14:13 +02:00
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
Update to 2.8.0. Switches build system to cmake. August 17, 2012 -- FlightGear v2.8.0 is Released The FlightGear development team is happy to announce the v2.8.0 release of FlightGear, the free, open-source flight simulator. This new version contains many exciting new features, enhancements and bugfixes. V2.8.0 includes improvements making FlightGear world more realistic than ever before. Placement of random buildings and trees match the underlying terrain texture, and urban areas now have denser random buildings. Textures can be region specific, and users can select between summer and winter textures in-sim. An improved atmospheric scattering and terrain haze model means the lighting of the terrain is more realistic. Finally, a new automated system is now available for scenery submissions that automatically get rolled into the scenery distribution to be enjoyed by everyone. [...] Some of the major changes include: AI Traffic Improved aircraft models and textures. Flight dynamics FlightGear has been synced with the JSBSim project. Environment Region-specific terrain textures are used for Europe and Hawaii. Now towns in Europe look different from towns in the USA. Cities and towns now look more populated due to random 3D buildings, complete with lighting at night. Scenery looks more realistic due to improved placement of random objects, buildings and trees. Airport signs are now rendered in 3D, with support for double-sided signs. Full apt.dat 850 syntax is supported. You can now select between summer and winter scenery in-sim. Instruments & HUDs A new flexible, 2D rendering system designed for complex instruments such as CDUs, MFDs, EICAS, HUDs and other glass cockpit interfaces. Canvas allows aircraft designers to easily build complex instruments without needing specialized C++ code. Interface Support for translation of the main menu into languages other than English. A Nasal API is available allowing access to Navigation and route-manager data. Highlighted new and improved aircraft Airwave Xtreme 150: complete new (JSBSim) flight dynamics, new model, advanced pilot animations. Cessna 337G Skymaster Project infrastructure Various improvements to our scenery database make it easier than ever to add, delete or update objects to the FlightGear world. The new aircraft download page allows you to easily find quality aircraft, by filtering on status indications. Visual effects Improved simulation of atmospheric light scattering with terrain haze. An experimental renderer, named after the famous painter Rembrandt, is included for testing purposes. The Rembrandt rendered supports multiple light sources (landing lights, instrument lights), real-time shadows and ambient occlusion across aircraft and scenery for a much more realistic visual experience. Other Additional joysticks and rudder pedals are supported out-of-the-box: InterLink Elite Micorosft Xbox 360 Controller Qware USB Saitek Cyborg X (F.L.Y. 5) Saitek Pro Flight Cessna Yoke Saitek Pro Flight Cessna Trim Wheel Saitek Pro Flight Cessna Rudder Pedals Speedlink Defender A French partial translation of The FlightGear Manual is now available. Bug fixes See our bugtracker for an extensive list of the bugs fixed in this release.
2012-09-30 12:04:33 +02:00
USE_CMAKE= yes
2018-12-04 04:56:27 +01:00
LDFLAGS.NetBSD+= -lexecinfo
games/{simgear,flightgear,flightgear-data}: Update to 2018.3.2. Usability Flightplan loading within the launcher. Chinese, Russian and Italian translations for the launcher and UI Improved support for the state of the aircraft depending on starting location - cold and dark on the ramp, engine running ready for take-off on the runway, or in cruise flight. Input Improved joystick configuration and binding options. AI / Multiplayer Multiple Levels of Detail (LoD) for MP and AI aircraft. To improve performance, low-detail models are used when the viewer is far from the MP aircraft. Fallback models to display in the case where a viewer does not have the MP aircraft installed. Many improvements to AI models including new liveries, timetabled movements Graphics Support for retrieving Canvas images over HTTP. This is a useful feature for displaying instruments like a PFD, ND, EICAS or any MFD externally from the FlightGear 3D main window in a separate window or on a separate monitor, computer or a mobile device. See Read_canvas_image_by_HTTP for more information. Improved cloud rendering with stronger Mie scattering on cloud fringes, improved scattering on cirrus clouds Reset: wipe the Effect UniformCache Scenery Improved scenery for Hawaii, the default location for this release. New scenery for Jan Mayen, situated northeast of Iceland. Including the active volcano of Beerenberg (2277m). JSBSim The feature fail_hardover of the <actuator> component was not giving the correct output in some occurences when clipmax was smaller in absolute value than clipmin. Tables CORNERING_COEFF could not be used for BOGEY contact points. Bug fixes for JSBSim atmosphere model at very high altitudes Fixed PID integration with the 3rd order Adams-Bashforth was inccorect. The fail_stuck property of sensors (accelerometers, magnetometers, gyro, etc.) without a <lag> element was setting the output to zero instead of sticking to the last output value. When a sensor was stuck, the drift, gain, bias and quantization of the last output before being stuck were ignored. Fixed the Calibrated Air Speed (CAS) computations for supersonic velocities Fixed the Nlf (Normal load factor) sign Nlf can now be specified as an initial condition via the property ic/targetNlf Added blocking sockets to the input features Added a property to piston engines to get the AFR (Air to Fuel Ratio) Added conversion from m/s to ft/s Restored the initial conditions for engines running (-1 means all engines) Significant Aircraft Updates "Metadata" has been added to many aircraft, making it easier to find new exciting aircraft to fly using the launcher, whether you are interested in aircraft from the 1920s or twin engined business jets. B-25 : Various bug fixes and minor improvements Cessna 172 : Improved cockpit, interior lighting. Citation II : New panels, radio instruments. Complete remodeling of the electric system, with accurate bus voltage, circuit breakers. System test knob implemented. F4U : new FDM F-14 : V1.8. Improved flight model, particularly in a low-speed regime. Improved cockpit. F-15 : V1.8. Updated flight model, particularly armament mass location. Performance optimizations. Autopilot improvements. F-16 : v3.0. Store options. New liveries. Radar performance optimizations. Autopilot and system improvements. FDM fixes. Saab 37 Viggen : Version 4.313. Various updates, particularly to radar and armament models. Seneca II: Long range tanks, interior lighting, SpaceShuttle : Milestone-10. Improved interior (including furry velcro), launch guidance and orbital plane targeting, more realistic OMS burn procedures, expanded systems including circuit breaker simulation and failure modeling. 777: Our flagship airliner now fully supports checklists, allowing you to learn everything about the aircraft from within the simulator. Full support to auto-push was also implemented. Bug fixes and minor improvements. Other FG1000 glass panel display, inspired by moving map devices like the the Garmin G1000 Improved Replay handling of AI aircraft and carriers - judge your own carrier landings. KC-130 tanker aircraft for air-to-air refueling Flightplan GPX import now supports elevation values. TACAN: Add support for setting TACAN by frequency 2018.3.2 point release Chinese font support for the splash screen / tips, and some updated Chinese translations C172P bug fixes fixed crash on certain AMD 64-bit systems relating to SSE intrinsics and memory alignment fixed crash loading flightplans saved from LittleNavMap with non-sequential waypoint indices tolerate missing runways parsing Navigraph procedures, so current cycle can be used at more airports use Ref versions of osgDB methods to avoid crashes, especially after long flights fix a NaN in the sky rendering code at extreme orbital altitudes set default values of some position properties for consistency with the rest (affected C172 tie-down mode) fix JSBSim wheel-spin down regression
2019-03-14 19:13:18 +01:00
CONFIGURE_DIRS= fgbuild
BUILD_DIRS= fgbuild
CMAKE_ARG_PATH= ..
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DFG_BUILD_TYPE=Release
2020-05-26 13:30:06 +02:00
post-extract:
${MV} ${WRKSRC}/version ${WRKSRC}/myversion
games/{simgear,flightgear,flightgear-data}: Update to 2018.3.2. Usability Flightplan loading within the launcher. Chinese, Russian and Italian translations for the launcher and UI Improved support for the state of the aircraft depending on starting location - cold and dark on the ramp, engine running ready for take-off on the runway, or in cruise flight. Input Improved joystick configuration and binding options. AI / Multiplayer Multiple Levels of Detail (LoD) for MP and AI aircraft. To improve performance, low-detail models are used when the viewer is far from the MP aircraft. Fallback models to display in the case where a viewer does not have the MP aircraft installed. Many improvements to AI models including new liveries, timetabled movements Graphics Support for retrieving Canvas images over HTTP. This is a useful feature for displaying instruments like a PFD, ND, EICAS or any MFD externally from the FlightGear 3D main window in a separate window or on a separate monitor, computer or a mobile device. See Read_canvas_image_by_HTTP for more information. Improved cloud rendering with stronger Mie scattering on cloud fringes, improved scattering on cirrus clouds Reset: wipe the Effect UniformCache Scenery Improved scenery for Hawaii, the default location for this release. New scenery for Jan Mayen, situated northeast of Iceland. Including the active volcano of Beerenberg (2277m). JSBSim The feature fail_hardover of the <actuator> component was not giving the correct output in some occurences when clipmax was smaller in absolute value than clipmin. Tables CORNERING_COEFF could not be used for BOGEY contact points. Bug fixes for JSBSim atmosphere model at very high altitudes Fixed PID integration with the 3rd order Adams-Bashforth was inccorect. The fail_stuck property of sensors (accelerometers, magnetometers, gyro, etc.) without a <lag> element was setting the output to zero instead of sticking to the last output value. When a sensor was stuck, the drift, gain, bias and quantization of the last output before being stuck were ignored. Fixed the Calibrated Air Speed (CAS) computations for supersonic velocities Fixed the Nlf (Normal load factor) sign Nlf can now be specified as an initial condition via the property ic/targetNlf Added blocking sockets to the input features Added a property to piston engines to get the AFR (Air to Fuel Ratio) Added conversion from m/s to ft/s Restored the initial conditions for engines running (-1 means all engines) Significant Aircraft Updates "Metadata" has been added to many aircraft, making it easier to find new exciting aircraft to fly using the launcher, whether you are interested in aircraft from the 1920s or twin engined business jets. B-25 : Various bug fixes and minor improvements Cessna 172 : Improved cockpit, interior lighting. Citation II : New panels, radio instruments. Complete remodeling of the electric system, with accurate bus voltage, circuit breakers. System test knob implemented. F4U : new FDM F-14 : V1.8. Improved flight model, particularly in a low-speed regime. Improved cockpit. F-15 : V1.8. Updated flight model, particularly armament mass location. Performance optimizations. Autopilot improvements. F-16 : v3.0. Store options. New liveries. Radar performance optimizations. Autopilot and system improvements. FDM fixes. Saab 37 Viggen : Version 4.313. Various updates, particularly to radar and armament models. Seneca II: Long range tanks, interior lighting, SpaceShuttle : Milestone-10. Improved interior (including furry velcro), launch guidance and orbital plane targeting, more realistic OMS burn procedures, expanded systems including circuit breaker simulation and failure modeling. 777: Our flagship airliner now fully supports checklists, allowing you to learn everything about the aircraft from within the simulator. Full support to auto-push was also implemented. Bug fixes and minor improvements. Other FG1000 glass panel display, inspired by moving map devices like the the Garmin G1000 Improved Replay handling of AI aircraft and carriers - judge your own carrier landings. KC-130 tanker aircraft for air-to-air refueling Flightplan GPX import now supports elevation values. TACAN: Add support for setting TACAN by frequency 2018.3.2 point release Chinese font support for the splash screen / tips, and some updated Chinese translations C172P bug fixes fixed crash on certain AMD 64-bit systems relating to SSE intrinsics and memory alignment fixed crash loading flightplans saved from LittleNavMap with non-sequential waypoint indices tolerate missing runways parsing Navigraph procedures, so current cycle can be used at more airports use Ref versions of osgDB methods to avoid crashes, especially after long flights fix a NaN in the sky rendering code at extreme orbital altitudes set default values of some position properties for consistency with the rest (affected C172 tie-down mode) fix JSBSim wheel-spin down regression
2019-03-14 19:13:18 +01:00
# The cmake script warns against building in the source directory.
pre-configure:
cd ${WRKSRC} && ${MKDIR} fgbuild
.include "../../audio/openal-soft/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../games/plib/buildlink3.mk"
BUILDLINK_API_DEPENDS.simgear+= simgear>=2019.1.1
.include "../../games/simgear/buildlink3.mk"
2018-12-04 04:56:27 +01:00
.include "../../graphics/freeglut/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/glew/buildlink3.mk"
.include "../../graphics/osg/buildlink3.mk"
2018-12-04 04:56:27 +01:00
.include "../../www/curl/buildlink3.mk"
games/{simgear,flightgear,flightgear-data}: Update to 2018.3.2. Usability Flightplan loading within the launcher. Chinese, Russian and Italian translations for the launcher and UI Improved support for the state of the aircraft depending on starting location - cold and dark on the ramp, engine running ready for take-off on the runway, or in cruise flight. Input Improved joystick configuration and binding options. AI / Multiplayer Multiple Levels of Detail (LoD) for MP and AI aircraft. To improve performance, low-detail models are used when the viewer is far from the MP aircraft. Fallback models to display in the case where a viewer does not have the MP aircraft installed. Many improvements to AI models including new liveries, timetabled movements Graphics Support for retrieving Canvas images over HTTP. This is a useful feature for displaying instruments like a PFD, ND, EICAS or any MFD externally from the FlightGear 3D main window in a separate window or on a separate monitor, computer or a mobile device. See Read_canvas_image_by_HTTP for more information. Improved cloud rendering with stronger Mie scattering on cloud fringes, improved scattering on cirrus clouds Reset: wipe the Effect UniformCache Scenery Improved scenery for Hawaii, the default location for this release. New scenery for Jan Mayen, situated northeast of Iceland. Including the active volcano of Beerenberg (2277m). JSBSim The feature fail_hardover of the <actuator> component was not giving the correct output in some occurences when clipmax was smaller in absolute value than clipmin. Tables CORNERING_COEFF could not be used for BOGEY contact points. Bug fixes for JSBSim atmosphere model at very high altitudes Fixed PID integration with the 3rd order Adams-Bashforth was inccorect. The fail_stuck property of sensors (accelerometers, magnetometers, gyro, etc.) without a <lag> element was setting the output to zero instead of sticking to the last output value. When a sensor was stuck, the drift, gain, bias and quantization of the last output before being stuck were ignored. Fixed the Calibrated Air Speed (CAS) computations for supersonic velocities Fixed the Nlf (Normal load factor) sign Nlf can now be specified as an initial condition via the property ic/targetNlf Added blocking sockets to the input features Added a property to piston engines to get the AFR (Air to Fuel Ratio) Added conversion from m/s to ft/s Restored the initial conditions for engines running (-1 means all engines) Significant Aircraft Updates "Metadata" has been added to many aircraft, making it easier to find new exciting aircraft to fly using the launcher, whether you are interested in aircraft from the 1920s or twin engined business jets. B-25 : Various bug fixes and minor improvements Cessna 172 : Improved cockpit, interior lighting. Citation II : New panels, radio instruments. Complete remodeling of the electric system, with accurate bus voltage, circuit breakers. System test knob implemented. F4U : new FDM F-14 : V1.8. Improved flight model, particularly in a low-speed regime. Improved cockpit. F-15 : V1.8. Updated flight model, particularly armament mass location. Performance optimizations. Autopilot improvements. F-16 : v3.0. Store options. New liveries. Radar performance optimizations. Autopilot and system improvements. FDM fixes. Saab 37 Viggen : Version 4.313. Various updates, particularly to radar and armament models. Seneca II: Long range tanks, interior lighting, SpaceShuttle : Milestone-10. Improved interior (including furry velcro), launch guidance and orbital plane targeting, more realistic OMS burn procedures, expanded systems including circuit breaker simulation and failure modeling. 777: Our flagship airliner now fully supports checklists, allowing you to learn everything about the aircraft from within the simulator. Full support to auto-push was also implemented. Bug fixes and minor improvements. Other FG1000 glass panel display, inspired by moving map devices like the the Garmin G1000 Improved Replay handling of AI aircraft and carriers - judge your own carrier landings. KC-130 tanker aircraft for air-to-air refueling Flightplan GPX import now supports elevation values. TACAN: Add support for setting TACAN by frequency 2018.3.2 point release Chinese font support for the splash screen / tips, and some updated Chinese translations C172P bug fixes fixed crash on certain AMD 64-bit systems relating to SSE intrinsics and memory alignment fixed crash loading flightplans saved from LittleNavMap with non-sequential waypoint indices tolerate missing runways parsing Navigraph procedures, so current cycle can be used at more airports use Ref versions of osgDB methods to avoid crashes, especially after long flights fix a NaN in the sky rendering code at extreme orbital altitudes set default values of some position properties for consistency with the rest (affected C172 tie-down mode) fix JSBSim wheel-spin down regression
2019-03-14 19:13:18 +01:00
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtquickcontrols2/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
2018-12-04 04:56:27 +01:00
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"