mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-10 06:31:41 +00:00
Initial Apple packaging. Needs Gtk / Pango crap.
This commit is contained in:
parent
876c1438c2
commit
c72536f4b3
10 changed files with 79 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
/apple/target/*
|
||||
/install/q3map2
|
||||
/install/radiant.bin
|
||||
/.sconsign.dblite
|
||||
|
@ -6,3 +7,4 @@
|
|||
*.pyc
|
||||
*.so
|
||||
.settings
|
||||
.DS_Store
|
||||
|
|
28
apple/GtkRadiant.app/Contents/Info.plist
Normal file
28
apple/GtkRadiant.app/Contents/Info.plist
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>GtkRadiant</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>radiant.bin</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>radiant.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>org.icculus.gtkradiant</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>GtkRadiant</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.6.4</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.6.4</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.6</string>
|
||||
</dict>
|
||||
</plist>
|
0
apple/GtkRadiant.app/Contents/MacOS/modules/.turd
Normal file
0
apple/GtkRadiant.app/Contents/MacOS/modules/.turd
Normal file
0
apple/GtkRadiant.app/Contents/Resources/bitmaps/.turd
Normal file
0
apple/GtkRadiant.app/Contents/Resources/bitmaps/.turd
Normal file
0
apple/GtkRadiant.app/Contents/Resources/games/.turd
Normal file
0
apple/GtkRadiant.app/Contents/Resources/games/.turd
Normal file
0
apple/GtkRadiant.app/Contents/Resources/installs/.turd
Normal file
0
apple/GtkRadiant.app/Contents/Resources/installs/.turd
Normal file
BIN
apple/GtkRadiant.app/Contents/Resources/radiant.icns
Normal file
BIN
apple/GtkRadiant.app/Contents/Resources/radiant.icns
Normal file
Binary file not shown.
0
apple/GtkRadiant.app/Contents/lib/.turd
Normal file
0
apple/GtkRadiant.app/Contents/lib/.turd
Normal file
49
apple/Makefile
Normal file
49
apple/Makefile
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Makefile for GtkRadiant, requires http://macdylibbundler.sourceforge.net/
|
||||
|
||||
INSTALL = ../install
|
||||
TARGET = target
|
||||
GTKRADIANT = $(TARGET)/GtkRadiant.app
|
||||
LIBRARIES = $(GTKRADIANT)/Contents/lib
|
||||
BINARIES = $(GTKRADIANT)/Contents/MacOS
|
||||
RESOURCES = $(GTKRADIANT)/Contents/Resources
|
||||
VERSION = 1.6.4
|
||||
DMG = $(TARGET)/GtkRadiant-$(VERSION).dmg
|
||||
VOLUME_NAME = "GtkRadiant $(VERSION)"
|
||||
|
||||
all: install
|
||||
|
||||
pre-install:
|
||||
install -d $(TARGET)
|
||||
cp -r GtkRadiant.app $(TARGET)
|
||||
find $(TARGET) -name .turd -delete
|
||||
|
||||
install: pre-install
|
||||
install $(INSTALL)/radiant.bin $(BINARIES)/radiant.bin
|
||||
install $(INSTALL)/q3map2 $(BINARIES)/q3map2
|
||||
install $(INSTALL)/q3map2_urt $(BINARIES)/q3map2_urt
|
||||
install $(INSTALL)/q3data $(BINARIES)/q3data
|
||||
install $(INSTALL)/modules/*.so $(BINARIES)/modules
|
||||
|
||||
install $(INSTALL)/bitmaps/*.* $(RESOURCES)/bitmaps
|
||||
install $(INSTALL)/modules/bitmaps/*.* $(RESOURCES)/modules/bitmaps
|
||||
|
||||
@for i in $(INSTALL)/installs/*; do \
|
||||
if [ -d $$i/.svn ]; then \
|
||||
svn export --force $$i $(RESOURCES)/installs/`basename $$i` ; \
|
||||
else \
|
||||
cp -r $$i $(RESOURCES)/installs ; \
|
||||
fi \
|
||||
done
|
||||
|
||||
bundle:
|
||||
dylibbundler -b \
|
||||
`find $(BINARIES) -type f | xargs -I {} echo -x {}` \
|
||||
-d $(LIBRARIES) -of -p @executable_path/../lib
|
||||
|
||||
image:
|
||||
ln -f -s /Applications $(TARGET)/Applications
|
||||
hdiutil create $(DMG) -srcfolder $(TARGET) -volname $(VOLUME_NAME)
|
||||
rm $(TARGET)/Applications
|
||||
|
||||
clean:
|
||||
rm -rf $(TARGET)/*
|
Loading…
Reference in a new issue