summaryrefslogtreecommitdiff
path: root/media-sound/owntone
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-04 12:28:34 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-04 12:28:34 +0100
commit518b45bffd19d0b75715f338985f96c459f9d129 (patch)
tree948dfe5d479374fd6b85fe72ff2570e8a4af47ff /media-sound/owntone
parent3f559ef486314f9b3b48d48eb303d6be68463af9 (diff)
gentoo auto-resync : 04:09:2024 - 12:28:34
Diffstat (limited to 'media-sound/owntone')
-rw-r--r--media-sound/owntone/Manifest3
-rw-r--r--media-sound/owntone/owntone-28.9_p20240903.ebuild92
2 files changed, 95 insertions, 0 deletions
diff --git a/media-sound/owntone/Manifest b/media-sound/owntone/Manifest
index 549a9e9c0f9f..f851e2f2a9d5 100644
--- a/media-sound/owntone/Manifest
+++ b/media-sound/owntone/Manifest
@@ -2,5 +2,8 @@ AUX owntone-28.9-stream-support.patch 848 BLAKE2B ce4b2083d2beee8129255a13384909
AUX owntone.confd 227 BLAKE2B f19256cbe06f06471f5e6d7e4ab6f96dd108acc801e76ddbf2ac6219e373a919885e506442134e5838dbdabf6cc2481590aeedd690df707eeab325524449e6b5 SHA512 7b436941609b54685ce17bbe5f274b13bb742441683409be0a8f98a8f758dd45f1706ba667fb8023b6e1dd1589d8d02bec03cee42737c5da0d57904d6928a252
AUX owntone.initd 822 BLAKE2B 48d39eaf2a812058d8d6d3469bb65d2baa9ca992304bc5ec7557c75dc4afaba3665c8cab763a7277bb4f8cbaba44efe60a53e4ed9b2d8585f95f83a7f24fe45c SHA512 8bc2dca5894850cb5274c7ff09f72c8d0585182fe6150e894488670e06784a7bb13ac8393c20cd2f1d483b931e2701f92550a206b122e1fd0d2cd597a0ed4a1a
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
EBUILD owntone-28.9.ebuild 1760 BLAKE2B d3ef912c1225e63a1de9dc4ab2a27fcf4f7c1a40c569f619c55853f8d90cfe3e21a1ae4d7cf2fcb5ee6dddb1b3b55ba53174f1cc5d6ab91301b0665cb6e5bd51 SHA512 7b703ddb3caf2cf691dc0644e316918ee7665490bcb534b42865709563e70346913c8abe1231251fec5f8b3fc676fbc256039bd7c430375b0bfa6494a1abad09
+EBUILD owntone-28.9_p20240903.ebuild 2012 BLAKE2B 7a8cfa1294470d7a07e6443e933f25e3e50e9309a558173b41d6119c5586042dc92d5496b742409b7301b9e4340015ac17b9aaf8a1b414ca44cfcb130f585924 SHA512 8d59b2c2862d27db9f5fee67531a292ba49411b7ec4ce53554c272d592082b7b5573eaac15e0b6827d1b623ab1278ab45f8fd065c5f21b70f4d86647b554d801
MISC metadata.xml 403 BLAKE2B efbee0defee322407b936352527f4977549249fc59371d7be2c9d396303c7fbe3adad16ed562c87cb3b7ea0a8e5077f8f0cf3a41f354ee778f913f46081e2eff SHA512 2a6b993fe4989132a85969b88124169ca2079e98a984f597cee5a5c48300dc78babd748765575e14a8247f6cbf81b58b1d12808ac765a9a11357e40d74433cdf
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}
+}