mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-03 09:56:00 -05:00
Patch from Ian Burrell to move plugins from sysconfdit to libdir, as it Should Be
This commit is contained in:
parent
1ca5cef013
commit
f2174b3173
3
CREDITS
3
CREDITS
@ -146,3 +146,6 @@ Gareth Potter
|
||||
Anton Johansson
|
||||
* Swedish Translations
|
||||
|
||||
Iam Burrell
|
||||
* configure patches to put plugins in libdir
|
||||
* RH/Centos/Fedora specfiles
|
||||
|
@ -7,12 +7,13 @@ EXTRA_DIST = README mt-daapd.spec mt-daapd.conf.templ mt-daapd-ssc.sh mt-daapd-s
|
||||
BUILT_SOURCES = mt-daapd.conf
|
||||
bin_SCRIPTS = mt-daapd-ssc.sh
|
||||
|
||||
dbdir="/var/cache/mt-daapd"
|
||||
dbdir="$(localstatedir)/cache/mt-daapd"
|
||||
|
||||
mt-daapd.conf: mt-daapd.conf.templ ../config.h
|
||||
if [ "$(prefix)" = "/usr" ]; then \
|
||||
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],/var/cache/mt-daapd,g mt-daapd.conf.templ >$@; \
|
||||
else \
|
||||
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],$(prefix)/var/cache/mt-daapd,g mt-daapd.conf.templ >$@; \
|
||||
fi
|
||||
sed -e s,[@]prefix[@],$(prefix), \
|
||||
-e s,[@]sysconfdir[@],$(sysconfdir), \
|
||||
-e s,[@]libdir[@],$(libdir), \
|
||||
-e s,[@]dbdir[@],$(dbdir),g mt-daapd.conf.templ >$@
|
||||
|
||||
|
||||
|
||||
|
@ -114,7 +114,7 @@ runas = nobody
|
||||
# below.
|
||||
#
|
||||
|
||||
playlist = @prefix@/etc/mt-daapd.playlist
|
||||
playlist = @sysconfdir@/mt-daapd.playlist
|
||||
|
||||
#
|
||||
# password (optional)
|
||||
@ -295,6 +295,6 @@ scan_type = 2
|
||||
#compress = 0
|
||||
|
||||
[plugins]
|
||||
plugin_dir = @prefix@/share/mt-daapd/plugins
|
||||
plugin_dir = @libdir@/mt-daapd/plugins
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $Id: $
|
||||
#
|
||||
rspdir = ${pkgdatadir}/plugins
|
||||
out_daapdir = ${pkgdatadir}/plugins
|
||||
ssc_ffmpegdir = ${pkgdatadir}/plugins
|
||||
ssc_scriptdir = ${pkgdatadir}/plugins
|
||||
rspdir = ${pkglibdir}/plugins
|
||||
out_daapdir = ${pkglibdir}/plugins
|
||||
ssc_ffmpegdir = ${pkglibdir}/plugins
|
||||
ssc_scriptdir = ${pkglibdir}/plugins
|
||||
|
||||
rsp_LTLIBRARIES=rsp.la
|
||||
rsp_la_LDFLAGS=-module -avoid-version
|
||||
|
Loading…
x
Reference in New Issue
Block a user