Permalink
Browse files

desktop integration

  • Loading branch information...
1 parent 0e70a04 commit f99fbe97adb4fb4a3bf3dc2c4c2486f4281c2d8e @jaromil jaromil committed Jan 31, 2011
Showing with 33 additions and 4 deletions.
  1. +1 −2 .gitignore
  2. +1 −1 Makefile.am
  3. +2 −1 configure.ac
  4. +16 −0 share/Makefile.am
  5. +2 −0 share/hasciicam
  6. +11 −0 share/hasciicam.desktop
  7. BIN share/hasciicam.png
View
@@ -1,4 +1,4 @@
-hasciicam
+src/hasciicam
*.[oa]
*.so
*.la
@@ -8,7 +8,6 @@ hasciicam
.libs
Makefile
Makefile.in
-hasciicam
autom4te.cache
config.h
config.log
View
@@ -1 +1 @@
-SUBDIRS = src doc
+SUBDIRS = src doc share
View
@@ -48,7 +48,8 @@ AC_C_CONST
AC_CONFIG_FILES([
Makefile
src/Makefile
-doc/Makefile
+doc/Makefile
+share/Makefile
])
AC_OUTPUT
View
@@ -0,0 +1,16 @@
+Applicationsdir = $(datadir)/applications
+Applications_DATA = hasciicam.desktop
+# $(datadir)/app-install/desktop
+
+Menudir = $(datadir)/menu
+Menu_DATA = hasciicam
+
+Iconsdir = $(datadir)/icons
+Icons_DATA = hasciicam.png
+# $(datadir)/app-install/icons
+
+install-data-hook:
+ xdg-icon-resource install --size 64 hasciicam.png dyne-hasciicam
+ update-desktop-database
+ update-menus
+
View
@@ -0,0 +1,2 @@
+?package(hasciicam):command="hasciicam" icon="/usr/share/icons/hasciicam.xpm" needs="X11" \
+ section="Applications/Video" title="HasciiCam" hints="Live video in text"
View
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=HasciiCam
+Type=Application
+GenericName=HasciiCam
+Comment=(h)ascii for the masses!
+Exec=hasciicam %U
+TryExec=hasciicam
+Icon=hasciicam.png
+Terminal=false
+Categories=AudioVideo;
+X-AppInstall-Package=hasciicam
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f99fbe9

Please sign in to comment.