Skip to content

Commit

Permalink
CPack initial work
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed Apr 24, 2015
1 parent 75ea630 commit f6f43d0
Show file tree
Hide file tree
Showing 22 changed files with 87 additions and 55 deletions.
36 changes: 34 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_policy (VERSION 2.8)
project (vala-panel)
enable_testing ()
include(GNUInstallDirs)
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}")
set (DATADIR "${CMAKE_INSTALL_FULL_DATADIR}/vala-panel")
set (PKGDATADIR "${DATADIR}")
set (GETTEXT_PACKAGE "vala-panel")
Expand Down Expand Up @@ -35,13 +35,45 @@ set(VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")

# Add 'make dist' command for creating release tarball
set (CPACK_PACKAGE_VERSION ${VERSION})
set (CPACK_PACKAGE_VERSION_MAJOR "${VERSION_MAJOR}")
set (CPACK_PACKAGE_VERSION_MINOR "${VERSION_MINOR}")
set (CPACK_PACKAGE_VERSION_PATCH "${VERSION_PATCH}")
set (CPACK_SOURCE_GENERATOR "TGZ")
set (CPACK_SOURCE_PACKAGE_FILE_NAME "${CMAKE_PROJECT_NAME}-${CPACK_PACKAGE_VERSION}")
set (CPACK_SOURCE_IGNORE_FILES "/build/;/.git/;/.gitignore;/.gitmodules;~$;${CPACK_SOURCE_IGNORE_FILES}")

# Variables for CPack binary packages
set (CPACK_PACKAGE_NAME ${CMAKE_PROJECT_NAME})
set (CPACK_PACKAGE_RELEASE "1")
set (CPACK_PACKAGE_CONTACT "Konstantin P. <[email protected]>")
set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Vala Panel is GTK+ 3 desktop panel. It is based on Vala and some LXPanel ideas.")
set (CPACK_PACKAGE_DESCRIPTION "Vala Panel is GTK+ 3 desktop panel. It is based on Vala and LXPanel ideas.\nIn fact, it was be a fork of LXPanel in version 0.1.0, but in 0.2.0 it completery rewritten in Vala.\nIt offers same functionality as LXPanel, but:\n1. It has slightly more memory usage\n2. X11 dependency is stripped from panel core (but it is not tested on Wayland right now)\n3. Some of former LXPanel plugins is separate binaries now, and lives in another packages.")
set (CPACK_COMPONENTS_ALL "bin;dev;plugins-base;plugins-wnck")
set (CPACK_COMPONENT_dev_DEPENDS "bin")
set (CPACK_COMPONENT_plugins-base_DEPENDS "bin")
set (CPACK_COMPONENT_plugins-wnck_DEPENDS "bin")

# Variables and functions for building deb packages
set (CPACK_DEB_COMPONENT_INSTALL ON)
set (CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set (CPACK_DEBIAN_PACKAGE_SECTION "x11")
set (CPACK_DEBIAN_PACKAGE_REVISION ${CPACK_PACKAGE_RELEASE})
string(TOLOWER "${CPACK_PACKAGE_NAME}" CPACK_PACKAGE_NAME_LOWERCASE)
find_program(DPKG_PROGRAM dpkg DOC "dpkg program of Debian-based systems")
if(DPKG_PROGRAM)
execute_process(COMMAND ${DPKG_PROGRAM} --print-architecture
OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE
OUTPUT_STRIP_TRAILING_WHITESPACE)
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME_LOWERCASE}-${VERSION}-${CPACK_DEBIAN_PACKAGE_REVISION}_${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}")
else(DPKG_PROGRAM)
set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME_LOWERCASE}-${VERSION}-${CPACK_DEBIAN_PACKAGE_REVISION}_${CMAKE_SYSTEM_NAME}")
endif(DPKG_PROGRAM)

# Add 'make packages' command for building Debian and RPM packages
set (CPACK_GENERATOR "RPM")
include (CPack)
add_custom_target (dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)

