Skip to content

Commit

Permalink
Update to latest specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Corentin Noël committed Jan 13, 2017
1 parent 3b3be9f commit 1a56baf
Show file tree
Hide file tree
Showing 14 changed files with 1,894 additions and 10,035 deletions.
7 changes: 3 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ list (APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)

set (DATADIR "${CMAKE_INSTALL_PREFIX}/share")
set (PKGDATADIR "${DATADIR}/${CMAKE_PROJECT_NAME}")
set (GETTEXT_PACKAGE ${CMAKE_PROJECT_NAME})
set (EXEC_NAME ${CMAKE_PROJECT_NAME})
set (GETTEXT_PACKAGE "com.github.tintou.project-manager")
set (EXEC_NAME "com.github.tintou.project-manager")
set (APP_NAME "Project Manager")
set (RELEASE_NAME "A simple project manager.")
set (DESKTOP_ICON "apport")
set (DESKTOP_ICON "com.github.tintou.project-manager")
set (VERSION "0.1")
set (VERSION_INFO "Alpha")
set (DOLLAR "$")

configure_file (${CMAKE_SOURCE_DIR}/config.vala.cmake ${CMAKE_BINARY_DIR}/src/config.vala)
add_definitions (-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\")
Expand Down
7 changes: 4 additions & 3 deletions data/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
configure_file(project-manager.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/project-manager.desktop)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/project-manager.desktop DESTINATION share/applications)
install (FILES project-manager.appdata.xml DESTINATION share/appdata)
configure_file(com.github.tintou.project-manager.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/com.github.tintou.project-manager.desktop)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/com.github.tintou.project-manager.desktop DESTINATION share/applications)
install (FILES com.github.tintou.project-manager.appdata.xml DESTINATION share/metainfo)
install (DIRECTORY icons/ DESTINATION share/icons/hicolor PATTERN "icons/*")
15 changes: 15 additions & 0 deletions data/com.github.tintou.project-manager.appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
​ <id>com.github.tintou.project-manager</id>
<metadata_license>CC0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Project Manager</name>
<summary>The fast project manager</summary>
<description>
<p>
Don't spend too much time on project management.
</p>
</description>
<url type="homepage">https://github.com/tintou/project-manager/</url>
<update_contact>corentin_at_elementary.io</update_contact>
</application>
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Name=@APP_NAME@
Comment=@RELEASE_NAME@
Exec=@EXEC_NAME@ %U
Icon=@DESKTOP_ICON@
Keywords=install;uninstall;remove;catalogue;store;apps;updates;software;
Keywords=developer;api;github;launchpad;git;bzr;bazaar;project;code;
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;GTK;System;PackageManager;
Categories=GNOME;GTK;Development;
X-GNOME-Gettext-Domain=@GETTEXT_PACKAGE@
Actions=AboutDialog;

Expand Down
Loading

0 comments on commit 1a56baf

Please sign in to comment.