Skip to content

Commit

Permalink
prepare for building in multiarch
Browse files Browse the repository at this point in the history
  • Loading branch information
lduboeuf committed Nov 6, 2019
1 parent 4ef712b commit ccc7bd4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 15 deletions.
12 changes: 12 additions & 0 deletions stellarium.pro
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,21 @@ QMAKE_CXXFLAGS_RELEASE += -Ofast
UBUNTU_TOUCH {
DEFINES += Q_OS_UBUNTU_TOUCH



target.path = /
INSTALLS += target

# figure out the current build architecture
CLICK_ARCH=$$system(dpkg-architecture -qDEB_HOST_ARCH)


# substitute the architecture in the manifest file
QMAKE_SUBSTITUTES += $$PWD/ubuntu_touch/manifest.json.in
manifest.files = ubuntu_touch/manifest.json
manifest.path = /
INSTALLS += manifest

click_files.path = /
click_files.files = $$PWD/ubuntu_touch/*

Expand Down
15 changes: 0 additions & 15 deletions ubuntu_touch/manifest.json

This file was deleted.

15 changes: 15 additions & 0 deletions ubuntu_touch/manifest.json.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
\"name\": \"me.lduboeuf.stellarium\",
\"description\": \"Stellarium\",
\"architecture\": \"$${CLICK_ARCH}\",
\"title\": \"stellarium\",
\"hooks\": {
\"stellarium\": {
\"apparmor\": \"stellarium.apparmor\",
\"desktop\": \"stellarium.desktop\"
}
},
\"version\": \"0.2.3\",
\"maintainer\": \"lionel <[email protected]>\",
\"framework\" : \"ubuntu-sdk-16.04\"
}

0 comments on commit ccc7bd4

Please sign in to comment.