net-libs/shairplay: 0_pre20180824 version bump, EAPI=7
authorCraig Andrews <candrews@gentoo.org>
Sun, 18 Nov 2018 03:48:42 +0000 (22:48 -0500)
committerCraig Andrews <candrews@gentoo.org>
Sun, 18 Nov 2018 03:48:42 +0000 (22:48 -0500)
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Craig Andrews <candrews@gentoo.org>
net-libs/shairplay/Manifest
net-libs/shairplay/metadata.xml
net-libs/shairplay/shairplay-0_pre20180824.ebuild [new file with mode: 0644]
net-libs/shairplay/shairplay-9999.ebuild

index 54de05a235055889d9a5d659fbb72107cd7ba606..dc2906a022fb2069a6155a5c91973e88dea16845 100644 (file)
@@ -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
index 96259cc68f99b63b10e376a7b3d68f646c978432..4c3bf6e9c7638bd32c6fb9196c83ffcd6078374b 100644 (file)
@@ -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 (file)
index 0000000..f4af8a0
--- /dev/null
@@ -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
+}
index 76a24ddd83bcb46824b8786ef22efa2cdbbaa71e..f4af8a0449c90e788ec8c586656d74f30befbce2 100644 (file)
@@ -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)
 }