summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-15 21:29:34 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-15 21:29:34 (GMT)
commit10619b03988d94136c1dc6cb9a0963130d42f48e (patch)
treef9f9f83fbd3bed102992e8a3e2da50337694c9e6
parent8fdfd7bdb4cee9a580630066951d97315311300c (diff)
downloadswift-10619b03988d94136c1dc6cb9a0963130d42f48e.zip
swift-10619b03988d94136c1dc6cb9a0963130d42f48e.tar.bz2
Install more icons on Linux.
-rw-r--r--Swift/QtUI/SConscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index 5e0a366..80b329c 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -222,6 +222,12 @@ if env["PLATFORM"] == "darwin" :
if env.get("SWIFT_INSTALLDIR", "") :
env.Install(os.path.join(env["SWIFT_INSTALLDIR"], "bin"), swiftProgram)
env.InstallAs(os.path.join(env["SWIFT_INSTALLDIR"], "share", "pixmaps", "swift.xpm"), "../resources/logo/logo-icon-32.xpm")
+ icons_path = os.path.join(env["SWIFT_INSTALLDIR"], "share", "icons", "hicolor")
+ env.InstallAs(os.path.join(icons_path, "32x32", "apps", "swift.xpm"), "../resources/logo/logo-icon-32.xpm")
+ env.InstallAs(os.path.join(icons_path, "scalable", "apps", "swift.svg"), "../resources/logo/logo-icon.svg")
+ # TODO: 22, 24
+ for i in ["16", "64", "128"] :
+ env.InstallAs(os.path.join(icons_path, i + "x" + i, "apps", "swift.png"), "../resources/logo/logo-icon-" + i + ".png")
env.Install(os.path.join(env["SWIFT_INSTALLDIR"], "share", "applications"), "../resources/swift.desktop")
for dir, resource in commonResources.items() :
env.Install(os.path.join(env["SWIFT_INSTALLDIR"], "share", "swift", dir), resource)