mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Add a couple things required to support snap packges.
This commit is contained in:
parent
36ede66603
commit
821b4de874
@ -261,6 +261,25 @@ install(
|
||||
GROUP_EXECUTE GROUP_READ GROUP_WRITE
|
||||
WORLD_EXECUTE WORLD_READ)
|
||||
|
||||
# snap wrapper scripts, if applicable
|
||||
if (${SNAP_ENABLED} MATCHES "true")
|
||||
install(
|
||||
FILES "${CMAKE_CURRENT_BINARY_DIR}src/musikcube/musikcube.snap"
|
||||
DESTINATION share/musikcube.snap
|
||||
PERMISSIONS
|
||||
OWNER_EXECUTE OWNER_READ OWNER_WRITE
|
||||
GROUP_EXECUTE GROUP_READ GROUP_WRITE
|
||||
WORLD_EXECUTE WORLD_READ)
|
||||
|
||||
install(
|
||||
FILES "${CMAKE_CURRENT_BINARY_DIR}/src/musikcubed/musikcubed.snap"
|
||||
DESTINATION share/musikcubed.snap
|
||||
PERMISSIONS
|
||||
OWNER_EXECUTE OWNER_READ OWNER_WRITE
|
||||
GROUP_EXECUTE GROUP_READ GROUP_WRITE
|
||||
WORLD_EXECUTE WORLD_READ)
|
||||
endif()
|
||||
|
||||
# executable and shell script for daemon
|
||||
install(
|
||||
FILES bin/musikcubed
|
||||
|
3
src/musikcube/musikcube.snap
Executable file
3
src/musikcube/musikcube.snap
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
LANG=C.UTF-8 ./musikcube
|
3
src/musikcubed/musikcubed.snap
Executable file
3
src/musikcubed/musikcubed.snap
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
LANG=C.UTF-8 ./musikcubed
|
Loading…
Reference in New Issue
Block a user