mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
glade: inherit gtk-doc, fix FILES
Recent changes to oe-core[1] mean that if a configure.ac uses gtk-doc
then gtkdocize will be called. This means that recipes that don't
inherit gtk-doc (to depend on gtk-doc-native) but don't explicitly
disable the use of gtkdocize will fail to configure.
Inheriting gtk-doc both solves the configure failure, and allows us to
build the API documentation.
Also, clean up FILES:
Don't package all of ${datadir} in PN, as this means the locale
information isn't split into the appropriate packages.
.la files are deleted globally so there's no need to package them in
PN-dev.
Debug files are managed automatically so there's no need to package them
at all.
[1] oe-core 891ec38d4c5cc5ac7bc34938276261ebd6f6d54e
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ DEPENDS = "gtk+3 glib-2.0 libxml2 intltool-native \
|
||||
autoconf-archive-native \
|
||||
"
|
||||
GNOMEBASEBUILDCLASS = "autotools"
|
||||
inherit features_check autotools pkgconfig gnomebase gobject-introspection mime-xdg
|
||||
inherit features_check autotools pkgconfig gnomebase gobject-introspection mime-xdg gtk-doc
|
||||
|
||||
# xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
|
||||
# cairo would at least needed to be built with xlib.
|
||||
@@ -23,7 +23,4 @@ SRC_URI[sha256sum] = "edefa6eb24b4d15bd52589121dc109bc08c286157c41288deb74dd9cc3
|
||||
|
||||
EXTRA_OECONF += "--disable-man-pages"
|
||||
|
||||
FILES:${PN} += "${datadir}/* ${libdir}/glade/modules/libgladegtk.so"
|
||||
FILES:${PN}-dev += "${libdir}/glade/modules/libgladegtk.la"
|
||||
FILES:${PN}-dbg += "${libdir}/glade/modules/.debug/libgladegtk.so"
|
||||
|
||||
FILES:${PN} += "${datadir}/glade ${datadir}/metainfo ${libdir}/glade/modules/libgladegtk.so"
|
||||
|
||||
Reference in New Issue
Block a user