forked-daapd-26.5
authorJustin Wind <justin.wind+git@gmail.com>
Tue, 19 Mar 2019 17:28:50 +0000 (10:28 -0700)
committerJustin Wind <justin.wind+git@gmail.com>
Tue, 19 Mar 2019 17:28:50 +0000 (10:28 -0700)
media-sound/forked-daapd/Manifest
media-sound/forked-daapd/forked-daapd-26.5.ebuild [new file with mode: 0644]

index 394b860c25f30b0f1dfd28b4b1c6b5869de83f0c..cad0007a2676d9a4b23ce1abd6c5df8806273d24 100644 (file)
@@ -2,6 +2,8 @@ AUX daapd.confd 344 BLAKE2B 62176766f5350bc0335b233431adffae42915abb5fd540e121db
 AUX daapd.initd 583 BLAKE2B 0d84bdf5eb458568e07b2e3866dc36e95f1a2e169055345383b5607a38c347b3457b108385f16df8cce0ca280845a3ff122246af3c06747b91e9f2f7ac39857c SHA512 a584cd71c5673732ac0c31fb92d156f5c480ced066d0686f957d6adf9c769ec234fe46a468077ea6b28efca132336e186fa0adc2200150e9fca11f2800aeb67a
 DIST forked-daapd-26.2.tar.gz 3004481 BLAKE2B 1e0bdc1e458996902f62fb1e5a65ec14edb9743cae7663679340a322d5b7a4d8b17803e3a9d7d1718f7ee9d60585dbadda522992eb0bd2813e18268fd72100e2 SHA512 44a1cbd05a7b3376700be14d1f5787f213ed384d146e847f0d0c2483a12d181359e1fc1977e17a6aca63322dc345fdc4e51ad690f2f3f39c235f4c49a6d19165
 DIST forked-daapd-26.4.tar.xz 2481164 BLAKE2B 2ea23bc0ca2a0b34f49c40cb69898dc08ab854906b40f88a8d4e91cc4c24982fd5e418571371c64a1a7eaf98fdd89eefb916c40d05b874c8b7fc3e5a6c0d550f SHA512 16f2a5e3f9c941453b8a20e5c18f91c7cdfd6e696eb28fae1e34bb567081179ce6a6794ca3ba7436601547e08586473d3463aa328e410928d8f47ccd2e42ff1f
+DIST forked-daapd-26.5.tar.xz 3013288 BLAKE2B 0c7a1375344dec1366c802e7312ad80c967b7c8c5de8ed0710625398c45400560d51b561936c54e29bc39fa57be0398cafcf2ad93c681d9cfde5e5258f517205 SHA512 9fe5caed799817b2a28934687f6e03a3f203b6bb78d55d864d4b722f8aa19a4eb3f9d4ebae470a3ace41a64fb4d2720c803b931ddb4989098f75e9276fc0d5e1
 EBUILD forked-daapd-26.2.ebuild 1657 BLAKE2B 933280a5a0eaafeef10ab9a45533cc56cdea48045ee4a79c92219db0b3f62589de8542d203bd225b82ff3b39e44059c0516699a07b91b0eb6ab20a1fa8cd122a SHA512 d28573705b90b882dd2535db82d05ea91afa2bec5f9fa6069c4e22f1d6a4f570429f8bd2f209a5cf7883413f8679c81f722e1040fecb5bde2a4649f0c8de5127
 EBUILD forked-daapd-26.4.ebuild 1806 BLAKE2B df123af6260efbaadaa958e187ba2493e66e3a28a42aed0e640ffa4dc73d92ab4ebaf5ca1a128cdf06c74796b5323943c92ff172e0a4db2bda5c37b29cbe1797 SHA512 3c0dca4c6a7a41514b569aef899ed0692ed0432766c4f75f81dfcd9e2beb7b5b7a190885a9dcf8293740b77b053f0b84b002d53669c11c9c1d9692cbb9e357b0
+EBUILD forked-daapd-26.5.ebuild 1806 BLAKE2B df123af6260efbaadaa958e187ba2493e66e3a28a42aed0e640ffa4dc73d92ab4ebaf5ca1a128cdf06c74796b5323943c92ff172e0a4db2bda5c37b29cbe1797 SHA512 3c0dca4c6a7a41514b569aef899ed0692ed0432766c4f75f81dfcd9e2beb7b5b7a190885a9dcf8293740b77b053f0b84b002d53669c11c9c1d9692cbb9e357b0
 MISC metadata.xml 793 BLAKE2B aa9497c2700a6b0fa38496b637d9a65124bccc571ad2afc76ceca831b2fcacca09a31f318ad7eba39d0848476e14057a1e61d3cb1c7880a425c936f979909dbd SHA512 43ef73e58b7e999ee49ac1af5fcf1861e19debcad5cb783f3cec5e977badef997be362520932b97e404b39c5578df91b26821289733458cf1125d41572bf4d34
diff --git a/media-sound/forked-daapd/forked-daapd-26.5.ebuild b/media-sound/forked-daapd/forked-daapd-26.5.ebuild
new file mode 100644 (file)
index 0000000..8ba4ba2
--- /dev/null
@@ -0,0 +1,82 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# TODO:
+# Add --enable-spotify when it works
+
+EAPI=5
+
+inherit autotools eutils user
+
+DESCRIPTION="A DAAP (iTunes) media server"
+HOMEPAGE="https://github.com/ejurgensen/forked-daapd"
+#SRC_URI="https://github.com/ejurgensen/forked-daapd/archive/${PV}.tar.xz -> ${P}.tar.xz"
+SRC_URI="https://github.com/ejurgensen/forked-daapd/releases/download/${PV}/${P}.tar.xz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="alsa flac itunes lastfm mpd musepack"
+
+# Note: mpd support appears to be standalone, e.g. --enable-mpd doesn't
+# result in additional linkage.
+RDEPEND="
+       dev-db/sqlite:3
+       dev-libs/antlr-c:0
+       dev-libs/confuse
+       dev-libs/libevent
+       dev-libs/libgcrypt:0
+       dev-libs/libunistring
+       dev-libs/libsodium
+       net-libs/libwebsockets
+       dev-libs/mxml[threads]
+       net-dns/avahi[dbus]
+       virtual/ffmpeg
+       dev-libs/json-c
+
+       alsa? ( media-libs/alsa-lib )
+       flac? ( media-libs/flac )
+       itunes? ( app-pda/libplist )
+       lastfm? ( net-misc/curl )
+       musepack? ( media-libs/taglib )
+"
+
+DEPEND="
+       dev-java/antlr:3
+       ${RDEPEND}
+"
+
+pkg_setup() {
+       enewuser daapd
+       enewgroup daapd
+}
+
+src_prepare() {
+       # https://github.com/ejurgensen/forked-daapd/pull/185
+       #epatch "${FILESDIR}/antlr-3.5.patch"
+
+       eautoreconf
+}
+
+src_configure() {
+       ac_cv_prog_ANTLR=antlr3.5 \
+       econf \
+               $(use_enable alsa) \
+               $(use_enable flac) \
+               $(use_enable musepack) \
+               $(use_enable itunes) \
+               $(use_enable lastfm) \
+               $(use_enable mpd)
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+
+       newinitd "${FILESDIR}/daapd.initd" daapd
+       newconfd "${FILESDIR}/daapd.confd" daapd
+
+       # dodir by itself fails in the likely case of /srv/music having a
+       # volume mounted already.
+       test -d /srv/music || dodir /srv/music
+
+       fowners -R daapd:daapd /var/lib/cache/forked-daapd
+}