New package: mkchromecast-0.3.8.1.

This commit is contained in:
maxice8 2018-08-05 18:16:38 -03:00
parent 11c5c3b121
commit bd4162d36a
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -0,0 +1,32 @@
# Template file for 'mkchromecast'
pkgname=mkchromecast
version=0.3.8.1
revision=1
noarch=yes
python_version=3
pycompile_dirs="/usr/share/mkchromecast/mkchromecast"
depends="python3-Flask python3-netifaces python3-setuptools python3-requests
python3-mutagen python3-psutil python3-PyQt5 python3-SoCo python3-chromecast
python3-gobject pulseaudio python3-youtube-dl ffmpeg"
short_desc="Cast Linux Audio/Video to Google cast and Sonos devices"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="http://mkchromecast.com/"
distfiles="https://github.com/muammar/mkchromecast/archive/${version}.tar.gz"
checksum=c680a398385d95d51c47eb522b95cf98f932b55caf065ab8b5725e78bf0099b2
nocross="requires python3-gobject"
do_install() {
vmkdir usr/bin
ln -s /usr/share/mkchromecast/mkchromecast.py "$DESTDIR"/usr/bin/mkchromecast
vinstall mkchromecast.py 755 usr/share/mkchromecast
vman man/mkchromecast.1
cp -a --parents images/google* mkchromecast "$DESTDIR"/usr/share/mkchromecast
vinstall mkchromecast.desktop 644 usr/share/applications
vinstall images/mkchromecast.xpm 644 usr/share/pixmaps
vlicense LICENSE
}