Skip to content

Commit

Permalink
[qbs] Once again, fixed icons installation
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-izo committed Nov 23, 2016
1 parent 04ee935 commit 4422122
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions src/share/share.qbs
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,15 @@ Product {
files: "**"
}

/*Group {
Group {
name: "Default tray icons"
condition: installIcons && qbs.targetOS.contains("linux")
fileTags: [ "install" ]
qbs.installDir: project.qutim_share_path + "/icons/"
qbs.installDir: project.qutim_system_share_path
qbs.install: true
files: "../../artwork/icons/qutim/**"
qbs.installSourceBase: "../../artwork/icons/qutim"
}*/
qbs.installSourceBase: "../../artwork/icons/qutim/"
}

Group {
name: "Default icon theme"
Expand All @@ -94,19 +95,10 @@ Product {
qbs.installSourceBase: "../../artwork/icons/qutim-default"
}

Group { // Yes, next theme is exactly the same
name: "System fallback theme"
condition: installIcons && installHicolorTheme && qbs.targetOS.contains("linux")
fileTags: [ "install" ]
qbs.installDir: project.qutim_system_share_path + "/icons/hicolor/"
qbs.install: true
files: ["../../artwork/icons/qutim/icons/hicolor/**"]
qbs.installSourceBase: "../../artwork/icons/qutim/icons/hicolor/"
}

Group {
name: "Fallback icon theme"
condition: installIcons && installHicolorTheme
name: "System fallback theme"
condition: installIcons && installHicolorTheme && !qbs.targetOS.contains("linux")
// thanks qbs for not allowing to install one file to two destinations
fileTags: [ "install" ]
qbs.installDir: project.qutim_share_path + "/icons/hicolor/"
qbs.install: true
Expand Down

0 comments on commit 4422122

Please sign in to comment.