You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
atk: use gobject_introspection
This commit is contained in:
+7
-19
@@ -2,16 +2,16 @@
|
||||
|
||||
PortSystem 1.0
|
||||
PortGroup meson 1.0
|
||||
PortGroup gobject_introspection 1.0
|
||||
|
||||
name atk
|
||||
epoch 3
|
||||
version 2.38.0
|
||||
revision 1
|
||||
revision 2
|
||||
set branch [join [lrange [split ${version} .] 0 1] .]
|
||||
categories devel
|
||||
license LGPL
|
||||
maintainers nomaintainer
|
||||
platforms darwin
|
||||
|
||||
description GNOME accessibility toolkit
|
||||
|
||||
@@ -32,26 +32,14 @@ depends_build-append \
|
||||
port:gtk-doc
|
||||
|
||||
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
|
||||
port:gettext-runtime \
|
||||
path:lib/pkgconfig/gobject-introspection-1.0.pc:gobject-introspection \
|
||||
port:libiconv
|
||||
port:gettext-runtime
|
||||
|
||||
gobject_introspection yes
|
||||
|
||||
configure.args -Ddocs=true
|
||||
|
||||
# gobject-introspection uses g-ir-scanner, which uses $CC from env
|
||||
if {${universal_possible} && [variant_isset universal]} {
|
||||
foreach arch ${configure.universal_archs} {
|
||||
lappend merger_build_env(${arch}) "CC=${configure.cc} -arch ${arch}"
|
||||
lappend merger_destroot_env(${arch}) "CC=${configure.cc} -arch ${arch}"
|
||||
}
|
||||
} else {
|
||||
build.env-append "CC=${configure.cc} ${configure.cc_archflags}"
|
||||
destroot.env-append "CC=${configure.cc} ${configure.cc_archflags}"
|
||||
}
|
||||
|
||||
platform darwin 8 {
|
||||
# meson on Tiger cannot use rpaths, so we workaround with this to find dylib
|
||||
destroot.env-append "DYLD_LIBRARY_PATH=${build_dir}/${name}"
|
||||
pre-configure {
|
||||
configure.args-replace -Dintrospection=enabled -Dintrospection=true
|
||||
}
|
||||
|
||||
livecheck.type gnome
|
||||
|
||||
Reference in New Issue
Block a user