Commit b51afca9 authored by Christophe Mutricy's avatar Christophe Mutricy

Installing KDE4 solid files.

Closes #3436
parent 8d9710a1
...@@ -4425,6 +4425,23 @@ AS_IF([test "${ac_cv_c_bigendian}" = "yes"], [ ...@@ -4425,6 +4425,23 @@ AS_IF([test "${ac_cv_c_bigendian}" = "yes"], [
]) ])
AC_SUBST(DEFS_BIGENDIAN) AC_SUBST(DEFS_BIGENDIAN)
dnl
dnl Where to install KDE solid .desktop
dnl
AC_ARG_WITH(kde-solid,
AS_HELP_STRING([--with-kde-solid=PATH],[KDE Solid action directory (auto)]))
AS_IF([test "${with_kde_solid}" != "no"],[
AS_IF([test -z "${with_kde_solid}"],[
AS_IF([which kde4-config],[
with_kde_solid="`kde4-config --install data`/solid/actions/"
])
])
],[
with_kde_solid=''
])
AC_SUBST(soliddatadir,[${with_kde_solid}])
AM_CONDITIONAL(KDE_SOLID, [test -n ${with_kde_solid}])
dnl dnl
dnl DLL loader copied from MPlayer copied from somewhere else (WINE ?) dnl DLL loader copied from MPlayer copied from somewhere else (WINE ?)
dnl dnl
......
...@@ -34,7 +34,8 @@ EXTRA_DIST = \ ...@@ -34,7 +34,8 @@ EXTRA_DIST = \
$(DIST_lua) \ $(DIST_lua) \
$(DIST_osdmenu_default) \ $(DIST_osdmenu_default) \
$(DIST_mozilla) \ $(DIST_mozilla) \
$(DIST_maemo) $(DIST_maemo) \
$(DIST_solid)
nobase_vlcdata_DATA = nobase_vlcdata_DATA =
if BUILD_SKINS if BUILD_SKINS
...@@ -55,6 +56,9 @@ endif ...@@ -55,6 +56,9 @@ endif
if BUILD_HILDON if BUILD_HILDON
nobase_vlcdata_DATA += $(DIST_maemo) $(maemo_FILES) nobase_vlcdata_DATA += $(DIST_maemo) $(maemo_FILES)
endif endif
if KDE_SOLID
soliddata_DATA = $(DIST_solid)
endif
DIST_rsrc = \ DIST_rsrc = \
newres.h \ newres.h \
...@@ -390,3 +394,8 @@ DIST_maemo = \ ...@@ -390,3 +394,8 @@ DIST_maemo = \
maemo_FILES = \ maemo_FILES = \
vlc32x32.png vlc32x32.png
DIST_solid = \
solid/vlc-opencda.desktop \
solid/vlc-opendvd.desktop \
solid/vlc-openvcd.dekstop
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment