Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/shairplay/
Date: Mon, 23 Jan 2017 21:19:39
Message-Id: 1485206362.e7b104c04e9cf231ccbff86dd3375a50244f7184.soap@gentoo
1 commit: e7b104c04e9cf231ccbff86dd3375a50244f7184
2 Author: frace <frace <AT> users <DOT> noreply <DOT> github <DOT> com>
3 AuthorDate: Tue Jan 10 19:31:01 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 23 21:19:22 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7b104c0
7
8 net-libs/shairplay: New package needed by media-tv/kodi
9
10 Gentoo-bug: 538932, 468558, 458734
11 Reported-by: hal
12 Closes: https://github.com/gentoo/gentoo/pull/3425
13
14 net-libs/shairplay/Manifest | 1 +
15 net-libs/shairplay/metadata.xml | 22 ++++++++++
16 net-libs/shairplay/shairplay-0_pre20170118.ebuild | 53 +++++++++++++++++++++++
17 net-libs/shairplay/shairplay-9999.ebuild | 53 +++++++++++++++++++++++
18 4 files changed, 129 insertions(+)
19
20 diff --git a/net-libs/shairplay/Manifest b/net-libs/shairplay/Manifest
21 new file mode 100644
22 index 00000000..99819a2
23 --- /dev/null
24 +++ b/net-libs/shairplay/Manifest
25 @@ -0,0 +1 @@
26 +DIST shairplay-0_pre20170118.tar.gz 291352 SHA256 d748b4aaab634a4605d741ced15479da20f47027b8822404037706166366e3fe SHA512 05a8ac399659235e88d3b1a7fbe8364ba526881b24ee082c3b7a5709b9b63eac376071d44028e4758ab22ca56d30f8e996b12dc9d3bd99bd38fe453e00a4a18b WHIRLPOOL a196687ea5768c1897350f1b3ed7e0ea37b6a16c6472cbae5341187f2e83e75203f41a49f43b5ac0824014cdb9bbfd7c2425fd8beec0edaa991aca72e0286edd
27
28 diff --git a/net-libs/shairplay/metadata.xml b/net-libs/shairplay/metadata.xml
29 new file mode 100644
30 index 00000000..dc25248
31 --- /dev/null
32 +++ b/net-libs/shairplay/metadata.xml
33 @@ -0,0 +1,22 @@
34 +<?xml version="1.0" encoding="UTF-8"?>
35 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
36 +<pkgmetadata>
37 + <longdescription>Apple airplay and raop protocol server</longdescription>
38 + <use>
39 + <flag name='alac'>Add support for Apple Lossless Audio Codec files</flag>
40 + <flag name='static-libs'>Build static versions of dynamic libraries as well</flag>
41 + <flag name='tools'>Build and install a binary shairplay in /usr/bin</flag>
42 + </use>
43 + <maintainer type="person">
44 + <email>candrews@××××××××××××.com</email>
45 + <name>Craig Andrews</name>
46 + </maintainer>
47 + <maintainer type="project">
48 + <email>proxy-maint@g.o</email>
49 + <name>Proxy Maintainers</name>
50 + </maintainer>
51 + <upstream>
52 + <bugs-to>https://github.com/juhovh/shairplay</bugs-to>
53 + <remote-id type="github">juhovh/shairplay</remote-id>
54 + </upstream>
55 +</pkgmetadata>
56
57 diff --git a/net-libs/shairplay/shairplay-0_pre20170118.ebuild b/net-libs/shairplay/shairplay-0_pre20170118.ebuild
58 new file mode 100644
59 index 00000000..6c6560a
60 --- /dev/null
61 +++ b/net-libs/shairplay/shairplay-0_pre20170118.ebuild
62 @@ -0,0 +1,53 @@
63 +# Copyright 1999-2017 Gentoo Foundation
64 +# Distributed under the terms of the GNU General Public License v2
65 +# $Id$
66 +
67 +EAPI=6
68 +
69 +inherit autotools vcs-snapshot
70 +
71 +if [[ ${PV} == "9999" ]] ; then
72 + inherit git-r3
73 + EGIT_REPO_URI="git://github.com/juhovh/shairplay.git"
74 +else
75 + EGIT_COMMIT="498bc5bcdd305e04721f94a04b9f26a7da72673f"
76 + SRC_URI="https://github.com/juhovh/shairplay/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
77 + KEYWORDS="~amd64 ~x86"
78 +fi
79 +
80 +DESCRIPTION="Apple airplay and raop protocol server"
81 +HOMEPAGE="https://github.com/juhovh/shairplay"
82 +LICENSE="BSD LGPL-2.1 MIT"
83 +
84 +SLOT="0"
85 +IUSE="alac static-libs tools"
86 +
87 +DEPEND="
88 + tools? ( media-libs/libao )
89 +"
90 +
91 +RDEPEND="
92 + alac? (
93 + media-sound/alac_decoder
94 + net-libs/shairplay[tools]
95 + )
96 + tools? (
97 + dev-libs/openssl:0=
98 + net-dns/avahi[mdnsresponder-compat]
99 + )
100 +"
101 +
102 +src_prepare() {
103 + default
104 + eautoreconf
105 +}
106 +
107 +src_configure() {
108 + econf \
109 + $(use_enable static-libs static)
110 +}
111 +
112 +src_install() {
113 + default
114 + find "${D}" -name '*.la' -delete || die
115 +}
116
117 diff --git a/net-libs/shairplay/shairplay-9999.ebuild b/net-libs/shairplay/shairplay-9999.ebuild
118 new file mode 100644
119 index 00000000..6c6560a
120 --- /dev/null
121 +++ b/net-libs/shairplay/shairplay-9999.ebuild
122 @@ -0,0 +1,53 @@
123 +# Copyright 1999-2017 Gentoo Foundation
124 +# Distributed under the terms of the GNU General Public License v2
125 +# $Id$
126 +
127 +EAPI=6
128 +
129 +inherit autotools vcs-snapshot
130 +
131 +if [[ ${PV} == "9999" ]] ; then
132 + inherit git-r3
133 + EGIT_REPO_URI="git://github.com/juhovh/shairplay.git"
134 +else
135 + EGIT_COMMIT="498bc5bcdd305e04721f94a04b9f26a7da72673f"
136 + SRC_URI="https://github.com/juhovh/shairplay/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
137 + KEYWORDS="~amd64 ~x86"
138 +fi
139 +
140 +DESCRIPTION="Apple airplay and raop protocol server"
141 +HOMEPAGE="https://github.com/juhovh/shairplay"
142 +LICENSE="BSD LGPL-2.1 MIT"
143 +
144 +SLOT="0"
145 +IUSE="alac static-libs tools"
146 +
147 +DEPEND="
148 + tools? ( media-libs/libao )
149 +"
150 +
151 +RDEPEND="
152 + alac? (
153 + media-sound/alac_decoder
154 + net-libs/shairplay[tools]
155 + )
156 + tools? (
157 + dev-libs/openssl:0=
158 + net-dns/avahi[mdnsresponder-compat]
159 + )
160 +"
161 +
162 +src_prepare() {
163 + default
164 + eautoreconf
165 +}
166 +
167 +src_configure() {
168 + econf \
169 + $(use_enable static-libs static)
170 +}
171 +
172 +src_install() {
173 + default
174 + find "${D}" -name '*.la' -delete || die
175 +}