imv: add recipe

This commit is contained in:
Markus Volk 2021-06-02 20:55:22 +02:00
parent 02c634f974
commit 5e966248a4
2 changed files with 63 additions and 0 deletions

View File

@ -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 = ""

View File

@ -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 = ""