public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 1/3] appstream-glib: Bring version from meta-gnome
@ 2023-03-28 23:48 Khem Raj
  2023-03-28 23:48 ` [PATCH 2/3] libstemmer: Bring recipe from meta-oe Khem Raj
  2023-03-28 23:48 ` [PATCH 3/3] maintainers.inc: Add maintainer for libstemmer and appstream-glib Khem Raj
  0 siblings, 2 replies; 3+ messages in thread
From: Khem Raj @ 2023-03-28 23:48 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

appstream-glib-native is needed by new epiphany

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../appstream-glib/appstream-glib_0.8.2.bb    | 39 +++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 meta/recipes-gnome/appstream-glib/appstream-glib_0.8.2.bb

diff --git a/meta/recipes-gnome/appstream-glib/appstream-glib_0.8.2.bb b/meta/recipes-gnome/appstream-glib/appstream-glib_0.8.2.bb
new file mode 100644
index 0000000000..efb85d77c5
--- /dev/null
+++ b/meta/recipes-gnome/appstream-glib/appstream-glib_0.8.2.bb
@@ -0,0 +1,39 @@
+SUMMARY = "Objects and helper methods to help reading and writing AppStream metadata"
+HOMEPAGE = "https://people.freedesktop.org/~hughsient/appstream-glib/index.htm"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = " \
+    curl \
+    gperf-native \
+    glib-2.0 \
+    gtk+3 \
+    libyaml \
+    libarchive \
+    json-glib \
+    gdk-pixbuf \
+    freetype \
+    fontconfig \
+    libstemmer \
+"
+
+inherit meson gobject-introspection gettext bash-completion pkgconfig manpages
+
+SRC_URI = "https://people.freedesktop.org/~hughsient/${BPN}/releases/${BP}.tar.xz"
+SRC_URI[sha256sum] = "71256500add5048d6f08878904708b3d0c3875f402e0adcd358e91d47dcd8b96"
+
+EXTRA_OEMESON = " \
+    -Drpm=false \
+"
+
+PACKAGECONFIG ?= ""
+PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,docbook-xml-dtd4-native docbook-xsl-stylesheets-native libxslt-native"
+
+FILES:${PN} += "${libdir}/asb-plugins-5"
+
+FILES:${PN}-dev += " \
+    ${datadir}/installed-tests \
+    ${datadir}/gettext \
+"
+
+BBCLASSEXTEND = "native"
-- 
2.40.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/3] libstemmer: Bring recipe from meta-oe
  2023-03-28 23:48 [PATCH 1/3] appstream-glib: Bring version from meta-gnome Khem Raj
@ 2023-03-28 23:48 ` Khem Raj
  2023-03-28 23:48 ` [PATCH 3/3] maintainers.inc: Add maintainer for libstemmer and appstream-glib Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2023-03-28 23:48 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Needed by appstream-glib

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../libstemmer/libstemmer_2.2.0.bb            | 37 +++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 meta/recipes-support/libstemmer/libstemmer_2.2.0.bb

