Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
17e4a6ef
Commit
17e4a6ef
authored
Apr 19, 2019
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.20.23-alt2
- moved /var/run -> /run - moved /var/lock -> /run/lock - enable webdav - enable upnp - enable mpdclient - enable smbclient - enable opus decoder
parent
2b4a0aa9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
7 deletions
+35
-7
mpd.init.in
.gear/mpd.init.in
+3
-3
mpd.spec
.gear/mpd.spec
+30
-2
mpd.sys.conf.in
.gear/mpd.sys.conf.in
+1
-1
mpd.tmpfile
.gear/mpd.tmpfile
+1
-1
No files found.
.gear/mpd.init.in
View file @
17e4a6ef
...
...
@@ -7,7 +7,7 @@
# for playing music and managing playlists.
# processname: mpd
# config: /etc/mpd.sys.conf
# pidfile: /
var/
run/mpd/pid
# pidfile: /run/mpd/pid
### BEGIN INIT INFO
# Provides: mpd
# Required-Start: $local_fs
...
...
@@ -29,8 +29,8 @@ WITHOUT_RC_COMPAT=1
USER
=
@MPD_USER@
CONFFILE
=
/etc/mpd.sys.conf
PIDFILE
=
/
var/
run/mpd/pid
LOCKFILE
=
/
var
/lock/subsys/mpd
PIDFILE
=
/run/mpd/pid
LOCKFILE
=
/
run
/lock/subsys/mpd
RETVAL
=
0
start
()
...
...
.gear/mpd.spec
View file @
17e4a6ef
...
...
@@ -43,6 +43,12 @@
%def_enable doc
%def_without tremor
%def_enable mpg123
%def_enable nfs
%def_enable webdav
%def_enable upnp
%def_enable mpdclient
%def_enable smbclient
%def_enable opus
# auto|avahi|bonjour|no
%define zeroconf avahi
%define mpd_user _mpd
...
...
@@ -58,9 +64,9 @@
%{!?zeroconf:%define zeroconf no}
%define Name MPD
Name:
mpd
Name:
mpd
Version: 0.20.23
Release: alt
1
Release: alt
2
Summary: Music Player Daemon (%Name) allows remote access for playing music and managing playlists
License: %gpl2plus
...
...
@@ -107,6 +113,12 @@ BuildRequires: zlib-devel gcc-c++
%{?_enable_sqlite:BuildRequires: libsqlite3-devel}
%{?_enable_fluidsynth:BuildRequires: libfluidsynth-devel}
%{?_enable_mpg123:BuildRequires: libmpg123-devel}
%{?_enable_nfs:BuildRequires: libnfs-devel}
%{?_enable_webdav:BuildRequires: libcurl-devel libexpat-devel}
%{?_enable_upnp:BuildRequires: libupnp-devel}
%{?_enable_mpdclient:BuildRequires: libmpdclient-devel}
%{?_enable_smbclient:BuildRequires: libsmbclient-devel}
%{?_enable_opus:BuildRequires: libopus-devel}
%{?_enable_doc:BuildRequires: docbook-dtds doxygen xmlto >= 0.0.21-alt2 /usr/bin/dot}
BuildRequires: systemd-devel
%if %zeroconf == avahi
...
...
@@ -208,6 +220,12 @@ sed -i 's/\[mad\]/[libmad]/' configure.ac
%{subst_enable fluidsynth} \
%{subst_enable wildmidi} \
%{subst_enable mpg123} \
%{subst_enable nfs} \
%{subst_enable webdav} \
%{subst_enable upnp} \
%{subst_enable mpdclient} \
%{subst_enable smbclient} \
%{subst_enable opus} \
%{subst_enable_to doc documentation} \
--with-systemdsystemunitdir=/lib/systemd/system \
--with-zeroconf=%zeroconf \
...
...
@@ -281,6 +299,16 @@ bzip2 --best %buildroot%_docdir/%name-%version/NEWS
%changelog
* Fri Apr 19 2019 Anton Midyukov <antohami@altlinux.org> 0.20.23-alt2
- moved /var/run -> /run
- moved /var/lock -> /run/lock
- enable nfs
- enable webdav
- enable upnp
- enable mpdclient
- enable smbclient
- enable opus decoder
* Fri Jan 18 2019 Yuri N. Sedunov <aris@altlinux.org> 0.20.23-alt1
- 0.20.23
- built against libfluidsynth.so.2
...
...
.gear/mpd.sys.conf.in
View file @
17e4a6ef
...
...
@@ -6,7 +6,7 @@ db_file "/var/lib/mpd/mpd.db"
#######################################################################
######################## OPTIONAL PATHS ###############################
pid_file "/
var/
run/mpd/pid"
pid_file "/run/mpd/pid"
state_file "/var/lib/mpd/state"
#######################################################################
...
...
.gear/mpd.tmpfile
View file @
17e4a6ef
d /
var/
run/mpd 0775 root @MPD_USER@ -
d /run/mpd 0775 root @MPD_USER@ -
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment