* [gentoo-commits] repo/gentoo:master commit in: media-sound/owntone/
@ 2024-09-03 21:09 Fabian Groffen
0 siblings, 0 replies; only message in thread
From: Fabian Groffen @ 2024-09-03 21:09 UTC (permalink / raw
To: gentoo-commits
commit: a271dfe70e9a4398e9852af777adb9426052ff3f
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 3 21:09:13 2024 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Sep 3 21:09:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a271dfe7
media-sound/owntone: bump to a git snapshot for MPD fixes
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
media-sound/owntone/Manifest | 2 +
media-sound/owntone/owntone-28.9_p20240903.ebuild | 92 +++++++++++++++++++++++
2 files changed, 94 insertions(+)
diff --git a/media-sound/owntone/Manifest b/media-sound/owntone/Manifest
index 24e735e127d1..f5424917a3f3 100644
--- a/media-sound/owntone/Manifest
+++ b/media-sound/owntone/Manifest
@@ -1 +1,3 @@
DIST owntone-28.9.tar.xz 1066248 BLAKE2B 68ba46e6ff2e406d54ccfe387191a67d4eb7590db3039d87ffcd5eabf7417059084997f0d6be810d164616cd663b2e4143714ef4ac31acb7d91e254ccd342465 SHA512 29f42a4a8c9501a038ecc5026fc4bce9d777dee722937b89a55523cd68f001c821017d09f32b704a0c331879f7049d7d087d8e6899c82924f45401b012c65e95
+DIST owntone-28.9_p20240903-40c22e3d.tar.gz 5730828 BLAKE2B 8328a1c06fa40f27d55c3b28149a0b50f6bf295fe96c1f11bd82e677447ee3c5b5bf55b7d77f201fa73095c1b3f1a878b80b241ac1467d2977611eec3901d1d5 SHA512 5b8ea0aafd8cc63752152ab2e7ae82bb6cd02b743efd419b75f9a3bf2981b26066ef34c26c392822e0666e633653749fce5cdffb83bac788546a3b9a729e1e96
+DIST owntone-40c22e3-mpd-0.24-r1.patch 75389 BLAKE2B 8047a72dcd374c03e81ea0ab2e2017cab40c58d11d8cf566580b422bbede793696d434ebfacf9d9b2366c91e86a949a8f1c7abced045025a98d7e2795f05c781 SHA512 6a0aa32622083f47eedf172880bb7d6debd3063fa18059510b022e3eca7afbd7d8c29d5f7fc8a3b04b54a42585e6df8e5568615125316a063ff58f97ca2206b4
diff --git a/media-sound/owntone/owntone-28.9_p20240903.ebuild b/media-sound/owntone/owntone-28.9_p20240903.ebuild
new file mode 100644
index 000000000000..7d107bce1626
--- /dev/null
+++ b/media-sound/owntone/owntone-28.9_p20240903.ebuild
@@ -0,0 +1,92 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+GITREV="40c22e3d2f716177ad737998f3ef909f20c4acfa"
+DESCRIPTION="DAAP (iTunes) and MPD media server"
+HOMEPAGE="https://owntone.github.io/owntone-server"
+SRC_URI="https://github.com/owntone/owntone-server/archive/${GITREV}.tar.gz -> ${P}-${GITREV:0:8}.tar.gz
+ https://github.com/grobian/owntone-mpd/releases/download/mpd-0.24-r1/${PN}-${GITREV:0:7}-mpd-0.24-r1.patch"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+alsa +chromecast"
+S="${WORKDIR}/${PN}-server-${GITREV}"
+
+RDEPEND="
+ app-pda/libplist
+ dev-db/sqlite:3
+ dev-libs/confuse
+ dev-libs/json-c
+ dev-libs/libevent
+ dev-libs/libgcrypt
+ dev-libs/libsodium
+ dev-libs/libunistring
+ dev-libs/libxml2
+ dev-libs/mxml:0
+ dev-libs/protobuf-c
+ media-libs/alsa-lib
+ media-video/ffmpeg
+ net-dns/avahi
+ net-libs/libwebsockets
+ net-misc/curl
+ sys-devel/gettext
+ sys-libs/zlib
+ acct-group/audio
+ acct-user/owntone
+ alsa? ( media-libs/alsa-lib )
+ chromecast? ( net-libs/gnutls media-video/ffmpeg[opus] )
+"
+DEPEND="${RDEPEND}
+ dev-util/gperf
+ sys-apps/gawk
+ sys-devel/bison
+ sys-devel/flex
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${DISTDIR}"/${PN}-${GITREV:0:7}-mpd-0.24-r1.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+
+ # fix log path, and enable songs/cache databases
+ sed -i \
+ -e "/logfile = /s:= .*$:= ${EPREFIX}/var/log/owntone/owntone.log:" \
+ -e "/\(db_path\|cache_path\) =/s:/cache/:/:" \
+ -e "/\(db_path\|cache_path\) =/s:^#::" \
+ owntone.conf.in || die
+}
+
+src_configure() {
+ econf \
+ --without-pulseaudio \
+ --with-libwebsockets \
+ --with-avahi \
+ --with-user=owntone \
+ --with-group=audio \
+ $(use_with alsa) \
+ $(use_enable chromecast) || die
+}
+
+src_install() {
+ default
+
+ rm -Rf "${ED}"/var/lib # all empty dirs
+ find "${ED}" -name "*.la" -delete
+
+ keepdir /var/lib/owntone
+ keepdir /var/log/owntone
+ fowners owntone /var/log/owntone
+
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-03 21:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 21:09 [gentoo-commits] repo/gentoo:master commit in: media-sound/owntone/ Fabian Groffen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox