updated to provide/conflict with shairplay from [community]
Search Criteria
Package Details: shairplay-git 122.64d59e3-1
Package Actions
| Package Base: | shairplay-git |
|---|---|
| Description: | Apple airplay and raop protocol server |
| Upstream URL: | https://github.com/juhovh/shairplay |
| Category: | multimedia |
| Licenses: | |
| Submitter: | winlu |
| Maintainer: | winlu |
| Last Packager: | None |
| Votes: | 16 |
| First Submitted: | 2013-05-06 06:50 |
| Last Updated: | 2014-05-14 10:56 |
Latest Comments
Comment by winlu
Comment by justin8
This should have conflicts/provides shairplay; when going to install the one from the official repos it has file conflicts with it.
Comment by winlu
hi tritron,
have a look at this http://www.mythtv.org/wiki/AirTunes/AirPlay
Comment by tritron
Any support for mythtv 0.27 ?
Comment by graysky
yw
Comment by winlu
ty for your input graysky
package updated
Comment by graysky
Errors in your PKGBUILD can be fixed with this patch. Thank you for maintaining.
https://gist.github.com/graysky2/6691606
Comment by winlu
-fixed airport.key installing into wrong directory
-added shairplay.service file to tar and sources/sha256sums array
thanks for the help!
Comment by justin8
You didn't include the service file in the tar, so now it fails to build as the file is missing.
Comment by skunark
Opps, typo with
install -Dm644 airport.key "${pkgdir}"/etc/${pkgname}/airport.key
probably should be
install -Dm644 airport.key "${pkgdir}"/etc/$_gitname/airport.key
or just
install -Dm644 airport.key "${pkgdir}"/etc/shairplay/airport.key
Comment by winlu
Hi skunark,
i incorporated your suggestions.
Comment by skunark
Winlu,
Here's a couple of suggested improvements to the PKGBUILD:
13c13
< depends=('libao')
---
> depends=('avahi' 'libao')
23c23
< echo $(git log -1 --format="%ci" | sed 's/.*\([0-9]\{4\}\)-\([0-9]\{2\}\)-\([0-9]\{2\}\).*/\1\2\3/').$(git rev-parse --short HEAD)
---
> echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
29a30,31
> # installing airport.key to /etc/shairplay/
> sed 's/airport.key/\/etc\/shairplay\/airport.key/' -i "$srcdir/$_gitname"/src/shairplay.c
34a37
> install -Dm755 ../shairplay.service "${pkgdir}"/usr/lib/systemd/system/shairplay.service
36a40,42
> install -Dm644 airport.key "${pkgdir}"/etc/${pkgname}/airport.key
> install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
> install -Dm644 README.md "${pkgdir}"/usr/share/doc/${pkgname}/README.md
And also systemd service file: shairplay.service
[Unit]
Description=Apple airplay and raop protocol server
Requires=network.target sound.target
Wants=avahi-daemon.service
After=avahi-daemon.service
[Service]
Type=simple
ExecStart=/usr/bin/shairplay -a %H
Restart=always
[Install]
WantedBy=multi-user.target
Comment by winlu
works for me, can you post the output of autoconf --version?
Comment by Baraclese
Can't install it because of the following error:
autoreconf: running: /usr/bin/autoconf --force
configure.ac:13: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Comment by winlu
nvm found it
Comment by winlu
Thanks @ BlackIkeEagle,
after testing it (cause i am all serious...) I updated to your version, but couldn't find those scm guidelines you are talking about.
Comment by BlackIkeEagle
Well here we are with the promised comment:
your package looks good but, :)
- it does not follow the scm guidelines for pacman 4.1
here's what i made of it: https://github.com/BlackIkeEagle/herecura/blob/master/testing/shaiplay-git/PKGBUILD