mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-sound/upmpdcli: add 1.8.9
Signed-off-by: Erik Mackdanz <stasibear@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST upmpdcli-1.8.1.tar.gz 629467 BLAKE2B dcc5f719721711e8b1ab53c8a163aa1230f01358fea54aad4e4fc7bc9e1f1442c31328f16637606fc06bebdff012c581a16f843885e2675949f2cb92a6ce6444 SHA512 35c1cc3ac215d783253b93f88a50fef2caa2d9ac541240fe58398ae062f02c4934c7b832f0159c7e542284496af59f91a59a2cfe3a0d5e2152dd40e7dec1aed7
|
||||
DIST upmpdcli-1.8.9.tar.gz 658086 BLAKE2B 61aa8752f7c2611fd27be5c8114630f9be00f84d27ad2ccbb32320cf7ba00c0dc5a983222de50f9bc361c6a695634c0c0d6896d355bc90bb26637f35bc4432be SHA512 f7fc474d91076acfe1d1482db6ea3e9a4a15612cfdef854e11721673f5822f1d2adf1b353b39bdbfbb6cbf869f4b6e8b6995c78e11555cd03c44140f4104b087
|
||||
|
||||
71
media-sound/upmpdcli/upmpdcli-1.8.9.ebuild
Normal file
71
media-sound/upmpdcli/upmpdcli-1.8.9.ebuild
Normal file
@@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools systemd
|
||||
|
||||
DESCRIPTION="UPnP Media Renderer front-end for MPD, the Music Player Daemon"
|
||||
HOMEPAGE="https://www.lesbonscomptes.com/upmpdcli/index.html"
|
||||
|
||||
SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="thirdparty"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/jsoncpp
|
||||
media-libs/libmpdclient
|
||||
net-libs/libmicrohttpd:=
|
||||
net-libs/libupnpp
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
acct-group/upmpdcli
|
||||
acct-user/upmpdcli
|
||||
app-misc/recoll
|
||||
thirdparty? ( dev-python/requests )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/makefile.patch
|
||||
"${FILESDIR}"/configure.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
||||
eautoconf
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var/lib \
|
||||
--disable-dependency-tracking \
|
||||
--disable-silent-rules \
|
||||
"--docdir=/usr/share/doc/${P}" \
|
||||
"--htmldir=/usr/share/doc/${P}/html" \
|
||||
--libdir=/usr/lib64 \
|
||||
|| die "Configure failed"
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
systemd_dounit systemd/upmpdcli.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo
|
||||
einfo "This package no longer assumes that upmpdcli is driving an"
|
||||
einfo "mpd instance on the same host (https://bugs.gentoo.org/670130)."
|
||||
einfo "Probably it is though, so be sure your mpd is built with"
|
||||
einfo "USE=curl."
|
||||
}
|
||||
Reference in New Issue
Block a user