stlink: update to 1.5.1.

This commit is contained in:
bra1nwave 2018-09-17 20:46:22 +02:00 committed by Enno Boland
parent e29b9aa1e9
commit ff1c1cb18f
3 changed files with 17 additions and 6 deletions

View File

@ -2749,7 +2749,7 @@ libgspell-1.so.2 gspell-1.8.0_1
libotf.so.1 libotf-0.9.16_1
libimagequant.so.0 libimagequant-2.8.2_1
libDOtherSide.so.0 dotherside-0.5.2_1
libstlink-shared.so.1 stlink-1.3.0_1
libstlink.so.1 stlink-1.5.1_1
libopencsg.so.1 opencsg-1.4.2_1
libCGAL.so.13 cgal-4.10_1
libCGAL_Core.so.13 cgal-4.10_1

1
srcpkgs/stlink-gtk Symbolic link
View File

@ -0,0 +1 @@
stlink

View File

@ -1,17 +1,17 @@
# Template file for 'stlink'
pkgname=stlink
version=1.5.0
version=1.5.1
revision=1
build_style=cmake
configure_args="-DSTLINK_UDEV_RULES_DIR=/usr/lib/udev/rules.d -DSTLINK_MODPROBED_DIR=/usr/lib/modprobe.d"
hostmakedepends="pkg-config"
makedepends="libusb-devel"
makedepends="libusb-devel gtk+3-devel"
short_desc="STM32 discovery line Linux programmer"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="3-clause-BSD"
license="BSD-3-Clause"
homepage="https://github.com/texane/stlink"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=4f0301edf9e904688ba31cf181653102f367c747e23ad356de1c430d1a654e2e
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=e0145fbfd3e781f21baf12a0750b0933c445ee6338e36142836bf5a2c267e107
post_install() {
vlicense LICENSE
@ -28,3 +28,13 @@ stlink-devel_package() {
vmove usr/lib/pkgconfig
}
}
stlink-gtk_package() {
short_desc+=" - GTK+3 frontend"
depends="${sourcepkg}>=${version}_${revision} hicolor-icon-theme desktop-file-utils"
pkg_install() {
vmove usr/share/applications/stlink-gui.desktop
vmove usr/share/icons/hicolor/scalable/apps/stlink-gui.svg
vmove usr/bin/stlink-gui
}
}