added my Recipes
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 179102310e9a3729fb5b00f2a7bf24b12f4a7a83 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
|
||||
Date: Sat, 16 Apr 2022 20:04:14 +0200
|
||||
Subject: [PATCH] Allow building gir in cross environments
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
For us this works perfectly fine
|
||||
|
||||
Upstream-Status: Inappropriate [OE-specific]
|
||||
|
||||
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
|
||||
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
||||
|
||||
--- a/meson.build 2022-09-18 14:48:53.000000000 +0200
|
||||
+++ b/meson.build 2022-11-26 14:05:13.302487232 +0100
|
||||
@@ -51,7 +51,7 @@
|
||||
gen_locations_variant = find_program('build-aux/meson/gen_locations_variant.py')
|
||||
|
||||
g_ir_scanner = find_program('g-ir-scanner', required: get_option('introspection'))
|
||||
-build_gir = get_option('introspection') and g_ir_scanner.found() and not meson.is_cross_build()
|
||||
+build_gir = get_option('introspection') and g_ir_scanner.found()
|
||||
build_docs = get_option('gtk_doc') and build_gir
|
||||
|
||||
schemas_srcdir = meson.project_source_root() / 'schemas'
|
||||
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "A library to access weather information from online services"
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
GNOMEBN = "libgweather"
|
||||
S = "${WORKDIR}/${GNOMEBN}-${PV}"
|
||||
|
||||
inherit gnomebase gsettings gobject-introspection gettext gtk-doc vala features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
SRC_URI += "file://0001-Allow-building-gir-in-cross-environments.patch"
|
||||
SRC_URI[archive.sha256sum] = "af8a812da0d8976a000e1d62572c256086a817323fbf35b066dbfdd8d2ca6203"
|
||||
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
|
||||
DEPENDS = " \
|
||||
geocode-glib \
|
||||
gtk4 \
|
||||
json-glib \
|
||||
libsoup-3.0 \
|
||||
python3-pygobject-native \
|
||||
"
|
||||
|
||||
FILES:${PN} += " \
|
||||
${datadir}/libgweather-4 \
|
||||
${libdir}/libgweather-4 \
|
||||
"
|
||||
Reference in New Issue
Block a user