diff mbox series

[v1,2/2] liboauth2: Add recipe at 2.2.0

Message ID 20260123154842.1635662-4-frederikbraendstrup@gmail.com
State Accepted
Headers show
Series Add liboauth2 | expand

Commit Message

Frede Hoey Braendstrup Jan. 23, 2026, 3:48 p.m. UTC
---
 .../liboauth2/liboauth2_2.2.0.bb              | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb

Comments

Khem Raj Jan. 25, 2026, 1:57 a.m. UTC | #1
On Fri, Jan 23, 2026 at 7:49 AM Frederik Brændstrup via
lists.openembedded.org <frederikbraendstrup=gmail.com@lists.openembedded.org>
wrote:

> ---
>  .../liboauth2/liboauth2_2.2.0.bb              | 20 +++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
>
> diff --git a/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
> b/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
> new file mode 100644
> index 0000000000..3067f7ea63
> --- /dev/null
> +++ b/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
> @@ -0,0 +1,20 @@
> +SUMMARY = "OAuth 2.x and OpenID Connect C library"
> +HOMEPAGE = "https://github.com/OpenIDC/liboauth2"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
> +
> +SRC_URI = "git://
> github.com/OpenIDC/liboauth2;protocol=https;branch=master;tag=v${PV}
> <http://github.com/OpenIDC/liboauth2;protocol=https;branch=master;tag=v$%7BPV%7D>
> "
> +
> +PV = "2.2.0"
> +SRCREV = "12571b6d6568c2db7d5f080f60ecb55795c0db19"
> +
> +DEPENDS = "libpcre2 jansson libcheck curl openssl cjose apache2"
>

apache2 is part of meta-webserver layer and meta-oe does not depend on
meta-webserver but its other way around
maybe turn apache2 support into a packageconfig and keep it disabled by
default, if its a hard dependency then
move the recipe to meta-webserver layer.


> +
> +inherit pkgconfig autotools-brokensep
> +
> +PACKAGECONFIG ??= ""
> +PACKAGECONFIG[memcache] =
> "--with-memcache,--without-memcache,libmemcached"
> +PACKAGECONFIG[redis] = "--with-redis,--without-redis,hiredis"
> +PACKAGECONFIG[jq] = "--with-jq,--without-jq,jq"
> +PACKAGECONFIG[apache] = "--with-apache,--without-apache,apache2"
> +
> --
> 2.52.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#123785):
> https://lists.openembedded.org/g/openembedded-devel/message/123785
> Mute This Topic: https://lists.openembedded.org/mt/117419834/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb b/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
new file mode 100644
index 0000000000..3067f7ea63
--- /dev/null
+++ b/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
@@ -0,0 +1,20 @@ 
+SUMMARY = "OAuth 2.x and OpenID Connect C library"
+HOMEPAGE = "https://github.com/OpenIDC/liboauth2"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
+
+SRC_URI = "git://github.com/OpenIDC/liboauth2;protocol=https;branch=master;tag=v${PV}"
+
+PV = "2.2.0"
+SRCREV = "12571b6d6568c2db7d5f080f60ecb55795c0db19"
+
+DEPENDS = "libpcre2 jansson libcheck curl openssl cjose apache2"
+
+inherit pkgconfig autotools-brokensep
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[memcache] = "--with-memcache,--without-memcache,libmemcached"
+PACKAGECONFIG[redis] = "--with-redis,--without-redis,hiredis"
+PACKAGECONFIG[jq] = "--with-jq,--without-jq,jq"
+PACKAGECONFIG[apache] = "--with-apache,--without-apache,apache2"
+