add_custom_target (dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)
# Configuration
configure_file (${CMAKE_SOURCE_DIR}/vapi/config.vala.in ${CMAKE_BINARY_DIR}/vapi/config.vala)
configure_file (${CMAKE_SOURCE_DIR}/${APPNAME}.pc.cmake ${CMAKE_BINARY_DIR}/${APPNAME}.pc)
Expand Down
2 changes: 1 addition & 1 deletion app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ glib_compile_resources(GLIB_RESOURCES_APP
add_executable (${APPNAME} ${VALA_C} ${GLIB_RESOURCES_APP})
target_link_libraries (${APPNAME} ${LIBNAME})

install (TARGETS ${APPNAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
install (TARGETS ${APPNAME} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT bin)
4 changes: 2 additions & 2 deletions applets/core/clock/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ add_library (${PLUGIN_NAME} MODULE
target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
4 changes: 2 additions & 2 deletions applets/core/dirmenu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ add_library (${PLUGIN_NAME} MODULE
target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
8 changes: 4 additions & 4 deletions applets/core/kbled/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ OPTIONS
#####
INCLUDE(GResource)
glib_compile_resources(RESOURCES
source
${PLUGIN_NAME}.gresource.xml
source
${PLUGIN_NAME}.gresource.xml
)

# Build library for plugin
Expand All @@ -34,5 +34,5 @@ add_library (${PLUGIN_NAME} MODULE
target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
8 changes: 4 additions & 4 deletions applets/core/launchbar/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ OPTIONS
#####
INCLUDE(GResource)
glib_compile_resources(RESOURCES
source
${PLUGIN_NAME}.gresource.xml
source
${PLUGIN_NAME}.gresource.xml
)

# Build library for plugin
Expand All @@ -34,5 +34,5 @@ add_library (${PLUGIN_NAME} MODULE
target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
8 changes: 4 additions & 4 deletions applets/core/menumodel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ OPTIONS
#####
INCLUDE(GResource)
glib_compile_resources(RESOURCES
source
${PLUGIN_NAME}.gresource.xml
source
${PLUGIN_NAME}.gresource.xml
)

# Build library for plugin
Expand All @@ -35,5 +35,5 @@ add_library (${PLUGIN_NAME} MODULE
target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
4 changes: 2 additions & 2 deletions applets/core/separator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ add_library (${PLUGIN_NAME} MODULE
target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
4 changes: 2 additions & 2 deletions applets/drawing/cpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)
target_include_directories (${PLUGIN_NAME} PRIVATE ${LIB_PATHS})

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-base)
4 changes: 2 additions & 2 deletions applets/wnck/deskno/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)
target_include_directories (${PLUGIN_NAME} PRIVATE ${LIB_PATHS})

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-wnck)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-wnck)
4 changes: 2 additions & 2 deletions applets/wnck/pager/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)
target_include_directories (${PLUGIN_NAME} PRIVATE ${LIB_PATHS})

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-wnck)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-wnck)
4 changes: 2 additions & 2 deletions applets/wnck/tasklist/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)
target_include_directories (${PLUGIN_NAME} PRIVATE ${LIB_PATHS})

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-wnck)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-wnck)
4 changes: 2 additions & 2 deletions applets/wnck/wincmd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)
target_include_directories (${PLUGIN_NAME} PRIVATE ${LIB_PATHS})

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-wnck)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-wnck)
4 changes: 2 additions & 2 deletions applets/wnck/xembed/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ target_link_libraries (${PLUGIN_NAME} ${LIBS} valapanel)
target_include_directories (${PLUGIN_NAME} PRIVATE ${LIB_PATHS})

