diff --git a/network/misc/putty/actions.py b/network/misc/putty/actions.py index 5d986a9eef..cef3a49401 100644 --- a/network/misc/putty/actions.py +++ b/network/misc/putty/actions.py @@ -1,22 +1,25 @@ #!/usr/bin/python # -*- coding: utf-8 -*- +# # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/copyleft/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import cmaketools -from pisi.actionsapi import get -from pisi.actionsapi import pisitools -from pisi.actionsapi import shelltools +from pisi.actionsapi import cmaketools, mesontools, pisitools + +i = ''.join([ + ' -DCMAKE_INSTALL_PREFIX=/usr', + ' -DCMAKE_BUILD_TYPE=Release', + ' -DPUTTY_GTK_VERSION=2', + ' -Bbuild -G Ninja -L ' + ]) def setup(): - shelltools.makedirs("build") - shelltools.cd("build") - cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release", sourceDir="..") + cmaketools.configure(i) + def build(): - shelltools.cd("build") - cmaketools.make() + mesontools.build() def install(): - shelltools.cd("build") - cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + mesontools.install() + + pisitools.dodoc("LICENCE") diff --git a/network/misc/putty/pspec.xml b/network/misc/putty/pspec.xml index a7be715406..a85d3bc35f 100644 --- a/network/misc/putty/pspec.xml +++ b/network/misc/putty/pspec.xml @@ -1,5 +1,5 @@ - + putty @@ -11,19 +11,20 @@ MIT putty app:gui - A terminal integrated SSH/Telnet client - A terminal integrated SSH/Telnet client - https://the.earth.li/~sgtatham/putty/0.77/putty-0.77.tar.gz + A terminal integrated SSH/Telnet client. + A terminal integrated SSH/Telnet client. + https://the.earth.li/~sgtatham/putty/latest/putty-0.83.tar.gz - extra-cmake-modules - gtk3-devel + cmake + ninja + gtk2-devel putty - gtk3 + gtk2 cairo glib2 pango @@ -32,9 +33,7 @@ /usr/bin - /usr/share/applications - /usr/share/man - /usr/share/pixmaps + /usr/share putty.desktop @@ -44,6 +43,13 @@ + + 2025-02-10 + 0.83 + Version bump + Ayhan Yalçınsoy + ayhanyalcinsoy@pisilinux.org + 2022-10-01 0.77