Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-libs/shairplay: New package needed by media-tv/kodi
Gentoo-bug: 538932, 468558, 458734 Reported-by: hal Closes: #3425
- Loading branch information
1 parent
12a77d5
commit e7b104c
Showing
4 changed files
with
129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST shairplay-0_pre20170118.tar.gz 291352 SHA256 d748b4aaab634a4605d741ced15479da20f47027b8822404037706166366e3fe SHA512 05a8ac399659235e88d3b1a7fbe8364ba526881b24ee082c3b7a5709b9b63eac376071d44028e4758ab22ca56d30f8e996b12dc9d3bd99bd38fe453e00a4a18b WHIRLPOOL a196687ea5768c1897350f1b3ed7e0ea37b6a16c6472cbae5341187f2e83e75203f41a49f43b5ac0824014cdb9bbfd7c2425fd8beec0edaa991aca72e0286edd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<longdescription>Apple airplay and raop protocol server</longdescription> | ||
<use> | ||
<flag name='alac'>Add support for Apple Lossless Audio Codec files</flag> | ||
<flag name='static-libs'>Build static versions of dynamic libraries as well</flag> | ||
<flag name='tools'>Build and install a binary shairplay in /usr/bin</flag> | ||
</use> | ||
<maintainer type="person"> | ||
<email>candrews@integralblue.com</email> | ||
<name>Craig Andrews</name> | ||
</maintainer> | ||
<maintainer type="project"> | ||
<email>proxy-maint@gentoo.org</email> | ||
<name>Proxy Maintainers</name> | ||
</maintainer> | ||
<upstream> | ||
<bugs-to>https://github.com/juhovh/shairplay</bugs-to> | ||
<remote-id type="github">juhovh/shairplay</remote-id> | ||
</upstream> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
inherit autotools vcs-snapshot | ||
|
||
if [[ ${PV} == "9999" ]] ; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="git://github.com/juhovh/shairplay.git" | ||
else | ||
EGIT_COMMIT="498bc5bcdd305e04721f94a04b9f26a7da72673f" | ||
SRC_URI="https://github.com/juhovh/shairplay/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" | ||
KEYWORDS="~amd64 ~x86" | ||
fi | ||
|
||
DESCRIPTION="Apple airplay and raop protocol server" | ||
HOMEPAGE="https://github.com/juhovh/shairplay" | ||
LICENSE="BSD LGPL-2.1 MIT" | ||
|
||
SLOT="0" | ||
IUSE="alac static-libs tools" | ||
|
||
DEPEND=" | ||
tools? ( media-libs/libao ) | ||
" | ||
|
||
RDEPEND=" | ||
alac? ( | ||
media-sound/alac_decoder | ||
net-libs/shairplay[tools] | ||
This comment has been minimized.
Sorry, something went wrong. |
||
) | ||
tools? ( | ||
dev-libs/openssl:0= | ||
net-dns/avahi[mdnsresponder-compat] | ||
) | ||
" | ||
|
||
src_prepare() { | ||
default | ||
eautoreconf | ||
} | ||
|
||
src_configure() { | ||
econf \ | ||
$(use_enable static-libs static) | ||
} | ||
|
||
src_install() { | ||
default | ||
find "${D}" -name '*.la' -delete || die | ||
This comment has been minimized.
Sorry, something went wrong.
dev-zero
Contributor
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
inherit autotools vcs-snapshot | ||
|
||
if [[ ${PV} == "9999" ]] ; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="git://github.com/juhovh/shairplay.git" | ||
else | ||
EGIT_COMMIT="498bc5bcdd305e04721f94a04b9f26a7da72673f" | ||
SRC_URI="https://github.com/juhovh/shairplay/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" | ||
KEYWORDS="~amd64 ~x86" | ||
fi | ||
|
||
DESCRIPTION="Apple airplay and raop protocol server" | ||
HOMEPAGE="https://github.com/juhovh/shairplay" | ||
LICENSE="BSD LGPL-2.1 MIT" | ||
|
||
SLOT="0" | ||
IUSE="alac 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_enable static-libs static) | ||
} | ||
|
||
src_install() { | ||
default | ||
find "${D}" -name '*.la' -delete || die | ||
} |
Does that mean I first have to install shairplay with USE=tools to be able to build shairplay with USE=alac?
If yes, please document it in the code, if not, please use
REQUIRED_USE
instead to make thealac
USE flag depend on thetools
USE flag.