Skip to content
Snippets Groups Projects
Commit f70f3595 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

[#1310] Install sflphoned in $(prefix)/lib/sflphone

parent 3f9ca7dd
No related branches found
No related tags found
No related merge requests found
......@@ -862,6 +862,9 @@ sflphone_fill_codec_list()
gchar** details;
gchar** pl;
if (codecs)
{
for(pl=order; *order; order++)
{
codec_t * c = g_new0(codec_t, 1);
......@@ -895,6 +898,7 @@ sflphone_fill_codec_list()
codec_list_add(c);
}
}
}
if( codec_list_get_size() == 0) {
gchar* markup = g_markup_printf_escaped(_("<b>Error: No audio codecs found.\n\n</b> SFL audio codecs have to be placed in <i>%s</i> or in the <b>.sflphone</b> directory in your home( <i>%s</i> )") , CODECS_DIR , g_get_home_dir());
......
include ../globals.mak
bin_PROGRAMS = sflphoned
libexecdir=$(libdir)/sflphone
libexec_PROGRAMS = sflphoned
if USE_IAX
# Use the global instead of locally built
......
......@@ -38,7 +38,7 @@ service_DATA = $(service_in_files:.service.in=.service)
# Rule to make the service file with bindir expanded
$(service_DATA): $(service_in_files) Makefile
sed -e "s|bindir|$(prefix)/bin|" $<> $@
sed -e "s|libexec|$(prefix)/lib/sflphone|" $<> $@
EXTRA_DIST = *.xml README
......
[D-BUS Service]
Name=org.sflphone.SFLphone
Exec=bindir/sflphoned
Exec=libexec/sflphoned
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment