29 lines
1.0 KiB
Bash
29 lines
1.0 KiB
Bash
# Template file for 'gns3-gui'
|
|
pkgname=gns3-gui
|
|
version=2.2.33.1
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-psutil python3-jsonschema
|
|
python3-PyQt5-svg python3-PyQt5-websockets xterm inetutils-telnet
|
|
gns3-net-converter python3-distro"
|
|
checkdepends="${depends} python3-pytest python3-wheel"
|
|
short_desc="Graphical Network Simulator 3 - GUI"
|
|
maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://gns3.com"
|
|
changelog="https://raw.githubusercontent.com/GNS3/gns3-gui/master/CHANGELOG"
|
|
distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=2122e6259aa1f9e831a0a8b9a327102d2360b9238966b9475be73d3110dcbca8
|
|
|
|
|
|
post_patch() {
|
|
# comment out requirements since versions are usually out of sync with Void packages
|
|
vsed -e 's|^|#|' -i requirements.txt
|
|
}
|
|
|
|
post_install() {
|
|
vinstall gns3-gui.desktop 644 usr/share/applications
|
|
vinstall resources/images/gns3_icon_256x256.png 644 usr/share/pixmaps gns3.png
|
|
}
|