DIST shairplay-0_pre20170118.tar.gz 291352 BLAKE2B 0eb1a60e7cd3511d24d7f6fc910afa85df4488a96ffca80d98bf00b8544b05630f8edb2f5204bc93e8901c4d8efa752f2eef94ed625e2bf7d77cd74ed3053572 SHA512 05a8ac399659235e88d3b1a7fbe8364ba526881b24ee082c3b7a5709b9b63eac376071d44028e4758ab22ca56d30f8e996b12dc9d3bd99bd38fe453e00a4a18b
+DIST shairplay-0_pre20180824.tar.gz 554332 BLAKE2B cbebe272a15a602b79f384c7497bd849145bf065a9b2c6fd335c5536dd0cbefef332945662ad4962e69273d64a23c1f2ace3edcb7c38362607414d27a61397fd SHA512 38d947740da85546cccc4186dfd6d1ab0be71463107b24beb374b17a9e557fc7e4c97e34bfd69e962ddb3e481ecc8e37070e225761d8543588cf047be25ca3a6
<longdescription>Apple airplay and raop protocol server</longdescription>
<use>
<flag name='alac'>Add support for Apple Lossless Audio Codec files</flag>
+ <flag name='playfair'>Add support for handling fairplay handshake (used in for example screen mirroring)</flag>
<flag name='tools'>Build and install a binary shairplay in /usr/bin</flag>
</use>
<maintainer type="person">
--- /dev/null
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/juhovh/${PN}.git"
+else
+ EGIT_COMMIT="096b61ad14c90169f438e690d096e3fcf87e504e"
+ SRC_URI="https://github.com/juhovh/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Apple airplay and raop protocol server"
+HOMEPAGE="https://github.com/juhovh/shairplay"
+LICENSE="BSD LGPL-2.1 MIT
+ playfair? ( GPL-3+ )"
+
+SLOT="0"
+IUSE="alac +playfair static-libs tools"
+
+DEPEND="
+ tools? ( media-libs/libao )
+"
+
+RDEPEND="
+ alac? (
+ media-sound/alac_decoder
+ net-libs/shairplay[tools]
+ )
+ tools? (
+ dev-libs/openssl:0=
+ net-dns/avahi[mdnsresponder-compat]
+ )
+"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_with playfair) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit autotools vcs-snapshot
+inherit autotools
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/juhovh/${PN}.git"
else
- EGIT_COMMIT="498bc5bcdd305e04721f94a04b9f26a7da72673f"
+ EGIT_COMMIT="096b61ad14c90169f438e690d096e3fcf87e504e"
SRC_URI="https://github.com/juhovh/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Apple airplay and raop protocol server"
HOMEPAGE="https://github.com/juhovh/shairplay"
-LICENSE="BSD LGPL-2.1 MIT"
+LICENSE="BSD LGPL-2.1 MIT
+ playfair? ( GPL-3+ )"
SLOT="0"
-IUSE="alac static-libs tools"
+IUSE="alac +playfair static-libs tools"
DEPEND="
tools? ( media-libs/libao )
src_configure() {
econf \
+ $(use_with playfair) \
$(use_enable static-libs static)
}