void-packages/srcpkgs/mkchromecast/template

33 lines
1.1 KiB
Bash

# 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
}