Files

47 lines
1.4 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup common_lisp 1.0
github.setup joachifm cl-webkit 3.5.10
github.tarball_from archive
name cl-webkit2
revision 1
checksums rmd160 42aed1ece6c3752f90dd1100bfab1689474a2754 \
sha256 af62341b590bb177e2faf55f8e89b2276fc2ee9fe4d744a6879139c70e6566e9 \
size 40011
categories-append devel
maintainers nomaintainer
license MIT
description A binding to WebKitGTK+ for Common Lisp
long_description {*}${description}
worksrcdir ${worksrcdir}/webkit2
depends_lib-append path:lib/libwebkit2gtk-4.1.dylib:webkit2-gtk \
port:cl-alexandria \
port:cl-cffi \
port:cl-cffi-gtk
depends_test-append port:cl-calispel \
port:cl-fiveam \
port:cl-float-features
common_lisp.ffi yes
common_lisp.threads yes
# ECL detects such machines as arm, not arm64 that leads to
# Can not define 'G-SIZE', unknown CPU architectureAn error occurred during initialization:
# See: https://gitlab.com/embeddable-common-lisp/ecl/-/issues/713
if {${build_arch} eq "arm64"} {
common_lisp.ecl no
}
# test requires X11, maybe use Xvfb one day?
test.run no