Skip to content

Commit

Permalink
installed appdata correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
sgpthomas committed May 4, 2017
1 parent 537a5ba commit 0983cfb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ set (GENERIC_NAME "Timer")
set (RELEASE_NAME "Loki")
set (COMMENT "This clock application provides stopwatches, alarms, and timers.")
set (DAEMON_COMMENT "Daemon that deals with Hourglass's alarms.")
set (VERSION "1.0.13")
set (VERSION "1.0.14")
set (VERSION_INFO "Release")

#data directory stuff
include (GNUInstallDirs)
set (PREFIX ${CMAKE_INSTALL_PREFIX})
set (DATADIR ${CMAKE_INSTALL_PREFIX}/share)
set (PKG_DATADIR ${DATADIR}/${CMAKE_PROJECT_NAME})
set (DOLLAR "$")
set (DOLLAR "$")

# Add 'make dist' command for creating release tarball
set (CPACK_PACKAGE_VERSION ${VERSION})
Expand Down Expand Up @@ -82,7 +82,7 @@ include (ValaPrecompile)
find_package (PkgConfig)
pkg_check_modules (GTK+ REQUIRED
gtk+-3.0>=3.18)

pkg_check_modules (DEPS REQUIRED ${SOURCE_DEPS})
pkg_check_modules (DEPS REQUIRED ${DAEMON_DEPS})

Expand Down
1 change: 1 addition & 0 deletions data/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${GIT_PREFIX}hourglass-daemon.desktop
install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/style/ DESTINATION ${PKG_DATADIR}/style)
install (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/icons/ DESTINATION ${DATADIR}/icons/hicolor)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/hourglass.svg DESTINATION ${DATADIR}/pixmaps)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${GIT_PREFIX}hourglass.appdata.xml DESTINATION ${DATADIR}/metainfo)
2 changes: 1 addition & 1 deletion po/hourglass.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-03 22:30-0400\n"
"POT-Creation-Date: 2017-05-04 00:11-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
2 changes: 1 addition & 1 deletion src/Config.vala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace Constants {
public const string PKG_DATADIR = "/usr/share/hourglass";
public const string GETTEXT_PACKAGE = "hourglass";
public const string RELEASE_NAME = "Loki";
public const string VERSION = "1.0.12";
public const string VERSION = "1.0.14";
public const string VERSION_INFO = "Release";
public const string INSTALL_PREFIX = "/usr";
public const string APP_NAME = "Hourglass";
Expand Down

0 comments on commit 0983cfb

Please sign in to comment.