first commit
This commit is contained in:
23
package/CMakeLists.txt
Normal file
23
package/CMakeLists.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
# this is the timestampe of when we ran Cmake, we could
|
||||
# switch to parsing this from flightgear/version file explicity,
|
||||
# but it's only needed by AppStream metainfo for the moment
|
||||
|
||||
string(TIMESTAMP FG_CMAKE_TIMESTAMP "%Y-%m-%d")
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
# our .desktop file specifies --launcher, so only install it for
|
||||
# a build with the launcher enabled.
|
||||
if (ENABLE_QT)
|
||||
install(FILES org.flightgear.FlightGear.desktop DESTINATION share/applications)
|
||||
endif()
|
||||
|
||||
# generate a metainfo file corresponding to this release
|
||||
configure_file (
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/org.flightgear.FlightGear.metainfo.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/org.flightgear.FlightGear.metainfo.xml"
|
||||
)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/org.flightgear.FlightGear.metainfo.xml" DESTINATION share/metainfo)
|
||||
|
||||
endif()
|
||||
106
package/FlightGear_app_icon.svg
Normal file
106
package/FlightGear_app_icon.svg
Normal file
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
|
||||
version="1.1"
|
||||
id="fgfs-logo"
|
||||
height="100%"
|
||||
width="100%"
|
||||
sodipodi:docname="FlightGear_app_icon.svg"
|
||||
viewBox="0 0 200 200"
|
||||
preserveAspectRatio="xMinYMin meet">
|
||||
<title
|
||||
id="title3935">FlightGear Logo</title>
|
||||
<defs
|
||||
id="defs4" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.9940411"
|
||||
inkscape:cx="131.49526"
|
||||
inkscape:cy="82.099036"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="fgfs-logo"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1366"
|
||||
inkscape:window-height="718"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="50"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:document-rotation="0" />
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>FlightGear Logo</dc:title>
|
||||
<dc:date>2014-09-28</dc:date>
|
||||
<dc:creator>
|
||||
<cc:Agent>
|
||||
<dc:title>flightgear.org</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:creator>
|
||||
<dc:rights>
|
||||
<cc:Agent>
|
||||
<dc:title>flightgear.org</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:rights>
|
||||
<dc:publisher>
|
||||
<cc:Agent>
|
||||
<dc:title>flightgear.org</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:publisher>
|
||||
<dc:identifier>flightgear.org/Logo</dc:identifier>
|
||||
<dc:subject>
|
||||
<rdf:Bag>
|
||||
<rdf:li>The FlightGear Logo</rdf:li>
|
||||
</rdf:Bag>
|
||||
</dc:subject>
|
||||
<dc:contributor>
|
||||
<cc:Agent>
|
||||
<dc:title>Original: unknown artist
|
||||
Beautified: Gijs de Roy
|
||||
Vectorized: Torsten Dreyer</dc:title>
|
||||
</cc:Agent>
|
||||
</dc:contributor>
|
||||
<cc:license
|
||||
rdf:resource="http://www.gnu.org/licenses/gpl-2.0.html" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<rect
|
||||
style="fill:#ffffff"
|
||||
id="bg"
|
||||
width="200"
|
||||
height="200"
|
||||
x="0"
|
||||
y="0"
|
||||
rx="40"
|
||||
ry="40" />
|
||||
<path
|
||||
id="yellow"
|
||||
style="fill:#fbfc46"
|
||||
d="M 50 0 L 50 25 L 75 25 L 75 0 L 50 0 z M 50 25 L 25 25 L 25 50 L 50 50 L 50 25 z M 50 50 L 50 75 L 75 75 L 75 50 L 50 50 z M 50 75 L 25 75 L 25 100 L 50 100 L 50 75 z M 50 100 L 50 125 L 75 125 L 75 100 L 50 100 z M 50 125 L 25 125 L 25 150 L 50 150 L 50 125 z M 50 150 L 50 175 L 75 175 L 75 150 L 50 150 z M 50 175 L 25 175 L 25 197.10156 C 29.62912 198.96539 34.688263 200 40 200 L 50 200 L 50 175 z M 25 175 L 25 150 L 0 150 L 0 160 C 0 165.31174 1.0346147 170.37088 2.8984375 175 L 25 175 z M 25 125 L 25 100 L 0 100 L 0 125 L 25 125 z M 25 75 L 25 50 L 0 50 L 0 75 L 25 75 z M 25 25 L 25 2.8984375 C 14.946045 6.9464618 6.9464618 14.946045 2.8984375 25 L 25 25 z " />
|
||||
<path
|
||||
style="fill:#427ebf"
|
||||
d="m 97.41844,27.531176 c -1.662,0 -3,1.338 -3,3 l 0,10.0625 0,10.96875 0,33.96875 0,20.937504 0,62.99998 c 0,1.662 1.338,3 3,3 l 29.1875,0 c 1.662,0 3,-1.338 3,-3 l 0,-59.99998 51.90625,0 c 1.662,0 3,-1.338 3,-3 l 0,-20.937504 c 0,-1.662 -1.338,-3 -3,-3 l -51.90625,0 0,-27.96875 55.9375,0 c 1.662,0 3,-1.338 3,-3 l 0,-21.03125 c 0,-1.662 -1.338,-3 -3,-3 l -88.125,0 z"
|
||||
id="F"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
id="path315"
|
||||
style="fill:#000000;font-variation-settings:normal;opacity:1;vector-effect:none;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000;stop-opacity:1"
|
||||
d="M 40 0 C 34.688263 0 29.62912 1.0346147 25 2.8984375 L 25 25 L 50 25 L 50 0 L 40 0 z M 50 25 L 50 50 L 75 50 L 75 25 L 50 25 z M 50 50 L 25 50 L 25 75 L 50 75 L 50 50 z M 50 75 L 50 100 L 75 100 L 75 75 L 50 75 z M 50 100 L 25 100 L 25 125 L 50 125 L 50 100 z M 50 125 L 50 150 L 75 150 L 75 125 L 50 125 z M 50 150 L 25 150 L 25 175 L 50 175 L 50 150 z M 50 175 L 50 200 L 75 200 L 75 175 L 50 175 z M 25 175 L 2.8984375 175 C 6.9464618 185.05396 14.946045 193.05354 25 197.10156 L 25 175 z M 25 150 L 25 125 L 0 125 L 0 150 L 25 150 z M 25 100 L 25 75 L 0 75 L 0 100 L 25 100 z M 25 50 L 25 25 L 2.8984375 25 C 1.0346147 29.62912 0 34.688263 0 40 L 0 50 L 25 50 z " />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.7 KiB |
BIN
package/flightgear.ico
Normal file
BIN
package/flightgear.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 102 KiB |
BIN
package/mac/FlightGear.icns
Normal file
BIN
package/mac/FlightGear.icns
Normal file
Binary file not shown.
91
package/make-base-package.noarch.sh
Executable file
91
package/make-base-package.noarch.sh
Executable file
@@ -0,0 +1,91 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo $1 $2
|
||||
|
||||
if [ "x$1" != "x" ]; then
|
||||
BASE="$1"
|
||||
else
|
||||
BASE="/home/curt/Projects/FlightGear/"
|
||||
fi
|
||||
|
||||
if [ "x$2" != "x" ]; then
|
||||
VERSION="$2"
|
||||
else
|
||||
VERSION="2.7"
|
||||
fi
|
||||
|
||||
echo base dir = $BASE, version = $VERSION
|
||||
|
||||
cd $BASE
|
||||
|
||||
tar \
|
||||
--exclude=CVS \
|
||||
--exclude='*~' \
|
||||
--exclude='*.bak' \
|
||||
--exclude='*.tex' \
|
||||
--exclude='*.xcf' \
|
||||
--exclude='*/c172/Instruments.high' \
|
||||
--exclude='*/Textures/Unused' \
|
||||
--exclude='*/Textures/*.orig' \
|
||||
--exclude='*/Textures.high/*.new' \
|
||||
--exclude='*/Textures.high/*.orig' \
|
||||
--exclude='*/Textures.high/*.save' \
|
||||
--exclude='*/data/Data' \
|
||||
--exclude='*/Docs/source' \
|
||||
--exclude='*/Models/MNUAV' \
|
||||
--exclude='*/Models/Airspace' \
|
||||
-cjvf FlightGear-data-${VERSION}.tar.bz2 \
|
||||
data/AI \
|
||||
data/Aircraft/Generic \
|
||||
data/Aircraft/Instruments \
|
||||
data/Aircraft/Instruments-3d \
|
||||
data/Aircraft/UIUC \
|
||||
data/Aircraft/777 \
|
||||
data/Aircraft/777-200 \
|
||||
data/Aircraft/A6M2 \
|
||||
data/Aircraft/ASK13 \
|
||||
data/Aircraft/b1900d \
|
||||
data/Aircraft/bo105 \
|
||||
data/Aircraft/c172p \
|
||||
data/Aircraft/CitationX \
|
||||
data/Aircraft/Dragonfly \
|
||||
data/Aircraft/dhc2 \
|
||||
data/Aircraft/f-14b \
|
||||
data/Aircraft/Cub \
|
||||
data/Aircraft/SenecaII \
|
||||
data/Aircraft/sopwithCamel \
|
||||
data/Aircraft/ufo \
|
||||
data/Aircraft/ZLT-NT \
|
||||
data/Airports \
|
||||
data/Astro \
|
||||
data/ATC \
|
||||
data/AUTHORS \
|
||||
data/ChangeLog \
|
||||
data/COPYING \
|
||||
data/D* \
|
||||
data/Effects \
|
||||
data/Environment \
|
||||
data/Fonts \
|
||||
data/gui \
|
||||
data/HLA \
|
||||
data/Huds \
|
||||
data/Input \
|
||||
data/joysticks.xml \
|
||||
data/keyboard.xml \
|
||||
data/Lighting \
|
||||
data/mice.xml \
|
||||
data/Materials \
|
||||
data/Models \
|
||||
data/MP \
|
||||
data/N* \
|
||||
data/options.xml \
|
||||
data/preferences.xml \
|
||||
data/Protocol \
|
||||
data/README \
|
||||
data/Scenery/Airports \
|
||||
data/Scenery/Objects \
|
||||
data/Scenery/Terrain \
|
||||
data/Shaders \
|
||||
data/Sounds \
|
||||
data/T* \
|
||||
data/version
|
||||
51
package/org.flightgear.FlightGear.desktop
Normal file
51
package/org.flightgear.FlightGear.desktop
Normal file
@@ -0,0 +1,51 @@
|
||||
[Desktop Entry]
|
||||
Version=1.1
|
||||
Name=FlightGear
|
||||
GenericName=Flight simulator
|
||||
GenericName[ca]=Simulador de vol
|
||||
GenericName[de]=Flugsimulator
|
||||
GenericName[es]=Simulador de vuelo
|
||||
GenericName[fr]=Simulateur de vol
|
||||
GenericName[it]=Simulatore di volo
|
||||
GenericName[lt]=Skrydžių simuliatorius
|
||||
GenericName[nl]=Vluchtsimulator
|
||||
GenericName[pl]=Symulator lotu
|
||||
GenericName[pt]=Simulador de Voo
|
||||
GenericName[ro]=Simulator de zbor
|
||||
GenericName[sk]=Letový simulátor
|
||||
GenericName[tr]=Uçuş simülatörü
|
||||
GenericName[zh]=模拟飞行
|
||||
Comment=Practice flight training (airplanes, helicopters...)
|
||||
Comment[ca]=Practiqueu l'entrenament de vol (avions, helicòpters...)
|
||||
Comment[de]=Fliegen üben (Flugzeuge, Helikopter...)
|
||||
Comment[es]=Practica el entrenamiento de vuelo (aviones, helicópteros...)
|
||||
Comment[fr]=S’entraîner au pilotage (avions, hélicoptères...)
|
||||
Comment[it]=Addestrati al volo (aerei, elicotteri...)
|
||||
Comment[lt]=Treniruokitės skrydžius (lėktuvais, sraigtasparniais...)
|
||||
Comment[nl]=Beoefen Vlieglessen (vliegtuigen, helikopters...)
|
||||
Comment[pl]=Szkolenie lotnicze (samoloty, helikoptery...)
|
||||
Comment[pt]=Treinar pilotagem
|
||||
Comment[ro]=Exersarea pilotajului (avioane, elicoptere...)
|
||||
Comment[sk]=Praktikuje letový tréning (lietadlá, helikoptéry...)
|
||||
Comment[tr]=Uçuş eğitimi alıştırması yapın (uçaklar, helikopterler...)
|
||||
Comment[zh]=飞行训练 (固定翼飞机、直升飞机......)
|
||||
Exec=fgfs --launcher
|
||||
Icon=flightgear
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;Simulation
|
||||
Keywords=aviation;pilot;piloting;simulation;aeronautics;aircraft;airplane;seaplane;sailplane;glider;helicopter;airship;gas balloon;parachute;paraglider;hang-glider;spacecraft;rocket;space shuttle
|
||||
Keywords[ca]=aviació;pilot;pilotatge;simulació;aeronàutica;aeronau;avió;hidroavió;planador;parapent;helicòpter;dirigible;globus;paracaigudes;paraglider;ala delta;nau espacial;coet;transbordador espacial
|
||||
Keywords[de]=Luftfahrt;Pilot;Fliegen;Simulation;Aeronautik;Luftfahrzeug;Flugzeug;Wasserflugzeug;Segelflugzeug;Gleiter;Helikopter;Luftschiff;Gasballon;Heißluftballon;Fallschirm;Gleitschirm;Hängegleiter;Raumfahrzeug;Rakete;Space Shuttle
|
||||
Keywords[es]=aviación;piloto;pilotaje;simulación;aeronáutica;aeronave;avión;hidroavión;planeador;parapente;helicóptero;dirigible;globo;paracaídas;paraglider;ala-delta;nave espacial;cohete;transbordador espacial
|
||||
Keywords[fr]=aviation;pilote;pilotage;simulation;aéronautique;aéronef;avion;hydravion;planeur;hélicoptère;ballon dirigeable;montgolfière;parachute;parapente;deltaplane;véhicule spatial;fusée;navette spatiale
|
||||
Keywords[it]=aviazione;pilota;pilotaggio;simulazione;aeronautica;aeromobile;aereo;idrovolante;aliante;elicottero;dirigibile;mongolfiera;paracadute;parapendio;deltaplano;astronave;razzo;space shuttle
|
||||
Keywords[lt]=aviacija;pilotas;pilotavimas;simuliacija;aeronautika;orlaivis;lėktuvas;hidroplanas;sklandytuvas;straigtasparnis;dirižablis;oro balionas;parašiutas;parasparnis;deltaplanas;erdvėlaivis;raketa;space shuttle
|
||||
Keywords[nl]=luchtvaart;piloot;vliegen;simulatie;navigatie;luchtvaartuig;vliegtuig;watervliegtuig;zweefvliegtuig;helikopter;luchtschip;luchtballon;valscherm;glijscherm;deltavlieger;ruimteschip;raket;ruimteveer
|
||||
Keywords[pl]=lotnictwo;pilot;pilotaż;symulacja;aeronautyka;statek powietrzny;samolot;wodnosamolot;szybowiec;helikopter;sterowiec;balon;spadochron;paralotnia;lotnia;statek kosmiczny;rakieta;prom kosmiczny
|
||||
Keywords[pt]=simulação;aeronave;avião;helicóptero;dirigível;balão;paraquedas;parapente;asa-delta;espaçonave;foguete;vaivém espacial
|
||||
Keywords[pt_BR]=simulação;aeronave;avião;helicóptero;dirigível;balão;paraquedas;parapente;asa-delta;espaçonave;foguete;ônibus espacial
|
||||
Keywords[ro]=aviație;pilot;pilotaj;simulator;aeronautică;aeronavă;avion;aeroplan;hidroavion;elicopter;dirijabil;balon;parașută;parapantă;planor;deltaplan;navă;spațială;rachetă;naveta spațială
|
||||
Keywords[sk]=lietanie;let;pilot;pilotovanie;simulácia;simulovanie;aeronautika;lietadlo;letectvo;hydroplán;klzák;vetroň;helikoptéra;vrtuľník;vzducholoď;teplovzdušný;balón;padák;parašutista;paraglajding;rogalo;závesný;kozmická;loď;raketa;raketoplán;
|
||||
Keywords[tr]=havacılık;pilot;piloting;simülasyon;havacılık;uçak;uçak;deniz uçağı;planör;planör;helikopter;zeplin;gaz balonu;paraşüt;yamaç paraşütü;planör;uzay aracı;roket;uzay mekiği
|
||||
Keywords[zh]=航空;飞行员;飞机驾驶;模拟;航空学;飞行器;飞机;水上飞机;轻型滑翔机;滑翔机;直升飞机;飞艇;载人气球;降落伞;滑翔伞;悬挂式滑翔机;太空船;火箭;航天飞机
|
||||
50
package/org.flightgear.FlightGear.metainfo.in
Normal file
50
package/org.flightgear.FlightGear.metainfo.in
Normal file
@@ -0,0 +1,50 @@
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
||||
<!-- HOUSEKEEPING, REMOVE THIS COMMENT WHEN THIS GOES UPSTREAM
|
||||
BugReportURL: https://sourceforge.net/p/fgrun/support-requests/9/
|
||||
SentUpstream: 2014-09-17
|
||||
-->
|
||||
<component type="desktop-application">
|
||||
<id>org.flightgear.FlightGear</id>
|
||||
<name>FlightGear</name>
|
||||
<summary>A free and highly sophisticated flight simulator</summary>
|
||||
<summary xml:lang="pt_BR">Um simulador de voo gratuito e altamente sofisticado</summary>
|
||||
<summary xml:lang="es">Un simulador de vuelo gratuito y altamente sofisticado</summary>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<description>
|
||||
<p>FlightGear allows you to control over 400 aircraft, small and large in a range of situations, types of weather, seasons, day and night cycle. This includes single-engine propeller aircraft, large 4-engine passenger liners, experimental aircraft, classic and vintage aircraft and helicopters.</p>
|
||||
<p xml:lang="pt_BR">FlightGear permite controlar mais de 400 aeronaves, pequenas e grandes em diversas situações, tipos de clima, estações do ano, ciclo diurno e noturno. Isso inclui aeronaves a hélice monomotor, grandes navios de passageiros de 4 motores, aeronaves experimentais, aeronaves clássicas e antigas e helicópteros.</p>
|
||||
<p xml:lang="es">FlightGear permite controlar más de 400 aeronaves, pequeñas y grandes en diversas situaciones, tipos de clima, estaciones del año, ciclo diurno y nocturno. Esto incluye aviones a hélice monomotor, grandes buques de pasajeros de 4 motores, aeronaves experimentales, aeronaves clásicas y antiguas y helicópteros.</p>
|
||||
<p>The FlightGear landscape covers the entire world and is downloaded as you fly. Visit any of the 20,000 airports with an accurate representation of airport buildings on many of the larger, international airports.</p>
|
||||
<p xml:lang="pt_BR">A paisagem do FlightGear cobre o mundo inteiro e é baixada enquanto você voa. Visite qualquer um dos 20.000 aeroportos com uma representação precisa dos edifícios do aeroporto em muitos dos maiores aeroportos internacionais.</p>
|
||||
<p xml:lang="es">El paisaje de FlightGear cubre el mundo entero y se descarga mientras vuela. Visite cualquiera de los 20.000 aeropuertos con una representación precisa de los edificios del aeropuerto en muchos de los mayores aeropuertos internacionales.</p>
|
||||
<p>Most popular flight control hardware, such as yokes and sticks are supported. Multiple monitor setup and multiplayer is also featured.</p>
|
||||
<p xml:lang="pt_BR">Mais popular hardware de controle de vôo, tais como yokes e sticks são suportados. Vários monitores de configuração e multiplayer também é destaque.</p>
|
||||
<p xml:lang="es">Más populares hardware de control de vuelo, como yokes y sticks son compatibles. Varios monitores de configuración y multijugador también se destaca.</p>
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image>http://wiki.flightgear.org/images/b/b3/SOTM-Feb18.jpg</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image>http://wiki.flightgear.org/images/3/37/SOTY-2017.jpeg</image>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image>http://wiki.flightgear.org/images/2/27/SOTM-Oct17.png</image>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<content_rating type="oars-1.1">
|
||||
<content_attribute id="social-chat">intense</content_attribute>
|
||||
</content_rating>
|
||||
<project_license>GPL-2.0</project_license>
|
||||
<developer_name>FlightGear Developers</developer_name>
|
||||
<url type="homepage">https://www.flightgear.org/</url>
|
||||
<url type="bugtracker">https://sourceforge.net/p/flightgear/codetickets/</url>
|
||||
<url type="donation">https://store.flightgear.org/</url>
|
||||
<url type="help">http://flightgear.sourceforge.net/manual/next/en/getstart-en.html</url>
|
||||
<url type="translate">http://wiki.flightgear.org/Howto:Translate_FlightGear</url>
|
||||
<releases>
|
||||
<release version="@FLIGHTGEAR_VERSION@" date="@FG_CMAKE_TIMESTAMP@" />
|
||||
</releases>
|
||||
</component>
|
||||
34
package/svg2icns.sh
Executable file
34
package/svg2icns.sh
Executable file
@@ -0,0 +1,34 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
# taken from https://gist.github.com/adriansr/1da9b18a8076b0f8a977a5eea0ae41ef
|
||||
# run `brew install svg2png` to get svg2png
|
||||
# iconutil comes from the Apple developer tools
|
||||
|
||||
set -e
|
||||
|
||||
SIZES="
|
||||
16,16x16
|
||||
32,16x16@2x
|
||||
32,32x32
|
||||
64,32x32@2x
|
||||
128,128x128
|
||||
256,128x128@2x
|
||||
256,256x256
|
||||
512,256x256@2x
|
||||
512,512x512
|
||||
1024,512x512@2x
|
||||
"
|
||||
|
||||
for SVG in "$@"; do
|
||||
BASE=$(basename "$SVG" | sed 's/\.[^\.]*$//')
|
||||
ICONSET="$BASE.iconset"
|
||||
mkdir -p "$ICONSET"
|
||||
for PARAMS in $SIZES; do
|
||||
SIZE=$(echo $PARAMS | cut -d, -f1)
|
||||
LABEL=$(echo $PARAMS | cut -d, -f2)
|
||||
svg2png -w $SIZE -h $SIZE "$SVG" "$ICONSET"/icon_$LABEL.png
|
||||
done
|
||||
|
||||
iconutil -c icns "$ICONSET"
|
||||
rm -rf "$ICONSET"
|
||||
done
|
||||
3
package/windows/infobefore.txt
Normal file
3
package/windows/infobefore.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
=== INSTRUCTIONS BEFORE INSTALLATION ===
|
||||
|
||||
Please take care to disable your antivirus during installation.
|
||||
BIN
package/windows/setupimg.bmp
Normal file
BIN
package/windows/setupimg.bmp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 331 KiB |
BIN
package/windows/setupsmall.bmp
Normal file
BIN
package/windows/setupsmall.bmp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.1 KiB |
Reference in New Issue
Block a user