Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 538932 - net-libs/shairplay: New package needed by media-tv/kodi
Summary: net-libs/shairplay: New package needed by media-tv/kodi
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 458734 468558
  Show dependency tree
 
Reported: 2015-02-05 14:46 UTC by hal
Modified: 2017-02-14 22:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libshairplay-1.0_pre20130416.ebuild (libshairplay-1.0_pre20130416.ebuild,807 bytes, text/plain)
2015-02-05 14:46 UTC, hal
Details
files/01-libshairplay-1.0-fixipv4ipv6race (01-libshairplay-1.0-fixipv4ipv6race.patch,870 bytes, patch)
2015-02-05 14:47 UTC, hal
Details | Diff
files/02-libshairplay-1.0-fixpasswordauthitunes (02-libshairplay-1.0-fixpasswordauthitunes.patch,806 bytes, patch)
2015-02-05 14:47 UTC, hal
Details | Diff
libshairplay-1.0_pre20150708.ebuild (libshairplay-1.0_pre20150708.ebuild,650 bytes, text/plain)
2015-07-07 23:29 UTC, hal
Details
libshairplay-1.0_pre20150819.ebuild (libshairplay-1.0_pre20150819.ebuild,615 bytes, text/plain)
2015-08-18 22:47 UTC, hal
Details
net-libs/shairplay-0_pre20150825.ebuild (shairplay-0_pre20150825.ebuild,764 bytes, text/plain)
2015-08-25 15:18 UTC, hal
Details
net-libs/shairplay-0_pre20160304.ebuild (shairplay-0_pre20160304.ebuild,764 bytes, text/plain)
2016-03-04 18:41 UTC, hal
Details
net-libs/shairplay-0_pre20160304.ebuild (shairplay-0_pre20160304.ebuild,845 bytes, text/plain)
2016-06-06 19:34 UTC, hal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hal 2015-02-05 14:46:51 UTC
Created attachment 395602 [details]
libshairplay-1.0_pre20130416.ebuild

"Apple airplay and raop protocol server"

Originally I filed a report to add this ebuild as a required addon for media-tv/xbmc. But since it isn't a native KODI (XBMC) addon but rather a generic server library I decided to open a new report pointing to the correct category.

Ebuild and patches attached.
Comment 1 hal 2015-02-05 14:47:34 UTC
Created attachment 395604 [details, diff]
files/01-libshairplay-1.0-fixipv4ipv6race
Comment 2 hal 2015-02-05 14:47:58 UTC
Created attachment 395606 [details, diff]
files/02-libshairplay-1.0-fixpasswordauthitunes
Comment 3 hal 2015-02-05 14:48:28 UTC
This report obsoletes https://bugs.gentoo.org/show_bug.cgi?id=458734
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-05 19:09:12 UTC
Comment on attachment 395602 [details]
libshairplay-1.0_pre20130416.ebuild


Missing Gentoo header.

>EAPI="5"
>
>inherit autotools git-2
>
>MY_PV="1.0_pre20130416"
>EGIT_REPO_URI="git://github.com/juhovh/shairplay.git"
>
>if [[ ${PV} ==  ${MY_PV} ]] ; then
>	EGIT_COMMIT="139d5ef"
>fi

github packages releases so there is absolutely no need to mix git-2.eclass into this. If no release is packaged, then it should be packaged elsewhere and not rely on complex version control systems to do a simple download.

>DESCRIPTION="Apple airplay and raop protocol server"
>HOMEPAGE="https://github.com/juhovh/shairplay"
>
>LICENSE="LGPL-2.1 MIT BSD"
>SLOT="0"
>IUSE="static-libs"
>KEYWORDS="~amd64 ~x86"
>
>COMMON_DEPEND=">=dev-libs/openssl-1.0.0
>				media-libs/libao"

Weird whitespace.

>RDEPEND="${COMMON_DEPEND}"
>DEPEND="${COMMON_DEPEND}"

You might as well remove COMMON_DEPEND and simply make either RDEPEND or DEPEND include the other.

>src_unpack() {
>	git-2_src_unpack
>}

That should be the default.

>src_prepare() {
>	epatch "${FILESDIR}"/01-${PN}-1.0-fixipv4ipv6race.patch
>	epatch "${FILESDIR}"/02-${PN}-1.0-fixpasswordauthitunes.patch

These aren't accepted upstream yet?

>	eautoreconf
>}
>
>src_configure() {
>	econf \
>		$(use_enable static-libs static)
>}
>
>src_install() {
>	default
>	use static-libs || find "${ED}" -name '*.la' -delete
>}

inherit eutils // prune_libtool_files
Comment 5 hal 2015-02-05 20:27:34 UTC
> Missing Gentoo header.
I always imagined the Gentoo headers would get added automatically by some vcs hook as soon as an ebuild gets added to the official tree.
But I can add that of course.


> github packages releases so there is absolutely no need to mix git-2.eclass into this. If no release is packaged, 
> then it should be packaged elsewhere and not rely on complex version control systems to do a simple download.
Indeed there exist no packaged releases.
What do you imagine when you talk about "elsewhere"?


> Weird whitespace.
Oops, I will fix that.


> You might as well remove COMMON_DEPEND and simply make either RDEPEND or DEPEND include the other.
Ok.


> That should be the default.
Do you mean
```
src_unpack() {
	git-2_src_unpack || default
}
```
?


> >src_prepare() {
> >	epatch "${FILESDIR}"/01-${PN}-1.0-fixipv4ipv6race.patch
> >	epatch "${FILESDIR}"/02-${PN}-1.0-fixpasswordauthitunes.patch
>
> These aren't accepted upstream yet?
I'm not quite sure, but I'll look it up.
These patches together with commit 139d5ef are the current dependency for KODI (XBMC).



> inherit eutils // prune_libtool_files
Like
```
src_install() {
	default
	use static-libs || prune_libtool_files --all
}
```
?
Comment 6 hal 2015-07-07 23:29:20 UTC
Created attachment 406330 [details]
libshairplay-1.0_pre20150708.ebuild

Version bump. Needed by media-tv/kodi-9999 live ebuild. Obsoletes patches which have been accepted upstream.

Details: https://github.com/xbmc/xbmc/pull/7093
Comment 7 hal 2015-08-18 22:47:47 UTC
Created attachment 409398 [details]
libshairplay-1.0_pre20150819.ebuild

Upgraded to git-r3 eclass
Comment 8 hal 2015-08-25 15:18:40 UTC
Created attachment 410256 [details]
net-libs/shairplay-0_pre20150825.ebuild
Comment 9 hal 2016-03-04 18:41:05 UTC
Created attachment 427442 [details]
net-libs/shairplay-0_pre20160304.ebuild

Synced to version used by KODI upstream.
Comment 10 hal 2016-06-06 19:34:06 UTC
Created attachment 436718 [details]
net-libs/shairplay-0_pre20160304.ebuild

Various fixes
Comment 11 hal 2017-01-10 19:42:26 UTC
Pull request: https://github.com/gentoo/gentoo/pull/3425