summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2006-07-31 22:52:29 +0000
committerAndrej Kacian <ticho@gentoo.org>2006-07-31 22:52:29 +0000
commite42e17033da090c85d30401b023712aafea11dfa (patch)
treea8fc6a8c102ba630798f90bcfc3bb138d8f65cd4 /media-sound
parentDo not use start-stop-daemon in the initscript, now that mpd --kill works nic... (diff)
downloadgentoo-2-e42e17033da090c85d30401b023712aafea11dfa.tar.gz
gentoo-2-e42e17033da090c85d30401b023712aafea11dfa.tar.bz2
gentoo-2-e42e17033da090c85d30401b023712aafea11dfa.zip
Do not use start-stop-daemon in the initscript, now that mpd --kill works nicely. Removed glib dependency, since we don't depend on it anymore. Removed use_enable calls on mpd-mad and mpd-id3tag. Removed fifo USE flag per request from upstream. Removed ebuild for old snapshots.
(Portage version: 2.1.1_pre3-r3) (Signed Manifest commit)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mpd-svn/Manifest46
-rw-r--r--media-sound/mpd-svn/files/digest-mpd-svn-200512203
-rw-r--r--media-sound/mpd-svn/files/digest-mpd-svn-200603213
-rw-r--r--media-sound/mpd-svn/mpd-svn-20051220.ebuild143
-rw-r--r--media-sound/mpd-svn/mpd-svn-20060321.ebuild129
5 files changed, 15 insertions, 309 deletions
diff --git a/media-sound/mpd-svn/Manifest b/media-sound/mpd-svn/Manifest
index c56a9000c69c..ee671eeefde3 100644
--- a/media-sound/mpd-svn/Manifest
+++ b/media-sound/mpd-svn/Manifest
@@ -1,44 +1,28 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX mpd.rc6 732 RMD160 b8870b785d4264393203c6fa503edb8877dffcaa SHA1 d79978b2bd0ce38a9f0b88c8a8412066332ecf11 SHA256 b309a7a92870232b6e539ca641b07a494bb40d14bf9892956e39daf784b2167f
-MD5 36e14440a7c1815b23099ef9947b6b7f files/mpd.rc6 732
-RMD160 b8870b785d4264393203c6fa503edb8877dffcaa files/mpd.rc6 732
-SHA256 b309a7a92870232b6e539ca641b07a494bb40d14bf9892956e39daf784b2167f files/mpd.rc6 732
-DIST mpd-svn-20051220.tar.bz2 891971 RMD160 a53e2205763510599253a708538e15f3f50a0150 SHA1 50fb913ad3863a557ec4c3f88b58e80b2d8000ad SHA256 ba318c6141723eda8bfe8807c1bf6e448646dc3f60d63b57e4aefd8f217bdac5
-DIST mpd-svn-20060321.tar.bz2 897352 RMD160 3ff513faf56816144351008b7b6b98ac2172b11b SHA1 4edb648cbb842a6f1b62684ae56cff5caac098f6 SHA256 d7a0dc86e8054f12b9346709389740473b3b339b103771ea8412368010577474
+AUX mpd.rc6 638 RMD160 08160bddd247b782a42afeadcf7360de56644e52 SHA1 644df002536847a203125ce02aeb677ece2a2fe3 SHA256 0a7583145a68b01a1eeabb815eb4b055e6fcc41a4e6cf8efc631d4c4aa62ff67
+MD5 2413251e4a2005ec3a452eceb86c3f8c files/mpd.rc6 638
+RMD160 08160bddd247b782a42afeadcf7360de56644e52 files/mpd.rc6 638
+SHA256 0a7583145a68b01a1eeabb815eb4b055e6fcc41a4e6cf8efc631d4c4aa62ff67 files/mpd.rc6 638
DIST mpd-svn-20060604.tar.bz2 896203 RMD160 9a2a1a9abc7aaac33ad6d4ff0ac000d476eec385 SHA1 0c01982c5dbe0b4138bd329d55eec4b01851f420 SHA256 9e056ca9f7932d12e1a6e6e12329e7abf7417dd60986aefe1728850ef5f937bb
DIST mpd-svn-20060723.tar.bz2 371996 RMD160 e3f50daceb771072a4d225d8a0fe081861e4898b SHA1 d39f1c5602bae720f380f01020554e4b4090fdd1 SHA256 cfbd4de5059ec30ca124d5803d4c158620c2b76ce84eb878a3bc12e21c397220
-EBUILD mpd-svn-20051220.ebuild 4519 RMD160 de4ce1d5de9d6cb4432b059d641f5b8685a52fe2 SHA1 8e7810400f68a75f43d2a4eba9618c929d11c2b8 SHA256 32cd3a00061aa88cfbff9462899fe885ebf5abd932dbf256ba1e316b6553f037
-MD5 cc5bf9166333f1c12aadce67a64c6b42 mpd-svn-20051220.ebuild 4519
-RMD160 de4ce1d5de9d6cb4432b059d641f5b8685a52fe2 mpd-svn-20051220.ebuild 4519
-SHA256 32cd3a00061aa88cfbff9462899fe885ebf5abd932dbf256ba1e316b6553f037 mpd-svn-20051220.ebuild 4519
-EBUILD mpd-svn-20060321.ebuild 4002 RMD160 82e950319db5c80949b7206fca60a771222050bf SHA1 b0a27e7114d891077a533e2943c4dbb1d8016817 SHA256 8f2221387d92387d5b637f7d53f997ba3e88ee862ce8ce58a63a5f54d2cbd82c
-MD5 cf48c5f972631d6801ff979fb68389fe mpd-svn-20060321.ebuild 4002
-RMD160 82e950319db5c80949b7206fca60a771222050bf mpd-svn-20060321.ebuild 4002
-SHA256 8f2221387d92387d5b637f7d53f997ba3e88ee862ce8ce58a63a5f54d2cbd82c mpd-svn-20060321.ebuild 4002
EBUILD mpd-svn-20060604.ebuild 4002 RMD160 9eccde44fba35a96c3e819fa6d9c138155f773c3 SHA1 ec324c0d6030d6bb3cc004a9087e18c91409fc62 SHA256 845e67a616a666d390a819de13eef951e02c91b0a2a3c6b2d89c26d3e6249e28
MD5 757fd2dc269b148bdfb97a311afa8ef0 mpd-svn-20060604.ebuild 4002
RMD160 9eccde44fba35a96c3e819fa6d9c138155f773c3 mpd-svn-20060604.ebuild 4002
SHA256 845e67a616a666d390a819de13eef951e02c91b0a2a3c6b2d89c26d3e6249e28 mpd-svn-20060604.ebuild 4002
-EBUILD mpd-svn-20060723.ebuild 4115 RMD160 4d3b58de2cce536dd355679ad2559d35afbf9100 SHA1 3ce15c65314e98939ccddc912347cd064010be76 SHA256 73121c6a4b95e96adb4d3438b518c3d27960fa90fa66bf0155b1ae30f6a55f26
-MD5 3092c65a86c8fc24e2d7d3d35f268648 mpd-svn-20060723.ebuild 4115
-RMD160 4d3b58de2cce536dd355679ad2559d35afbf9100 mpd-svn-20060723.ebuild 4115
-SHA256 73121c6a4b95e96adb4d3438b518c3d27960fa90fa66bf0155b1ae30f6a55f26 mpd-svn-20060723.ebuild 4115
-MISC ChangeLog 6130 RMD160 e0fde4569ac1cffe27b0a4feb4d0654393f26c5f SHA1 b4bba73b6dd2f0765217264f1f074a700d763597 SHA256 ee34f618aafb2ddb6c071e61efa806cb21d5e97677d37e3abbf3320456399ffc
-MD5 c3c253e7c620ef4366b842edb07c67f7 ChangeLog 6130
-RMD160 e0fde4569ac1cffe27b0a4feb4d0654393f26c5f ChangeLog 6130
-SHA256 ee34f618aafb2ddb6c071e61efa806cb21d5e97677d37e3abbf3320456399ffc ChangeLog 6130
+EBUILD mpd-svn-20060723.ebuild 4022 RMD160 df0ad65ba7b145016cf491eeaa69bbf829e011f8 SHA1 f4044ac250d693e0d26d3f37f6b04a97e8f5a929 SHA256 44b5e8b8992dd69daa6a16abb48a6f2da506cadd942988237f70987902833aad
+MD5 e3c5d78c6f3a038ae849381dbbe95fdc mpd-svn-20060723.ebuild 4022
+RMD160 df0ad65ba7b145016cf491eeaa69bbf829e011f8 mpd-svn-20060723.ebuild 4022
+SHA256 44b5e8b8992dd69daa6a16abb48a6f2da506cadd942988237f70987902833aad mpd-svn-20060723.ebuild 4022
+MISC ChangeLog 6562 RMD160 afd46f8685e21908a7a14c9dd2d98e630f24e8b1 SHA1 afede1286f3e7836afcf145edca10438c9d40959 SHA256 7ec04adf78ac208fca61188b25d13fb49e1ceefad606c32c4512f4daad9a627e
+MD5 44667b10fdd89b2c388219832fa5bf1b ChangeLog 6562
+RMD160 afd46f8685e21908a7a14c9dd2d98e630f24e8b1 ChangeLog 6562
+SHA256 7ec04adf78ac208fca61188b25d13fb49e1ceefad606c32c4512f4daad9a627e ChangeLog 6562
MISC metadata.xml 251 RMD160 75ab770f320bb75db6af508a7ebebe8b67c9c74a SHA1 ba27ae11699ab6c9f192c3587ff12bcc426795a1 SHA256 1fe5ebb6f06da5621d18a47b74e004d5f62f3257f82222c66386446f262b6cf5
MD5 28ed49040b6ddc36def2c2a536394b37 metadata.xml 251
RMD160 75ab770f320bb75db6af508a7ebebe8b67c9c74a metadata.xml 251
SHA256 1fe5ebb6f06da5621d18a47b74e004d5f62f3257f82222c66386446f262b6cf5 metadata.xml 251
-MD5 776e4433393d2faa4e792d07260fe18b files/digest-mpd-svn-20051220 253
-RMD160 8c9b035bd95ebd6c1782c8fc15fdb957c087a747 files/digest-mpd-svn-20051220 253
-SHA256 b2d009cccdaffb88ecff6e77fb4faab8b6d350adda5a6fee860962b274564064 files/digest-mpd-svn-20051220 253
-MD5 cbe74b6ae9225f9b3739f9d348854a5d files/digest-mpd-svn-20060321 253
-RMD160 4355d315b8f53751928be75034d131fa138106d1 files/digest-mpd-svn-20060321 253
-SHA256 6a48a017b80bab0ab76d208da76852496aad834cd64539fe9959373a9ad7bf7b files/digest-mpd-svn-20060321 253
MD5 f403307512f143d87c2fe5ec30527fa8 files/digest-mpd-svn-20060604 253
RMD160 35e3d2e417102c8ec5aa0cda3ed48f32a3562f19 files/digest-mpd-svn-20060604 253
SHA256 74f2518aa0df6ba052fc7c0760028e630b94c6e2f1dfe163034a15468adf560d files/digest-mpd-svn-20060604 253
@@ -48,7 +32,7 @@ SHA256 6632e1a5925ee159df74875a32431ff400ec46e718172698b7d9b022ad7ee78d files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
-iD8DBQFExUcxQlM6RnzZP+IRAgpGAJ4wXuSLDOsd5nfIg/CkC5h9EtqzQQCgtGAH
-+fgKr1eRxgr+69UTZh314ec=
-=D3ce
+iD8DBQFEzompQlM6RnzZP+IRAhm2AKCds7OoFdogUL3fmBu8TL9r1AnZgQCfWWNo
+9XTnSo5Y24+p95uv+QPjbbY=
+=bkQN
-----END PGP SIGNATURE-----
diff --git a/media-sound/mpd-svn/files/digest-mpd-svn-20051220 b/media-sound/mpd-svn/files/digest-mpd-svn-20051220
deleted file mode 100644
index 5ebf96654ba7..000000000000
--- a/media-sound/mpd-svn/files/digest-mpd-svn-20051220
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 d73c94fd3ef5830f7bc4ac86b32b73fe mpd-svn-20051220.tar.bz2 891971
-RMD160 a53e2205763510599253a708538e15f3f50a0150 mpd-svn-20051220.tar.bz2 891971
-SHA256 ba318c6141723eda8bfe8807c1bf6e448646dc3f60d63b57e4aefd8f217bdac5 mpd-svn-20051220.tar.bz2 891971
diff --git a/media-sound/mpd-svn/files/digest-mpd-svn-20060321 b/media-sound/mpd-svn/files/digest-mpd-svn-20060321
deleted file mode 100644
index 4a58d1a628db..000000000000
--- a/media-sound/mpd-svn/files/digest-mpd-svn-20060321
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 3299d46f0a9eb0e20e129866db07508d mpd-svn-20060321.tar.bz2 897352
-RMD160 3ff513faf56816144351008b7b6b98ac2172b11b mpd-svn-20060321.tar.bz2 897352
-SHA256 d7a0dc86e8054f12b9346709389740473b3b339b103771ea8412368010577474 mpd-svn-20060321.tar.bz2 897352
diff --git a/media-sound/mpd-svn/mpd-svn-20051220.ebuild b/media-sound/mpd-svn/mpd-svn-20051220.ebuild
deleted file mode 100644
index e1c3e7615272..000000000000
--- a/media-sound/mpd-svn/mpd-svn-20051220.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd-svn/mpd-svn-20051220.ebuild,v 1.3 2006/03/16 15:56:45 ticho Exp $
-
-inherit eutils
-
-DESCRIPTION="A development version of Music Player Daemon (mpd)"
-HOMEPAGE="http://www.musicpd.org"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="aac alsa ao audiofile flac icecast ipv6 mad mikmod mp3 musepack vorbis oss unicode"
-
-DEPEND="dev-util/gperf
- !media-sound/mpd
- sys-libs/zlib
- >=dev-libs/glib-2.0.0
- aac? ( >=media-libs/faad2-2.0_rc2 )
- alsa? ( media-sound/alsa-utils )
- ao? ( >=media-libs/libao-0.8.4 )
- audiofile? ( media-libs/audiofile )
- flac? ( >=media-libs/flac-1.1.0 )
- icecast? ( media-libs/libshout )
- mad? ( media-libs/libmad
- media-libs/libid3tag )
- mikmod? ( media-libs/libmikmod )
- musepack? ( media-libs/libmpcdec )
- vorbis? ( media-libs/libvorbis )"
-
-upgrade_warning() {
- echo
- ewarn "This package now correctly uses 'vorbis' USE flag, instead of 'ogg'."
- ewarn "See http://bugs.gentoo.org/show_bug.cgi?id=101877 for details."
- echo
- ewarn "Home directory of user mpd, as well as default locations in mpd.conf have"
- ewarn "been changed to /var/lib/mpd, please bear that in mind while updating"
- ewarn "your mpd.conf file."
- echo
- epause 7
-}
-
-pkg_setup() {
- upgrade_warning
- enewuser mpd '' '' "/var/lib/mpd" audio || die "problem adding user mpd"
-
- # also change the homedir if the user has existed before
- usermod -d "/var/lib/mpd" mpd
-}
-
-src_compile() {
- econf \
- $(use_enable alsa) \
- $(use_enable alsa alsatest) \
- $(use_enable oss) \
- $(use_enable mp3) \
- $(use_enable aac) \
- $(use_enable ao) \
- $(use_enable ao aotest) \
- $(use_enable audiofile) \
- $(use_enable audiofile audiofiletest) \
- $(use_enable flac libFLACtest) \
- $(use_enable flac) \
- $(use_enable icecast shout) \
- $(use_enable ipv6) \
- $(use_enable !mad mpd-mad) \
- $(use_enable !mad mpd-id3tag) \
- $(use_enable mikmod libmikmodtest) \
- $(use_enable mikmod mod) \
- $(use_enable musepack mpc) \
- $(use_enable vorbis ogg) \
- $(use_enable vorbis oggtest) \
- $(use_enable vorbis vorbistest) \
- || die "could not configure"
-
- emake || die "emake failed"
-}
-
-src_install() {
- dodir /var/run/mpd
- fowners mpd:audio /var/run/mpd
- fperms 750 /var/run/mpd
- keepdir /var/run/mpd
-
- emake install DESTDIR=${D} || die
- rm -rf ${D}/usr/share/doc/mpd/
- dodoc ChangeLog INSTALL README TODO UPGRADING
- dodoc doc/COMMANDS doc/mpdconf.example
-
- insinto /etc
- newins doc/mpdconf.example mpd.conf
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/mpd.rc6 mpd
-
- if use unicode; then
- dosed 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' /etc/mpd.conf
- fi
- dosed 's:^#user.*$:user "mpd":' /etc/mpd.conf
- dosed 's:^#bind.*$:bind_to_address "localhost":' /etc/mpd.conf
- dosed 's:^port.*$:port "6600":' /etc/mpd.conf
- dosed 's:^music_directory.*$:music_directory "/var/lib/mpd/music":' /etc/mpd.conf
- dosed 's:^playlist_directory.*$:playlist_directory "/var/lib/mpd/playlists":' /etc/mpd.conf
- dosed 's:^log_file.*$:log_file "/var/log/mpd.log":' /etc/mpd.conf
- dosed 's:^error_file.*$:error_file "/var/log/mpd.error.log":' /etc/mpd.conf
- dosed 's:^pid_file.*$:pid_file "/var/run/mpd/mpd.pid":' /etc/mpd.conf
- dosed 's:^db_file.*:db_file "/var/lib/mpd/database":' /etc/mpd.conf
- dosed 's:^#state_file.*$:state_file "/var/lib/mpd/state":' /etc/mpd.conf
- diropts -m0755 -o mpd -g audio
- dodir /var/lib/mpd/music
- keepdir /var/lib/mpd/music
- dodir /var/lib/mpd/playlists
- keepdir /var/lib/mpd/playlists
- insinto /var/log
- touch ${T}/blah
- insopts -m0640 -o mpd -g audio
- newins ${T}/blah mpd.log
- newins ${T}/blah mpd.error.log
-
- use alsa && \
- dosed 's:need :need alsasound :' /etc/init.d/mpd
-}
-
-pkg_postinst() {
- echo
- einfo "The default config now binds the daemon strictly to localhost,"
- einfo "rather than to all available IPs."
- echo
- if ! use ao ; then
- ewarn "As you're not using libao for audio output, you need to"
- ewarn "adjust audio_output sections in /etc/mpd.conf to use"
- ewarn "ALSA or OSS. See"
- ewarn "/usr/share/doc/${PF}/mpdconf.example.gz."
- echo
- fi
- einfo "Please make sure that MPD's pid_file is set to /var/run/mpd/mpd.pid."
- echo
- ewarn "Note that this is just a development version of Music Player Daemon,"
- ewarn "so if you want to report any bug to MPD developers, please state this fact in"
- ewarn "your bug report, as well as the fact that you used a ${P} Gentoo ebuild."
- upgrade_warning
-}
diff --git a/media-sound/mpd-svn/mpd-svn-20060321.ebuild b/media-sound/mpd-svn/mpd-svn-20060321.ebuild
deleted file mode 100644
index 15783a232323..000000000000
--- a/media-sound/mpd-svn/mpd-svn-20060321.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd-svn/mpd-svn-20060321.ebuild,v 1.2 2006/03/23 01:52:53 ticho Exp $
-
-inherit eutils
-
-DESCRIPTION="A development version of Music Player Daemon (mpd)"
-HOMEPAGE="http://www.musicpd.org"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="aac alsa ao audiofile flac icecast ipv6 mad mikmod mp3 musepack oss unicode vorbis"
-
-DEPEND="dev-util/gperf
- !media-sound/mpd
- sys-libs/zlib
- >=dev-libs/glib-2.0.0
- aac? ( >=media-libs/faad2-2.0_rc2 )
- alsa? ( media-sound/alsa-utils )
- ao? ( >=media-libs/libao-0.8.4 )
- audiofile? ( media-libs/audiofile )
- flac? ( >=media-libs/flac-1.1.0 )
- icecast? ( media-libs/libshout )
- mad? ( media-libs/libmad
- media-libs/libid3tag )
- mikmod? ( media-libs/libmikmod )
- musepack? ( media-libs/libmpcdec )
- vorbis? ( media-libs/libvorbis )"
-
-upgrade_warning() {
- echo
- ewarn "Home directory of user mpd, as well as default locations in mpd.conf have"
- ewarn "been changed to /var/lib/mpd, please bear that in mind while updating"
- ewarn "your mpd.conf file."
- echo
- epause 5
-}
-
-pkg_setup() {
- upgrade_warning
- enewuser mpd '' '' "/var/lib/mpd" audio || die "problem adding user mpd"
-
- # also change the homedir if the user has existed before
- usermod -d "/var/lib/mpd" mpd
-}
-
-src_compile() {
- econf \
- $(use_enable alsa) \
- $(use_enable alsa alsatest) \
- $(use_enable oss) \
- $(use_enable mp3) \
- $(use_enable aac) \
- $(use_enable ao) \
- $(use_enable ao aotest) \
- $(use_enable audiofile) \
- $(use_enable audiofile audiofiletest) \
- $(use_enable flac libFLACtest) \
- $(use_enable flac) \
- $(use_enable flac oggflac) \
- $(use_enable icecast shout) \
- $(use_enable ipv6) \
- $(use_enable !mad mpd-mad) \
- $(use_enable !mad mpd-id3tag) \
- $(use_enable mikmod libmikmodtest) \
- $(use_enable mikmod mod) \
- $(use_enable musepack mpc) \
- $(use_enable vorbis oggvorbis) \
- $(use_enable vorbis vorbistest) \
- || die "could not configure"
-
- emake || die "emake failed"
-}
-
-src_install() {
- dodir /var/run/mpd
- fowners mpd:audio /var/run/mpd
- fperms 750 /var/run/mpd
- keepdir /var/run/mpd
-
- emake install DESTDIR=${D} || die
- rm -rf ${D}/usr/share/doc/mpd/
- dodoc ChangeLog INSTALL README TODO UPGRADING
- dodoc doc/COMMANDS doc/mpdconf.example
-
- insinto /etc
- newins doc/mpdconf.example mpd.conf
-
- exeinto /etc/init.d
- newexe ${FILESDIR}/mpd.rc6 mpd
-
- if use unicode; then
- dosed 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' /etc/mpd.conf
- fi
- dosed 's:^#user.*$:user "mpd":' /etc/mpd.conf
- dosed 's:^#bind.*$:bind_to_address "localhost":' /etc/mpd.conf
- dosed 's:^port.*$:port "6600":' /etc/mpd.conf
- dosed 's:^music_directory.*$:music_directory "/var/lib/mpd/music":' /etc/mpd.conf
- dosed 's:^playlist_directory.*$:playlist_directory "/var/lib/mpd/playlists":' /etc/mpd.conf
- dosed 's:^log_file.*$:log_file "/var/log/mpd.log":' /etc/mpd.conf
- dosed 's:^error_file.*$:error_file "/var/log/mpd.error.log":' /etc/mpd.conf
- dosed 's:^pid_file.*$:pid_file "/var/run/mpd/mpd.pid":' /etc/mpd.conf
- dosed 's:^db_file.*:db_file "/var/lib/mpd/database":' /etc/mpd.conf
- dosed 's:^#state_file.*$:state_file "/var/lib/mpd/state":' /etc/mpd.conf
- diropts -m0755 -o mpd -g audio
- dodir /var/lib/mpd/music
- keepdir /var/lib/mpd/music
- dodir /var/lib/mpd/playlists
- keepdir /var/lib/mpd/playlists
- insinto /var/log
- touch ${T}/blah
- insopts -m0640 -o mpd -g audio
- newins ${T}/blah mpd.log
- newins ${T}/blah mpd.error.log
-
- use alsa && \
- dosed 's:need :need alsasound :' /etc/init.d/mpd
-}
-
-pkg_postinst() {
- upgrade_warning
- einfo "Please make sure that MPD's pid_file is set to /var/run/mpd/mpd.pid."
- echo
- ewarn "Note that this is just a development version of Music Player Daemon,"
- ewarn "so if you want to report any bug to MPD developers, please state this fact in"
- ewarn "your bug report, as well as the fact that you used a ${P} Gentoo ebuild."
-}