meta-virtualization/recipes-containers/podman-tui/podman-tui_git.bb
Bruce Ashfield 536ea278b6 podman-tui: update to v1.4.0
Bumping podman-tui to version v0.9.0-438-g204d054c, which comprises the following commits:

    204d054c Bump to v1.4.0
    59a9904e README.md fix demo link
    8460ac45 Bump golang.org/x/crypto to v0.33.0
    db872518 Bump github.com/containers/buildah from 1.38.1 to 1.39.1
    87d8ab15 bugfix panic in system events
    610cf9fc Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5
    aa8a4771 Bump github.com/spf13/cobra from 1.8.1 to 1.9.1
    7c30fa9d Bump podman to v5.4.0
    9a57aeb7 enhance: merge READMEs
    a07daf87 docs: enhance directory structure
    53146731 Bump github.com/containers/podman/v5 from 5.3.1 to 5.3.2
    958a2a44 packit update epel + centos stream
    af4b22fa Bump golang.org/x/net from 0.30.0 to 0.33.0
    d8f0ffb3 Bump github.com/gdamore/tcell/v2 from 2.7.4 to 2.8.1
    086842a2 Bump golang.org/x/crypto from 0.31.0 to 0.32.0
    f1f1ff11 Bump golang.org/x/crypto from 0.29.0 to 0.31.0
    0e8ff20e Bump to v1.4.0-dev
    37019c2f Bump to v1.3.0

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2025-03-24 18:42:34 +00:00

75 lines
2.1 KiB
BlitzBasic

HOMEPAGE = "https://github.com/containers/podman-tui"
SUMMARY = "podman-tui is a Terminal User Interface to interact with podman"
DESCRIPTION = "podman-tui is a Terminal User Interface to interact with the podman v4. \
podman bindings has been used to communicate with podman environment through rest api API (unix socket). \
"
inherit features_check
REQUIRED_DISTRO_FEATURES ?= "seccomp ipv6"
DEPENDS = " \
libseccomp \
libdevmapper \
lvm2 \
btrfs-tools \
gpgme \
libassuan \
libgpg-error \
"
SRCREV_FORMAT = "podmantui_storage"
SRCREV_podmantui = "204d054c97c2d2908a930a3b3de520f54271a2bd"
SRCREV_storage = "246ba3062e8b551026aef2708eee747014ce5c52"
SRC_URI = " \
git://github.com/containers/podman-tui;protocol=https;name=podmantui;branch=release-v1.4;destsuffix=${GO_SRCURI_DESTSUFFIX} \
"
# Due to some other API changes, we can't directly import containers/storage at
# the right commit, so we instead extract a patch and apply it to the tree
#SRC_URI += "git://github.com/containers/storage;protocol=https;name=storage;branch=release-v0.17;destsuffix=git/src/import/vendor/github.com/containers/storage"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
GO_IMPORT = "import"
S = "${WORKDIR}/git"
PV = "v1.4.0+git"
PODMAN_PKG = "github.com/containers/podman-tui"
inherit go goarch
inherit pkgconfig
COMPATIBLE_HOST = "^(?!mips).*"
do_configure[noexec] = "1"
BUILD_TAGS ?= "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper"
do_compile() {
cd ${S}/src
rm -rf .gopath
mkdir -p .gopath/src/"$(dirname "${PODMAN_PKG}")"
ln -sf ../../../../import/ .gopath/src/"${PODMAN_PKG}"
cd ${S}/src/.gopath/src/"${PODMAN_PKG}"
# Pass the needed cflags/ldflags so that cgo
# can find the needed headers files and libraries
export GOFLAGS="-mod=vendor"
# oe_runmake BUILDTAGS="${BUILDTAGS}"
${GO} build -trimpath -tags "$(BUILDTAGS)" ${GO_LDFLAGS} -o bin/podman-tui
}
do_install() {
cd ${S}/src/.gopath/src/"${PODMAN_PKG}"
install -d ${D}/${bindir}
install bin/podman-tui ${D}/${bindir}/
}
RDEPENDS:${PN} += "podman"