summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2018-11-17 22:48:42 -0500
committerCraig Andrews <candrews@gentoo.org>2018-11-17 22:48:42 -0500
commit644b0d070581741a89c8adde625cb574ced102b3 (patch)
treeecb383277604d124a3a2eaf82fea6bf413343d3a /net-libs/shairplay
parentmedia-plugins/kodi-audiodecoder-nosefart: 2.0.0 version bump (diff)
downloadgentoo-644b0d070581741a89c8adde625cb574ced102b3.tar.gz
gentoo-644b0d070581741a89c8adde625cb574ced102b3.tar.bz2
gentoo-644b0d070581741a89c8adde625cb574ced102b3.zip
net-libs/shairplay: 0_pre20180824 version bump, EAPI=7
Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-libs/shairplay')
-rw-r--r--net-libs/shairplay/Manifest1
-rw-r--r--net-libs/shairplay/metadata.xml1
-rw-r--r--net-libs/shairplay/shairplay-0_pre20180824.ebuild55
-rw-r--r--net-libs/shairplay/shairplay-9999.ebuild15
4 files changed, 66 insertions, 6 deletions
diff --git a/net-libs/shairplay/Manifest b/net-libs/shairplay/Manifest
index 54de05a23505..dc2906a022fb 100644
--- a/net-libs/shairplay/Manifest
+++ b/net-libs/shairplay/Manifest
@@ -1 +1,2 @@
DIST shairplay-0_pre20170118.tar.gz 291352 BLAKE2B 0eb1a60e7cd3511d24d7f6fc910afa85df4488a96ffca80d98bf00b8544b05630f8edb2f5204bc93e8901c4d8efa752f2eef94ed625e2bf7d77cd74ed3053572 SHA512 05a8ac399659235e88d3b1a7fbe8364ba526881b24ee082c3b7a5709b9b63eac376071d44028e4758ab22ca56d30f8e996b12dc9d3bd99bd38fe453e00a4a18b
+DIST shairplay-0_pre20180824.tar.gz 554332 BLAKE2B cbebe272a15a602b79f384c7497bd849145bf065a9b2c6fd335c5536dd0cbefef332945662ad4962e69273d64a23c1f2ace3edcb7c38362607414d27a61397fd SHA512 38d947740da85546cccc4186dfd6d1ab0be71463107b24beb374b17a9e557fc7e4c97e34bfd69e962ddb3e481ecc8e37070e225761d8543588cf047be25ca3a6
diff --git a/net-libs/shairplay/metadata.xml b/net-libs/shairplay/metadata.xml
index 96259cc68f99..4c3bf6e9c763 100644
--- a/net-libs/shairplay/metadata.xml
+++ b/net-libs/shairplay/metadata.xml
@@ -4,6 +4,7 @@
<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">
diff --git a/net-libs/shairplay/shairplay-0_pre20180824.ebuild b/net-libs/shairplay/shairplay-0_pre20180824.ebuild
new file mode 100644
index 000000000000..f4af8a0449c9
--- /dev/null
+++ b/net-libs/shairplay/shairplay-0_pre20180824.ebuild
@@ -0,0 +1,55 @@
+# 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
+}
diff --git a/net-libs/shairplay/shairplay-9999.ebuild b/net-libs/shairplay/shairplay-9999.ebuild
index 76a24ddd83bc..f4af8a0449c9 100644
--- a/net-libs/shairplay/shairplay-9999.ebuild
+++ b/net-libs/shairplay/shairplay-9999.ebuild
@@ -1,25 +1,27 @@
-# 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 )
@@ -43,6 +45,7 @@ src_prepare() {
src_configure() {
econf \
+ $(use_with playfair) \
$(use_enable static-libs static)
}