From 5e966248a4c6a57b12faf97f399f4bc1a138d5ef Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 2 Jun 2021 20:55:22 +0200 Subject: [PATCH] imv: add recipe --- recipes-extended/inih/inih_git.bb | 18 +++++++++++++ recipes-support/imv/imv_git.bb | 45 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 recipes-extended/inih/inih_git.bb create mode 100644 recipes-support/imv/imv_git.bb diff --git a/recipes-extended/inih/inih_git.bb b/recipes-extended/inih/inih_git.bb new file mode 100644 index 0000000..21be2ac --- /dev/null +++ b/recipes-extended/inih/inih_git.bb @@ -0,0 +1,18 @@ +SUMMARY = "inih (INI Not Invented Here)" +DESCRIPTION = "A .INI file parser written in C that was designed to be small and simple." +HOMEPAGE = "https://github.com/benhoyt/inih" +SECTION = "libs" +LICENSE = "BSD-3-Clause" + +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a7a95d2af90376e85a05318794e6f202" + +SRC_URI = "git://github.com/benhoyt/inih.git;protocol=https" + +S = "${WORKDIR}/git" +PV = "53" +SRCREV = "r${PV}" + +inherit meson pkgconfig + +BBCLASSEXTEND = "" + diff --git a/recipes-support/imv/imv_git.bb b/recipes-support/imv/imv_git.bb new file mode 100644 index 0000000..216a637 --- /dev/null +++ b/recipes-support/imv/imv_git.bb @@ -0,0 +1,45 @@ +SUMMARY = "imv - X11/Wayland Image Viewer" +DESCRIPTION = "imv is a command line image viewer intended for use with tiling window managers." +HOMEPAGE = "https://github.com/eXeC64/imv" +SECTION = "graphics" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=dcea6b87dbecf6c482d399a15ff8ba49" + +REQUIRED_DISTRO_FEATURES = "wayland" + +DEPENDS += " \ + glib-2.0 \ + libxkbcommon \ + pango \ + cairo \ + icu \ + inih \ + wayland \ + wayland-native \ + wayland-protocols \ + virtual/egl \ +" + +PACKAGECONFIG[x11] = "-Dwindows=all,-Dwindows=wayland,libx11 libglu xcb-util-renderutil" +PACKAGECONFIG[tiff] = ",,tiff" +PACKAGECONFIG[png] = ",,libpng" +PACKAGECONFIG[jpeg] = ",,libjpeg-turbo" +#librsvg shipped in oe-core is too old ... requires v2.44 +PACKAGECONFIG[rsvg] = ",,librsvg" + +PACKAGECONFIG ?= " \ + jpeg \ + png \ + tiff \ +" + +SRC_URI = "git://github.com/eXeC64/imv.git;protocol=https" + +S = "${WORKDIR}/git" +PV = "4.2.0" +SRCREV = "v${PV}" + +inherit meson pkgconfig mime-xdg features-check + +BBCLASSEXTEND = ""