From 424c4319133f9aeb5d553aff58d3cd34d3e2f588 Mon Sep 17 00:00:00 2001 From: Christoph Mende Date: Fri, 13 Dec 2013 20:19:39 +0000 Subject: Version bump, remove old Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x84F20B43 --- media-sound/mpd/ChangeLog | 8 +- media-sound/mpd/Manifest | 12 +-- media-sound/mpd/mpd-0.18.3.ebuild | 203 -------------------------------------- media-sound/mpd/mpd-0.18.5.ebuild | 203 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 216 insertions(+), 210 deletions(-) delete mode 100644 media-sound/mpd/mpd-0.18.3.ebuild create mode 100644 media-sound/mpd/mpd-0.18.5.ebuild (limited to 'media-sound/mpd') diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog index e47ed842e4e3..20a6b6ca4190 100644 --- a/media-sound/mpd/ChangeLog +++ b/media-sound/mpd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/mpd # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.325 2013/11/17 09:47:47 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.326 2013/12/13 20:15:04 angelos Exp $ + +*mpd-0.18.5 (13 Dec 2013) + + 13 Dec 2013; Christoph Mende +mpd-0.18.5.ebuild, + -mpd-0.18.3.ebuild: + Version bump, remove old 17 Nov 2013; Christoph Mende mpd-0.18.3.ebuild, mpd-0.18.4.ebuild: diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest index c95e96c915a1..6437893020a5 100644 --- a/media-sound/mpd/Manifest +++ b/media-sound/mpd/Manifest @@ -8,18 +8,18 @@ AUX mpd.init 822 SHA256 210dc0904dac93bc619566f7f3b4a7bfd072392811f83b35781a8f26 AUX mpd.logrotate 121 SHA256 61fcdec688b5271e4d0e725937082be7e49319562e51c92d022267f43d793e3f SHA512 b6facb6df0ff2dbb9d68eaad40d453545f490ef1b984b8820fce3dd2d0e5647d319c34f6c31ff73bc2451aa5d15ff09b6a6e95ef88d42dd3d6045422fe5a798b WHIRLPOOL 2cba4c637743b198049d0c6c32fd15531436a3977efee1efdbcd23be9e72b417b307b65d910d1fe0c7cd92c70f6ba5c4ee9fbef0eb051b4447fb249984ad0a57 DIST mpd-0.17.4.tar.bz2 582579 SHA256 ad1559c8db4438d76b7fc41f0b362be5ec4046a5d301f0f7a50e1eea67f85cd4 SHA512 6ad218bf0c8c01667b5bf4234d6350889822e898bd143680d572507a088f3101c23f693252d566f64d2b0fe3699d25970334b52281751b90dbefd385d7c8d729 WHIRLPOOL cd399947dea25d2c60600fb6a2b7fddf36bb0dddd1f2761dbb479d09687699bbd2b967836d21eb7534c8c1d3c93cdff79851ac1e0ff88514b1fa03c4e4e42685 DIST mpd-0.17.6.tar.bz2 585951 SHA256 9788948175157dc1c4da4a7d36e04a4b4812cb3a79f6b935e4fc9f93cb60c332 SHA512 014629b913e7bd537f38303ffee295648b55fe18dc0ea669b463b82c3d60334792eeedb624f96849c834cf32e0bb5107f804e59d62be293ff78d3d940dbbb9e2 WHIRLPOOL dee52fe02174b3818ce4483385b7b91e0667fddfd4912023551032b29a67b80a9d3aba2f2d49781266eceb25d5af2c3fe1285f46ad1513cafcd0f5d3766d2705 -DIST mpd-0.18.3.tar.xz 580332 SHA256 425e6882e1d558642bb5433c78155f6bee7c58c95083d3a6615cdf164365d719 SHA512 b1c7b1bfd2ed53f0c752fba6a116224c42f9a0d3ead74e78edbf8f55de2ffba5d3adabb2fc78eca8746c83cf9c98e14ee73f3893fa9c4ce3c78936faf8e72ddf WHIRLPOOL 97164a3f87ac06cc46a6d676bd31e278965e10753caec0386c6d55143a6340ece69f55a6ea7a6106f1847106eb45dd62e1a7bbe0bb4869423fcefd769ccbf822 DIST mpd-0.18.4.tar.xz 579680 SHA256 aa409ca6973029f2cd3986df5e9f8488ad206838c31b9dead03dc8433eb7e326 SHA512 f12e3bca60be59ad45493c03ef49284807ab5ed5401a476407361f69d093e71ffa22004b55c18b633833e982524815335b14cce5bdfdee90b82abac3a3c347da WHIRLPOOL ca7e406fb89d222587de971e2dfddf23381e88a4fc375c74029c1d78868a2384ea262bfd389025ff7fe0abcb92deabc73c30c070a55128ae3575054f9de8edcc +DIST mpd-0.18.5.tar.xz 580332 SHA256 3424a520f76da90a6869039eb7e89e1e6e3973a6da9e89ffdadf1c4a4ac6e11c SHA512 e907a28f675a524228abae2ea9bf05106bb370ea34124e64e76623b50a66bedfa702d619ea88e789914c323622d5490dd0d62f25b472188346d6b3719139774a WHIRLPOOL 216c2582c6318a185f1f9646d6155c1a62df4e145328207fd4f6e77594c57b356026f3f1880c5eca0c95f0e3d489c3de6c8f84d7a65cd48c8b544e81b5749c31 EBUILD mpd-0.17.4-r2.ebuild 6339 SHA256 4e32a66a955c33ab69e2599846258c4d1765331bb552294b4d7b5c5e1b1b02cb SHA512 6d8e0a56f6ed7d6cccfaf6a4592b0fcdb800d0f04d05f533927b5b0be59d4a681d8507c4628c46a90a1b446092aa332a1d136e676c5c9d247a22d5a0981292d9 WHIRLPOOL 8d205f74e91f0e0cb437d5bf321c85e350822bbf20fc420302b15c4029fe05184d2218a4e34b617c44c4ed1c72f571afd377b0a56ca6b8a4d84b5597eee0c762 EBUILD mpd-0.17.6.ebuild 6316 SHA256 f8d337c013c09b86aa22059ba974b43ee38941c514db2449d8dc106378d40ca9 SHA512 f24f523252a22de5163ec767c5f89891d586270bb1536375b16fbffacbb89cdd512332be8fdb2eefae028c7d03320d277f7d65e77730ce10adf83a083a64b702 WHIRLPOOL 039a57b3278dd31fa1002337e13cb2d1f887340114a1ec65235a0ae6426a1c7f6a0b44ed0d4ca873515b253979aeb68740aa50949a244321d9ff86872d721fbe -EBUILD mpd-0.18.3.ebuild 6260 SHA256 334a207daabea12379e39b7408f0a77bb16d5d9f599c61f81869292e831e5281 SHA512 a2e54525d745c8115e05c38367ed3a01a15e3608abc76d807d16711fb5f99ae000dc7ee2175026e5fbb1ac85812c4800554946af0616e49c7406354e51e1f699 WHIRLPOOL 65bb03800115c3bc4e79f5b22f9d11f9460070a51ea4c528797b5baefec75ba08ed44dde7eaaa47e13ca3fb20614616ac7e7f1d4876e041421982f5329ef0a94 EBUILD mpd-0.18.4.ebuild 6260 SHA256 169d82aed741f3d2d3a1b91ec2fb1870e67b9fdb4314671e6cfd9e4b13e9798c SHA512 181772c1648fc06f85e87aff1b0a4f5bbb11b3297e7e2c9c5789c4e07a385bf7184b3b943dab90a7bebad607cc845681b0390909a0655ffb181561e426191927 WHIRLPOOL 38fe5fb2e58441e01a82e3447f944e44a5748ab68662f14612bd690ce05ba2805d474343796fbcc0232c90cfa3375ed25d1f8f521d744482faa3f795e8b33486 -MISC ChangeLog 46645 SHA256 29740be4be2ae69c1bbd940c1f915ebdf95298608dd609b5badb54c1135f3625 SHA512 9450634359c98b99a364d9259e80ac38f797dd9ebc4fe919ccc2284c2c8318d72ac751083f8b451a585bd572cdc823ea46b5d4b9975043be48f9272014388864 WHIRLPOOL 4e3f0c4fc980a9115c98404afaede0a846b95bd142e2df95041d4b825f583fa68f79fc61114927895b9f7fea8921fe276ba4d03649976a16e960ba481e616bbb +EBUILD mpd-0.18.5.ebuild 6260 SHA256 d2d6c2e27803313f09e4e59c62b9f361bf308ef66d267f1a441e592b959352ad SHA512 68ecc9bfea3edf7a0e4cac3e9b5e4ae355295f33772ee28bcbb697f36afc0580d5c4441e88c0f8e09847833919c8588a273a99eb7b7b2b66a72c51dc8be3f9a2 WHIRLPOOL bb5160fdc37a555b6c8d2b09bb29ed45736d9ee849bfa1741ecf22cc7d97a09704183ea684b4ca9d33e977678c2cd7502f10fb24467d38377abff213c20a9e10 +MISC ChangeLog 46794 SHA256 4cc43893f8ebdd6cd5cc530515af9981368bdd9cb602cb0f7fa22bfc321ee2c9 SHA512 b46815dadb65383b2c99f431d66016deae8db23e22e73a2b4bc1071c2a3f123130063459ba82ddea2aeaa34a14c7e613b83bf21aaaf48910fd059f63968c7b8e WHIRLPOOL 044d18844c497425d6461394331887c5f258f393c111d3a73a82213d39104be255e8ac0eda3945cec69a49f69bf69cb7206b1c73c80fc60b6b2dcedef065fc13 MISC metadata.xml 2057 SHA256 03ab12c4339334c9925649d19c61844c14600680d33b83736922b4537b94515c SHA512 71f55e89be531d5e1aa32182b8348899b87dfa3ef13782f52cc39748cce307273b714975016e2737d4e9941f2f4e71f31d6b38856eb5a9f1c1d33b2afc28fbb6 WHIRLPOOL 160272fbeffa01fbec0fc5bbb75f643cc4540def81f6e31bde450e18865bf43a6a329890db0bb8d3c6a22fdd740c1c1bf213cf87bc54fe103c7fadcba892a9d6 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iF4EAREIAAYFAlKIkMMACgkQmWq1bYTyC0M8jAD/VXwNXm3CK/g6aRULqYnV4s7F -k84iBRdYiD7kgBSZDI0BALyeyEu2hy8XnUBZG+fIHy7H4MmbJ75YAL8+Z6SEIILR -=orny +iF0EAREIAAYFAlKraskACgkQmWq1bYTyC0MJ4AD/ZbRPWdEmZ9+OUs06L5H2Dyrz +8PZHfHL9jzWAqg1pfQAA8wcfnbUyNVliKxKilEF2E+U9S/3rteukn6VKiDL0e3E= +=68rD -----END PGP SIGNATURE----- diff --git a/media-sound/mpd/mpd-0.18.3.ebuild b/media-sound/mpd/mpd-0.18.3.ebuild deleted file mode 100644 index 2f82aabbe6da..000000000000 --- a/media-sound/mpd/mpd-0.18.3.ebuild +++ /dev/null @@ -1,203 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.18.3.ebuild,v 1.2 2013/11/17 09:47:47 angelos Exp $ - -EAPI=4 -inherit eutils flag-o-matic linux-info multilib readme.gentoo systemd user - -DESCRIPTION="The Music Player Daemon (mpd)" -HOMEPAGE="http://www.musicpd.org" -SRC_URI="http://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~sh ~x86 ~x86-fbsd ~x64-macos" -IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug faad +fifo +ffmpeg flac - fluidsynth gme +id3tag inotify ipv6 jack lame mms libmpdclient - libsamplerate +mad mikmod modplug mpg123 musepack +network ogg openal opus - oss pipe pulseaudio recorder sid sndfile soundcloud sqlite systemd tcpd - twolame unicode vorbis wavpack wildmidi zeroconf zip" - -OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder" -DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod - modplug mpg123 musepack ogg flac sid vorbis wavpack wildmidi" -ENCODER_PLUGINS="audiofile flac lame twolame vorbis" - -REQUIRED_USE="|| ( ${OUTPUT_PLUGINS} ) - || ( ${DECODER_PLUGINS} ) - network? ( || ( ${ENCODER_PLUGINS} ) ) - recorder? ( || ( ${ENCODER_PLUGINS} ) )" - -RDEPEND="!=media-libs/game-music-emu-0.6.0_pre20120802 ) - id3tag? ( media-libs/libid3tag ) - jack? ( media-sound/jack-audio-connection-kit ) - lame? ( network? ( media-sound/lame ) ) - libmpdclient? ( media-libs/libmpdclient ) - libsamplerate? ( media-libs/libsamplerate ) - mad? ( media-libs/libmad ) - mikmod? ( media-libs/libmikmod:0 ) - mms? ( media-libs/libmms ) - modplug? ( media-libs/libmodplug ) - mpg123? ( >=media-sound/mpg123-1.12.2 ) - musepack? ( media-sound/musepack-tools ) - network? ( >=media-libs/libshout-2 - !lame? ( !vorbis? ( media-libs/libvorbis ) ) ) - ogg? ( media-libs/libogg ) - openal? ( media-libs/openal ) - opus? ( media-libs/opus ) - pulseaudio? ( media-sound/pulseaudio ) - sid? ( media-libs/libsidplay:2 ) - sndfile? ( media-libs/libsndfile ) - soundcloud? ( >=dev-libs/yajl-2 ) - sqlite? ( dev-db/sqlite:3 ) - systemd? ( sys-apps/systemd ) - tcpd? ( sys-apps/tcp-wrappers ) - twolame? ( media-sound/twolame ) - vorbis? ( media-libs/libvorbis ) - wavpack? ( media-sound/wavpack ) - wildmidi? ( media-sound/wildmidi ) - zeroconf? ( net-dns/avahi[dbus] ) - zip? ( dev-libs/zziplib )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -pkg_setup() { - use network || ewarn "Icecast and Shoutcast streaming needs networking." - use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream." - - enewuser mpd "" "" "/var/lib/mpd" audio - - if use inotify; then - CONFIG_CHECK="~INOTIFY_USER" - ERROR_INOTIFY_USER="${P} requires inotify in-kernel support." - linux-info_pkg_setup - fi -} - -src_prepare() { - DOC_CONTENTS="If you will be starting mpd via /etc/init.d/mpd, please make - sure that MPD's pid_file is unset." - - cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed" - epatch "${FILESDIR}"/${PN}-0.16.conf.patch - - if has_version dev-libs/libcdio-paranoia; then - sed -i \ - -e 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:' \ - src/input/CdioParanoiaInputPlugin.cxx || die - fi -} - -src_configure() { - local mpdconf="--disable-despotify --disable-documentation --disable-roar - --enable-largefile --enable-tcp --enable-un - --docdir=${EPREFIX}/usr/share/doc/${PF}" - - if use network; then - mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder) - --enable-httpd-output $(use_enable lame lame-encoder) - $(use_enable twolame twolame-encoder) - $(use_enable audiofile wave-encoder)" - else - mpdconf+=" --disable-shout --disable-vorbis-encoder - --disable-httpd-output --disable-lame-encoder - --disable-twolame-encoder --disable-wave-encoder" - fi - - append-lfs-flags - append-ldflags "-L/usr/$(get_libdir)/sidplay/builders" - - econf \ - $(use_enable alsa) \ - $(use_enable ao) \ - $(use_enable audiofile) \ - $(use_enable bzip2) \ - $(use_enable cdio cdio-paranoia) \ - $(use_enable cdio iso9660) \ - $(use_enable curl) \ - $(use_enable debug) \ - $(use_enable faad aac) \ - $(use_enable ffmpeg) \ - $(use_enable fifo) \ - $(use_enable flac) \ - $(use_enable fluidsynth) \ - $(use_enable gme) \ - $(use_enable id3tag id3) \ - $(use_enable inotify) \ - $(use_enable ipv6) \ - $(use_enable jack) \ - $(use_enable libmpdclient) \ - $(use_enable libsamplerate lsr) \ - $(use_enable mad) \ - $(use_enable mikmod) \ - $(use_enable mms) \ - $(use_enable modplug) \ - $(use_enable mpg123) \ - $(use_enable musepack mpc) \ - $(use_enable openal) \ - $(use_enable oss) \ - $(use_enable pipe pipe-output) \ - $(use_enable pulseaudio pulse) \ - $(use_enable recorder recorder-output) \ - $(use_enable sid sidplay) \ - $(use_enable sndfile sndfile) \ - $(use_enable soundcloud) \ - $(use_enable sqlite) \ - $(use_enable systemd systemd-daemon) \ - $(use_enable tcpd libwrap) \ - $(use_enable vorbis) \ - $(use_enable wavpack) \ - $(use_enable wildmidi) \ - $(use_enable zip zzip) \ - $(use_with zeroconf zeroconf avahi) \ - "$(systemd_with_unitdir)" \ - ${mpdconf} -} - -src_install() { - emake DESTDIR="${D}" install - - insinto /etc - newins doc/mpdconf.dist mpd.conf - - newinitd "${FILESDIR}"/mpd.init mpd - - if use unicode; then - sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ - "${ED}"/etc/mpd.conf || die "sed failed" - fi - - insinto /etc/logrotate.d - newins "${FILESDIR}"/${PN}.logrotate ${PN} - - use prefix || diropts -m0755 -o mpd -g audio - dodir /var/lib/mpd - keepdir /var/lib/mpd - dodir /var/lib/mpd/music - keepdir /var/lib/mpd/music - dodir /var/lib/mpd/playlists - keepdir /var/lib/mpd/playlists - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - - # also change the homedir if the user has existed before - usermod -d "/var/lib/mpd" mpd -} diff --git a/media-sound/mpd/mpd-0.18.5.ebuild b/media-sound/mpd/mpd-0.18.5.ebuild new file mode 100644 index 000000000000..adf77fbf5e4c --- /dev/null +++ b/media-sound/mpd/mpd-0.18.5.ebuild @@ -0,0 +1,203 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.18.5.ebuild,v 1.1 2013/12/13 20:15:04 angelos Exp $ + +EAPI=4 +inherit eutils flag-o-matic linux-info multilib readme.gentoo systemd user + +DESCRIPTION="The Music Player Daemon (mpd)" +HOMEPAGE="http://www.musicpd.org" +SRC_URI="http://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sh ~x86 ~x86-fbsd ~x64-macos" +IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug faad +fifo +ffmpeg flac + fluidsynth gme +id3tag inotify ipv6 jack lame mms libmpdclient + libsamplerate +mad mikmod modplug mpg123 musepack +network ogg openal opus + oss pipe pulseaudio recorder sid sndfile soundcloud sqlite systemd tcpd + twolame unicode vorbis wavpack wildmidi zeroconf zip" + +OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder" +DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod + modplug mpg123 musepack ogg flac sid vorbis wavpack wildmidi" +ENCODER_PLUGINS="audiofile flac lame twolame vorbis" + +REQUIRED_USE="|| ( ${OUTPUT_PLUGINS} ) + || ( ${DECODER_PLUGINS} ) + network? ( || ( ${ENCODER_PLUGINS} ) ) + recorder? ( || ( ${ENCODER_PLUGINS} ) )" + +RDEPEND="!=media-libs/game-music-emu-0.6.0_pre20120802 ) + id3tag? ( media-libs/libid3tag ) + jack? ( media-sound/jack-audio-connection-kit ) + lame? ( network? ( media-sound/lame ) ) + libmpdclient? ( media-libs/libmpdclient ) + libsamplerate? ( media-libs/libsamplerate ) + mad? ( media-libs/libmad ) + mikmod? ( media-libs/libmikmod:0 ) + mms? ( media-libs/libmms ) + modplug? ( media-libs/libmodplug ) + mpg123? ( >=media-sound/mpg123-1.12.2 ) + musepack? ( media-sound/musepack-tools ) + network? ( >=media-libs/libshout-2 + !lame? ( !vorbis? ( media-libs/libvorbis ) ) ) + ogg? ( media-libs/libogg ) + openal? ( media-libs/openal ) + opus? ( media-libs/opus ) + pulseaudio? ( media-sound/pulseaudio ) + sid? ( media-libs/libsidplay:2 ) + sndfile? ( media-libs/libsndfile ) + soundcloud? ( >=dev-libs/yajl-2 ) + sqlite? ( dev-db/sqlite:3 ) + systemd? ( sys-apps/systemd ) + tcpd? ( sys-apps/tcp-wrappers ) + twolame? ( media-sound/twolame ) + vorbis? ( media-libs/libvorbis ) + wavpack? ( media-sound/wavpack ) + wildmidi? ( media-sound/wildmidi ) + zeroconf? ( net-dns/avahi[dbus] ) + zip? ( dev-libs/zziplib )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + use network || ewarn "Icecast and Shoutcast streaming needs networking." + use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream." + + enewuser mpd "" "" "/var/lib/mpd" audio + + if use inotify; then + CONFIG_CHECK="~INOTIFY_USER" + ERROR_INOTIFY_USER="${P} requires inotify in-kernel support." + linux-info_pkg_setup + fi +} + +src_prepare() { + DOC_CONTENTS="If you will be starting mpd via /etc/init.d/mpd, please make + sure that MPD's pid_file is unset." + + cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed" + epatch "${FILESDIR}"/${PN}-0.16.conf.patch + + if has_version dev-libs/libcdio-paranoia; then + sed -i \ + -e 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:' \ + src/input/CdioParanoiaInputPlugin.cxx || die + fi +} + +src_configure() { + local mpdconf="--disable-despotify --disable-documentation --disable-roar + --enable-largefile --enable-tcp --enable-un + --docdir=${EPREFIX}/usr/share/doc/${PF}" + + if use network; then + mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder) + --enable-httpd-output $(use_enable lame lame-encoder) + $(use_enable twolame twolame-encoder) + $(use_enable audiofile wave-encoder)" + else + mpdconf+=" --disable-shout --disable-vorbis-encoder + --disable-httpd-output --disable-lame-encoder + --disable-twolame-encoder --disable-wave-encoder" + fi + + append-lfs-flags + append-ldflags "-L/usr/$(get_libdir)/sidplay/builders" + + econf \ + $(use_enable alsa) \ + $(use_enable ao) \ + $(use_enable audiofile) \ + $(use_enable bzip2) \ + $(use_enable cdio cdio-paranoia) \ + $(use_enable cdio iso9660) \ + $(use_enable curl) \ + $(use_enable debug) \ + $(use_enable faad aac) \ + $(use_enable ffmpeg) \ + $(use_enable fifo) \ + $(use_enable flac) \ + $(use_enable fluidsynth) \ + $(use_enable gme) \ + $(use_enable id3tag id3) \ + $(use_enable inotify) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable libmpdclient) \ + $(use_enable libsamplerate lsr) \ + $(use_enable mad) \ + $(use_enable mikmod) \ + $(use_enable mms) \ + $(use_enable modplug) \ + $(use_enable mpg123) \ + $(use_enable musepack mpc) \ + $(use_enable openal) \ + $(use_enable oss) \ + $(use_enable pipe pipe-output) \ + $(use_enable pulseaudio pulse) \ + $(use_enable recorder recorder-output) \ + $(use_enable sid sidplay) \ + $(use_enable sndfile sndfile) \ + $(use_enable soundcloud) \ + $(use_enable sqlite) \ + $(use_enable systemd systemd-daemon) \ + $(use_enable tcpd libwrap) \ + $(use_enable vorbis) \ + $(use_enable wavpack) \ + $(use_enable wildmidi) \ + $(use_enable zip zzip) \ + $(use_with zeroconf zeroconf avahi) \ + "$(systemd_with_unitdir)" \ + ${mpdconf} +} + +src_install() { + emake DESTDIR="${D}" install + + insinto /etc + newins doc/mpdconf.dist mpd.conf + + newinitd "${FILESDIR}"/mpd.init mpd + + if use unicode; then + sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ + "${ED}"/etc/mpd.conf || die "sed failed" + fi + + insinto /etc/logrotate.d + newins "${FILESDIR}"/${PN}.logrotate ${PN} + + use prefix || diropts -m0755 -o mpd -g audio + dodir /var/lib/mpd + keepdir /var/lib/mpd + dodir /var/lib/mpd/music + keepdir /var/lib/mpd/music + dodir /var/lib/mpd/playlists + keepdir /var/lib/mpd/playlists + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + + # also change the homedir if the user has existed before + usermod -d "/var/lib/mpd" mpd +} -- cgit v1.2.3-65-gdbad