blob: 757096e5b118835e2d097c3b53b64ab442a27015 (
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
41
42
43
44
|
# Maintainer: Sean Snell <ssnell@lakecs.net>
# Previous Maintainer: GI Jack <GI_Jack@hackermail.com>
# Original: hexptr <hexptr@protonmail.com>
pkgname=streamdeck-ui
gitname=streamdeck-linux-gui
pkgver=4.1.3
pkgrel=1
pkgdesc="A Linux compatible UI for the Elgato Stream Deck"
arch=('any')
url="https://streamdeck-linux-gui.github.io/streamdeck-linux-gui/"
license=('MIT')
depends=('python-pillow' 'python-hidapi' 'pyside6' 'python-evdev' 'python-elgato-streamdeck' 'python-xlib' 'python-filetype' 'python-cairosvg' 'python-xcffib' 'python-importlib-metadata')
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-poetry')
provides=('streamdeck-ui')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/streamdeck-linux-gui/${gitname}/archive/refs/tags/v${pkgver}.tar.gz"
"streamdeck-ui.desktop"
"elgato.png"
"streamdeck.service")
# Upstream tar.gz
# streamdeck-ui.desktop
# elgato.png
# streamdeck.service
sha512sums=('1b6449c51adf532452e58a6fba7e759ac6e27e46d749067cf8d9f4c313539c5b2f30b4cae049ba678b4e900412252338d1f29636e7012357c5e1bb0822f6de41'
'310f5c511b8475ef10629d3e00d03c1e8d7281a60b8d7d4d8e59b748ec0d72ea45003df0144435c9e8d28260c7d83e5be629441f833cc5318c8b79d98221e674'
'1145e8cdebdf950090d0833e40984cd402345d559c9faf8aab89f5ec4db5d5de685b68418faf39288f08e9a642fcf1cc53a719b1b11c8ebfac6dd8b42d4898d2'
'56edf11da7a42574e5545362838ae202e636f92e175dbf7e8467840086065995bca25904d539002d78a276330f955c91d5230335c46ec02d30176dac4474cb19')
build() {
cd "${gitname}-${pkgver}"
DISABLE_CONAN=ON python -m build --wheel --no-isolation --skip-dependency-check
}
package() {
cd "${gitname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm 644 udev/60-streamdeck.rules "${pkgdir}/usr/lib/udev/rules.d/60-streamdeck.rules"
install -Dm 644 "${srcdir}/streamdeck-ui.desktop" "${pkgdir}/usr/share/applications/streamdeck-ui.desktop"
install -Dm 644 "${srcdir}/elgato.png" "${pkgdir}/usr/share/pixmaps/elgato.png"
install -Dm 644 "${srcdir}/streamdeck.service" "${pkgdir}/etc/systemd/user/streamdeck.service"
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
|