diff --git a/meta/recipes-support/libstemmer/libstemmer_2.2.0.bb b/meta/recipes-support/libstemmer/libstemmer_2.2.0.bb
new file mode 100644
index 0000000000..be2935a385
--- /dev/null
+++ b/meta/recipes-support/libstemmer/libstemmer_2.2.0.bb
@@ -0,0 +1,37 @@
+SUMMARY = "Snowball compiler and stemming algorithms"
+HOMEPAGE = "https://snowballstem.org/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=19139aaf3c8c8fa1ca6edd59c072fb9f"
+
+DEPENDS:append:class-target = " ${BPN}-native"
+
+SRC_URI = "git://github.com/snowballstem/snowball.git;branch=master;protocol=https \
+           file://0001-Build-so-lib.patch \
+           "
+SRCREV = "48a67a2831005f49c48ec29a5837640e23e54e6b"
+S = "${WORKDIR}/git"
+
+LIBVER = "0.0.0"
+
+inherit lib_package
+
+do_compile:prepend:class-target() {
+    # use native tools
+    sed -i 's:./snowball :snowball :g' ${S}/GNUmakefile
+}
+
+do_install() {
+    install -d ${D}${bindir}
+    install -m 755 ${S}/snowball ${D}${bindir}
+    install -m 755 ${S}/stemwords ${D}${bindir}
+
+    install -d ${D}${libdir}
+    install -m 755 ${S}/libstemmer.so.${LIBVER} ${D}${libdir}/
+    ln -s libstemmer.so.${LIBVER} ${D}${libdir}/libstemmer.so.0
+    ln -s libstemmer.so.${LIBVER} ${D}${libdir}/libstemmer.so
+
+    install -d ${D}${includedir}
+    install -m 644 ${S}/include/*.h ${D}${includedir}
+}
+
+BBCLASSEXTEND = "native"
-- 
2.40.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 3/3] maintainers.inc: Add maintainer for libstemmer and appstream-glib
  2023-03-28 23:48 [PATCH 1/3] appstream-glib: Bring version from meta-gnome Khem Raj
  2023-03-28 23:48 ` [PATCH 2/3] libstemmer: Bring recipe from meta-oe Khem Raj
@ 2023-03-28 23:48 ` Khem Raj
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2023-03-28 23:48 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/conf/distro/include/maintainers.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 2d4aaf029e..47eba69a85 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -39,6 +39,7 @@ RECIPE_MAINTAINER:pn-alsa-topology-conf = "Michael Opdenacker <michael.opdenacke
 RECIPE_MAINTAINER:pn-alsa-ucm-conf = "Michael Opdenacker <michael.opdenacker@bootlin.com>"
 RECIPE_MAINTAINER:pn-alsa-utils = "Michael Opdenacker <michael.opdenacker@bootlin.com>"
 RECIPE_MAINTAINER:pn-apmd = "Anuj Mittal <anuj.mittal@intel.com>"
+RECIPE_MAINTAINER:pn-appstream-glib = "Markus Volk <f_l_k@t-online.de>"
 RECIPE_MAINTAINER:pn-apr = "Hongxu Jia <hongxu.jia@windriver.com>"
 RECIPE_MAINTAINER:pn-apr-util = "Hongxu Jia <hongxu.jia@windriver.com>"
 RECIPE_MAINTAINER:pn-apt = "Aníbal Limón <limon.anibal@gmail.com>"
@@ -394,6 +395,7 @@ RECIPE_MAINTAINER:pn-libsoup = "Anuj Mittal <anuj.mittal@intel.com>"
 RECIPE_MAINTAINER:pn-libsoup-2.4 = "Anuj Mittal <anuj.mittal@intel.com>"
 RECIPE_MAINTAINER:pn-libssh2 = "Unassigned <unassigned@yoctoproject.org>"
 RECIPE_MAINTAINER:pn-libssp-nonshared = "Khem Raj <raj.khem@gmail.com>"
+RECIPE_MAINTAINER:pn-libstemmer = "Markus Volk <f_l_k@t-online.de>"
 RECIPE_MAINTAINER:pn-libtasn1 = "Anuj Mittal <anuj.mittal@intel.com>"
 RECIPE_MAINTAINER:pn-libtest-fatal-perl = "Tim Orling <tim.orling@konsulko.com>"
 RECIPE_MAINTAINER:pn-libtest-needs-perl = "Tim Orling <tim.orling@konsulko.com>"
-- 
2.40.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-28 23:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-28 23:48 [PATCH 1/3] appstream-glib: Bring version from meta-gnome Khem Raj
2023-03-28 23:48 ` [PATCH 2/3] libstemmer: Bring recipe from meta-oe Khem Raj
2023-03-28 23:48 ` [PATCH 3/3] maintainers.inc: Add maintainer for libstemmer and appstream-glib Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox