Skip to content

Commit

Permalink
Updated id,exec,desktop and other files to com.github.dreamdevel.eradio
Browse files Browse the repository at this point in the history
which is required by app center
  • Loading branch information
georgesofianosgr committed Oct 17, 2017
1 parent 1f292e0 commit 50e4a15
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 26 deletions.
22 changes: 11 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set (DATADIR "${CMAKE_INSTALL_PREFIX}/share")
set (PKGDATADIR "${DATADIR}/eradio")
set (PKG_DATADIR ${PKGDATADIR})

set (EXEC_NAME "eradio")
set (EXEC_NAME "com.github.dreamdevel.eradio")
set (RELEASE_NAME "eRadio")
set (VERSION "2.0.1")

Expand Down Expand Up @@ -120,24 +120,24 @@ add_subdirectory (po)

add_executable(${EXEC_NAME} ${VALA_C})
install (TARGETS ${EXEC_NAME} RUNTIME DESTINATION bin)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/com.dreamdevel.eradio.desktop DESTINATION ${DATADIR}/applications/)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/com.dreamdevel.eradio.appdata.xml DESTINATION ${DATADIR}/metainfo/)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/com.github.dreamdevel.eradio.desktop DESTINATION ${DATADIR}/applications/)
install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/com.github.dreamdevel.eradio.appdata.xml DESTINATION ${DATADIR}/metainfo/)

set(SYSTEM_DEFAULT_THEME ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor)

install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/discoverBig.png DESTINATION ${PKGDATADIR})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/16x16/apps/eRadio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/16x16/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/24x24/apps/eRadio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/24x24/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/32x32/apps/eRadio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/32x32/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/48x48/apps/eRadio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/48x48/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/128x128/apps/eRadio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/128x128/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/256x256/apps/eRadio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/256x256/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/512x512/apps/eRadio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/512x512/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/16x16/apps/com.github.dreamdevel.eradio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/16x16/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/24x24/apps/com.github.dreamdevel.eradio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/24x24/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/32x32/apps/com.github.dreamdevel.eradio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/32x32/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/48x48/apps/com.github.dreamdevel.eradio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/48x48/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/128x128/apps/com.github.dreamdevel.eradio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/128x128/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/256x256/apps/com.github.dreamdevel.eradio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/256x256/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/512x512/apps/com.github.dreamdevel.eradio.png DESTINATION ${SYSTEM_DEFAULT_THEME}/512x512/apps)

install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/16x16/apps/eradio-all-stations.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/16x16/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/16x16/apps/eradio-favorites.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/16x16/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/16x16/apps/eradio-genre.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/16x16/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/16x16/apps/eradio-discover.svg DESTINATION ${SYSTEM_DEFAULT_THEME}/16x16/apps)

install(CODE "execute_process(COMMAND \"gtk-update-icon-cache\" \"-f\" \"/usr/share/icons/hicolor/\")")
install(CODE "execute_process(COMMAND \"xdg-mime\" \"default\" \"eradio.desktop\" \"x-scheme-handler/webradio\")")
install(CODE "execute_process(COMMAND \"xdg-mime\" \"default\" \"com.github.dreamdevel.eradio.desktop\" \"x-scheme-handler/webradio\")")
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2017 Dream Development <support@dreamdevel.com> -->
<component type="desktop">
<id>com.dreamdevel.eradio.desktop</id>
<id>com.github.dreamdevel.eradio.desktop</id>
<metadata_license>CC0</metadata_license>
<name>eRadio</name>
<summary>A minimalist and powerful radio player for elementary OS</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ Name=eRadio
GenericName=Radio Player
Comment=Stream online radio stations
Categories=Audio;Music;Player;AudioVideo;GNOME;GTK;
Exec=eradio %U
Icon=eRadio
Exec=com.github.dreamdevel.eradio %U
Icon=com.github.dreamdevel.eradio
Terminal=false
Type=Application
Version=2.0.1
X-GNOME-Gettext-Domain=eradio
Version=1.1
X-GNOME-Gettext-Domain=com.github.dreamdevel.eradio
X-GNOME-Keywords=Eradio;Stream;Radio;Music;Audio
X-GNOME-UsesNotifications=true
X-AppInstall-Keywords=Eradio;Stream;Radio;Music;Audio
MimeType=x-scheme-handler/webradio;
Actions=AboutDialog;

[Desktop Action AboutDialog]
Exec=eradio --about
Exec=com.github.dreamdevel.eradio --about
Name=About eRadio
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: eradio
Source: com.github.dreamdevel.eradio
Section: sound
Priority: extra
Maintainer: George Sofianos <georgesofianosgr@gmail.com>
Expand All @@ -17,7 +17,7 @@ Build-Depends: cmake (>= 2.8),
libsqlheavy-dev
Standards-Version: 3.9.3

Package: eradio
Package: com.github.dreamdevel.eradio
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, gstreamer1.0-plugins-good, gstreamer1.0-plugins-ugly, gstreamer1.0-plugins-bad
Description: A minimalist and powerful radio player
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion po/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ include (Translations)
add_translations_directory ("eradio")
add_translations_catalog ("eradio"
../src
)
)
12 changes: 6 additions & 6 deletions src/radio.vala
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ class Radio.App : Granite.Application {
build_version_info = Build.VERSION_INFO;

program_name = "eRadio";
exec_name = "eradio";
exec_name = "com.github.dreamdevel.eradio";

app_copyright = "2014-2016";
application_id = "com.dreamdevel.eradio";
app_icon = "eRadio";
app_launcher = "com.dreamdevel.eradio.desktop";
app_years = "2014 - 2016";
app_copyright = "2014-2017";
application_id = "com.github.dreamdevel.eradio";
app_icon = "com.github.dreamdevel.eradio";
app_launcher = "com.github.dreamdevel.eradio.desktop";
app_years = "2014 - 2017";

main_url = "http://eradio.dreamdevel.com";
bug_url = "https://github.com/DreamDevel/eRadio/issues";
Expand Down

0 comments on commit 50e4a15

Please sign in to comment.