[ITA] atkmm1.6

Philippe Baril Lecavalier via Cygwin-apps <[email protected]>
Newsgroups gmane.os.cygwin.applications
Message-ID <[email protected]>
atkmm1.6 2.24.2 (2017) -> 2.28.4 (2024)

No test suite. I used it to build an updated gtkmm3, it doesn't 
complain. Also involves a recent glibmm (awaiting approval), but 
seemingly still works with old glibmm even though glib has been updated 
many times since.


cygport file (or see attached)
https://cygwin.com/cgit/cygwin-packages/atkmm1.6/tree/atkmm1.6.cygport?id=abec323dfb15cd9b95d30bb3dced2ec492614af3

build log:
https://github.com/cygwin/scallywag/actions/runs/15333658566
atkmm1.6.cygport (text/plain, 1.1 KB)
ORIG_PN=${ORIG_PN:-${PN/[0-9]*/}}

inherit gnome.org meson

NAME="atkmm1.6"
VERSION=2.28.4
RELEASE=1
CATEGORY="Libs"

LICENSE="LGPL-2.1-or-later"
SUMMARY="C++ bindings for ATK"
DESCRIPTION="gtkmm is the official C++ interface for the popular GUI library
GTK+. It closely follows GTK+ development. Highlights include typesafe
callbacks, widgets extensible via inheritance and a comprehensive set of
widgets."

BUILD_REQUIRES="libatk1.0-devel libglibmm2.4-devel libsigc2.0-devel
		pkg-config python3"
BUILD_REQUIRES+=" doxygen graphviz libxslt mm-common" #docs

PKG_NAMES="libatkmm1.6_1 libatkmm1.6-devel libatkmm1.6-doc"
libatkmm1_6_1_CONTENTS="usr/bin/cygatkmm-1.6-1.dll usr/share/doc/${NAME}/"
libatkmm1_6_devel_CONTENTS="usr/include/ usr/lib/"
libatkmm1_6_doc_CONTENTS="usr/share/devhelp/ usr/share/doc/atkmm-1.6/"

CYGMESON_ARGS="
	-Dbuild-deprecated-api=true
	-Dbuild-documentation=true
"

src_compile() {
	cd ${S}
	#build-docmentation just hangs, problem with doxygen/graphviz
	sed -i -e "s/\(DOT_NUM_THREADS        =\) 0/\1 1/" \
		${S}/doc/reference/Doxyfile.in || error "Doxygen file not found"

	meson_compile
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.