27 lines
960 B
Bash
27 lines
960 B
Bash
# Template file for 'gpu-video-wallpaper'
|
|
pkgname=gpu-video-wallpaper
|
|
version=2023.07.11
|
|
revision=1
|
|
wrksrc="${pkgname}-master"
|
|
repository="cereus-extra"
|
|
depends="python3 python3-PyQt5 xrandr pcre mpv xwinwrap"
|
|
short_desc="Use your GPU for rendering low cpu using/usage video animated wallpaper"
|
|
maintainer="Kevin Figueroa <kfdevart@disroot.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/ghostlexly/gpu-video-wallpaper"
|
|
distfiles="${homepage}/archive/refs/heads/master.zip"
|
|
checksum=02167cd3502b1272712f2eb15e1563e5f881235d2986466ee9e34f1d2e723a16
|
|
_bindir=usr/bin
|
|
_scriptdir=usr/share/${pkgname}/
|
|
|
|
do_install() {
|
|
rm -v {install.sh,package-script.patch}
|
|
vmkdir ${_scriptdir}
|
|
vcopy * ${_scriptdir}
|
|
vmkdir usr/share/applications
|
|
vcopy ${FILESDIR}/${pkgname}.desktop usr/share/applications/
|
|
vmkdir ${_bindir}
|
|
cd ${DESTDIR}/${_bindir}
|
|
ln -sf ../share/${pkgname}/video-wallpaper.py ${pkgname}-gui
|
|
ln -sf ../share/${pkgname}/video-wallpaper.sh ${pkgname}
|
|
}
|