Files
macports-ports/gnome/gnome-calculator/Portfile
T

55 lines
2.2 KiB
Tcl
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup meson 1.0
PortGroup yelp 1.0
name gnome-calculator
version 46.1
revision 0
license GPL-3
set branch [join [lrange [split ${version} .] 0 0] .]
description Calculator with financial and scientific modes.
long_description Calculator is an application that solves mathematical equations \
and is suitable as a default application in a Desktop environment.
maintainers {devans @dbevans} openmaintainer
categories gnome
homepage https://wiki.gnome.org/Apps/Calculator
master_sites gnome:sources/${name}/${branch}/
use_xz yes
checksums rmd160 37eb56bd37a7da0d66edbb31880b96d9ee6be7f3 \
sha256 2d36750a73890086122cf3f0c83e68517891585615165306fa1596a918668247 \
size 1121236
depends_build port:pkgconfig \
port:appstream-glib \
port:itstool \
path:bin/vala:vala
depends_lib port:desktop-file-utils \
path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \
port:libadwaita \
port:libgee \
port:gtksourceview5 \
port:libmpc \
path:lib/pkgconfig/libsoup-3.0.pc:libsoup \
port:libxml2 \
port:mpfr
depends_run port:adwaita-icon-theme
# blacklist compilers that do not support C11 (redefinition of typedef GtkSourceTag at gtksourceview/gtksourcetag.h:35)
compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300}
configure.cflags-append -Wno-incompatible-pointer-types -Wno-incompatible-function-pointer-types
configure.cxxflags-append -Wno-incompatible-pointer-types -Wno-incompatible-function-pointer-types
post-activate {
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
}
livecheck.type gnome