aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-24 22:14:29 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-09-24 22:14:29 +0200
commite55702651505b2b23427a5d407cdbe6b7d2ce7c9 (patch)
tree98b5680ecc9ea18eee0da253a416e5015191da22 /CMakeLists.txt
parentcfb1e385c8f67f40490f8e82446a583e3b5a5070 (diff)
downloadsynthpod-e55702651505b2b23427a5d407cdbe6b7d2ce7c9.tar.xz
prototype cpack.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2a01982f..6f0d6c26 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,3 +91,28 @@ add_subdirectory(plugins)
add_subdirectory(data)
add_subdirectory(state)
add_subdirectory(bundle)
+
+# CPack
+set(CPACK_GENERATOR "TBZ2;DEB")
+
+set(CPACK_PACKAGE_NAME "synthpod")
+set(CPACK_PACKER_VERSION "${SYNTHPOD_VERSION}")
+set(CPACK_PACKAGE_CONTACT "Hanspeter Portner <dev@open-music-kontrollers.ch>")
+set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Non-linear plugin container")
+SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_SOURCE_DIR}/README.md")
+SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
+SET(CPACK_STRIP_FILES "lib/libsynthpod.so;lib/libsynthpod_ui.so;lib/synthpod/synthpod_bundle.so;lib/lv2/synthpod.lv2/synthpod.so;lib/lv2/synthpod.lv2/synthpod_ui.so")
+
+# Debian
+set(CPACK_DEBIAN_PACKAGE_NAME ${CPACK_PACKAGE_NAME})
+set(CPACK_DEBIAN_PACKAGE_VERSION ${CPACK_PACKAGE_VERSION})
+set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
+set(CPACK_DEBIAN_PACKAGE_BUILD_DEPENDS "lv2core (>= 4.0-4~), lv2-extensions-good, libelementary-dev, libzita-alsa-pcmi-dev, libjack-dev, libasound2-dev")
+set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6, libelementary2, libevas1-engine-software-x11, libevas1-engine-gl-x11, jackd, libzita-alsa-pcmi0")
+set(CPACK_DEBIAN_PACKAGE_PROVIDES "lv2-plugin")
+set(CPACK_DEBIAN_PACKAGE_MAINAINER ${CPACK_PACKAGE_CONTACT})
+set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "http://open-music-kontrollers.ch/lv2/moony/")
+set(CPACK_DEBIAN_PACKAGE_DESCRIPTION ${CPACK_PACKAGE_DESCRIPTION_SUMMARY})
+set(CPACK_DEBIAN_PACKAGE_SECTION "libs")
+
+include(CPack)