2020-11-04 12:43:14 -05:00
|
|
|
SUMMARY = "C++ bindings for the glib library"
|
|
|
|
HOMEPAGE = "http://www.gtkmm.org/"
|
|
|
|
SECTION = "libs"
|
2022-05-28 11:20:07 -04:00
|
|
|
LICENSE = "LGPL-2.1-only & GPL-2.0-only"
|
2020-11-04 12:43:14 -05:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=42dfffebc56fec7527aac53b7a89d1d8 \
|
|
|
|
file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
|
|
|
|
|
|
|
|
DEPENDS = "mm-common glib-2.0 libsigc++-2.0 glib-2.0-native"
|
|
|
|
inherit gnomebase
|
|
|
|
|
|
|
|
SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"
|
|
|
|
|
|
|
|
SRC_URI += " \
|
|
|
|
file://remove-examples.patch \
|
|
|
|
"
|
|
|
|
SRC_URI[archive.md5sum] = "7da228e3f0c6a10024b9a7708c53691e"
|
|
|
|
SRC_URI[archive.sha256sum] = "36659f13cc73282392d1305858f3bbca46fbd1ce2f078cc9db8b9f79b2e93cfe"
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
do_install:append() {
|
2020-11-04 12:43:14 -05:00
|
|
|
install -d ${D}${datadir}/glibmm-2.4
|
|
|
|
install -d ${D}${datadir}/aclocal
|
|
|
|
|
|
|
|
install -m 0644 glib/glibmmconfig.h ${D}${datadir}/glibmm-2.4/
|
|
|
|
install -m 0644 scripts/glibmm_check_perl.m4 ${D}${datadir}/aclocal/ || true
|
|
|
|
|
|
|
|
for i in generate_wrap_init.pl gmmproc; do
|
|
|
|
sed -i -e '1s,.*,#!${bindir}/env perl,' ${D}${libdir}/glibmm-2.4/proc/$i
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
FILES:${PN} = "${libdir}/lib*.so.*"
|
|
|
|
FILES:${PN}-dev += "${datadir}/glibmm-* ${libdir}/glibmm-2.4/include/ ${libdir}/glibmm-2.4/proc/ ${libdir}/giomm-2.4/include/"
|
2020-11-04 12:43:14 -05:00
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
RDEPENDS:${PN}-dev = "perl"
|
2020-11-04 12:43:14 -05:00
|
|
|
SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}"
|