# Install plugin stuffs
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY})
install(TARGETS ${PLUGIN_NAME} DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-wnck)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PLUGIN_NAME}.plugin DESTINATION ${PLUGINS_DIRECTORY} COMPONENT plugins-wnck)
2 changes: 1 addition & 1 deletion cmake
12 changes: 6 additions & 6 deletions data/gschemas/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(GSettings)
add_schema("org.valapanel.gschema.xml")
add_schema("org.valapanel.toplevel.gschema.xml")
add_schema("org.valapanel.toplevel.plugin.gschema.xml")
add_schema("org.valapanel.builtin.gschema.xml")
add_schema("org.valapanel.plugins.gschema.xml")
add_schema("org.valapanel.X.gschema.xml")
add_schema("org.valapanel.gschema.xml" "bin")
add_schema("org.valapanel.toplevel.gschema.xml" "bin")
add_schema("org.valapanel.toplevel.plugin.gschema.xml" "bin")
add_schema("org.valapanel.builtin.gschema.xml" "bin")
add_schema("org.valapanel.plugins.gschema.xml" "bin")
add_schema("org.valapanel.X.gschema.xml" "bin")
4 changes: 2 additions & 2 deletions data/images/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
install(FILES panel.svg DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps RENAME vala-panel.svg)
install(FILES background.png DESTINATION ${DATADIR}/images)
install(FILES panel.svg DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps RENAME vala-panel.svg COMPONENT bin)
install(FILES background.png DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/vala-panel/images COMPONENT bin)
4 changes: 2 additions & 2 deletions data/profiles/appmenu/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
get_filename_component(PROFILE_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config DESTINATION ${PROFILES_DIR}/${PROFILE_NAME})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/panels/top DESTINATION ${PROFILES_DIR}/${PROFILE_NAME}/panels)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config DESTINATION ${PROFILES_DIR}/${PROFILE_NAME} COMPONENT bin)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/panels/top DESTINATION ${PROFILES_DIR}/${PROFILE_NAME}/panels COMPONENT bin)
4 changes: 2 additions & 2 deletions data/profiles/default/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
get_filename_component(PROFILE_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/panels/panel.in ${CMAKE_CURRENT_BINARY_DIR}/panels/panel)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config DESTINATION ${PROFILES_DIR}/${PROFILE_NAME})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/panels/panel DESTINATION ${PROFILES_DIR}/${PROFILE_NAME}/panels)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config DESTINATION ${PROFILES_DIR}/${PROFILE_NAME} COMPONENT bin)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/panels/panel DESTINATION ${PROFILES_DIR}/${PROFILE_NAME}/panels COMPONENT bin)
6 changes: 3 additions & 3 deletions data/profiles/two_panels/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
get_filename_component(PROFILE_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config DESTINATION ${PROFILES_DIR}/${PROFILE_NAME})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/panels/top DESTINATION ${PROFILES_DIR}/${PROFILE_NAME}/panels)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/panels/bottom DESTINATION ${PROFILES_DIR}/${PROFILE_NAME}/panels)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config DESTINATION ${PROFILES_DIR}/${PROFILE_NAME} COMPONENT bin)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/panels/top DESTINATION ${PROFILES_DIR}/${PROFILE_NAME}/panels COMPONENT bin)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/panels/bottom DESTINATION ${PROFILES_DIR}/${PROFILE_NAME}/panels COMPONENT bin)
10 changes: 5 additions & 5 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ set_target_properties (${LIBNAME} PROPERTIES
VERSION ${LIBVERSION}.0
SOVERSION ${SOVERSION})

install (TARGETS ${LIBNAME} DESTINATION ${CMAKE_INSTALL_LIBDIR})
install (TARGETS ${LIBNAME} DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT bin)

# Install lib stuffs
install (FILES ${CMAKE_BINARY_DIR}/${APPNAME}.pc DESTINATION lib/pkgconfig/)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${APPNAME}.vapi DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/vala/vapi/)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${APPNAME}.deps DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/vala/vapi/)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${APPNAME}.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/vala-panel/)
install (FILES ${CMAKE_BINARY_DIR}/${APPNAME}.pc DESTINATION lib/pkgconfig/ COMPONENT dev)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${APPNAME}.vapi DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/vala/vapi/ COMPONENT dev)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${APPNAME}.deps DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/vala/vapi/ COMPONENT dev)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${APPNAME}.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/vala-panel/ COMPONENT dev)
2 changes: 1 addition & 1 deletion po/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include(Translations)
add_translations_directory("vala-panel")
add_translations_directory("vala-panel" "bin")
add_translations_catalog("vala-panel"
../lib
../app
Expand Down

0 comments on commit f6f43d0

Please sign in to comment.