blob: 1bcb64de4c94bb250309c61feb722b529b1d2c1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
# Contributor:
pkgname=waypaper
pkgver=2.7
pkgrel=1
pkgdesc='GUI wallpaper setter for Wayland and Xorg window managers. It works as a frontend for popular wallpaper backends like swaybg, swww, wallutils, hyprpaper and feh.'
arch=('any')
url='https://github.com/anufrievroman/waypaper'
license=('GPL-3.0-only')
depends=('gtk3'
'gdk-pixbuf2'
'python-gobject'
'python-imageio'
'python-imageio-ffmpeg'
'python-pillow'
'python-platformdirs'
'python-screeninfo')
makedepends=('python-build'
'python-installer'
'python-setuptools'
'python-wheel')
optdepends=('feh: the x11 backend that supports static images'
'hyprpaper: the wayland backend with IPC controls'
'mpvpaper: support for videos'
'swaybg: the wayland backend that supports only static images'
'swww: the wayland backend that supports animated GIFs'
'wallutils: another x11 backend')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha512sums=('e8d9c4b105747f2fb42d9b0ac00e553dad6318c118bf1d983214fc97dffa0d7a270a87480e7befc596d209537e13c751aef0543710ff38700a4ed0f621b71047')
build() {
cd "${pkgname}-${pkgver}"
python -m build --wheel --skip-dependency-check --no-isolation
}
package() {
cd "${pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|