nwg-look: initial add recipe

This commit is contained in:
Markus Volk 2022-04-08 08:02:52 +02:00
parent eb8ad5423c
commit 01f6fe46ce
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,15 @@
DESCRIPTION = "xcur2png is a program which let you take PNG image from X cursor, and generate config-file which is reusable by xcursorgen."
HOMEPAGE = "https://github.com/eworm-de/xcur2png"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = "libxcursor libpng"
S = "${WORKDIR}/git"
SRCREV = "f582d648f37a9ed2de0c8650947487af8a54d3ad"
PV = "0.7.1"
SRC_URI = "git://github.com/eworm-de/xcur2png.git;protocol=https;branch=master"
inherit autotools pkgconfig

View File

@ -0,0 +1,28 @@
SUMMARY = "Nwg-look is a GTK3 settings editor, designed to work properly in wlroots-based Wayland environment."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=2e53cad864b84be468b2fc0b511942ce"
DEPENDS = "xcur2png gtk+3"
RDEPENDS:${PN} = "xcur2png"
GO_IMPORT = "github.com/nwg-piotr/nwg-look.git"
SRC_URI = "git://${GO_IMPORT};branch=main;protocol=https"
SRCREV = "5748978865559f481fd1ee18a966ecfb1ff7e9cd"
PV = "0.1.0"
inherit go go-mod pkgconfig gtk-icon-cache
GO_INSTALL = "${GO_IMPORT}"
do_install:append() {
install -d ${D}${datadir}/nwg-look ${D}${datadir}/applications ${D}${datadir}/icons/hicolor/scalable/apps
install -m 0644 ${S}/src/${GO_IMPORT}/stuff/main.glade ${D}${datadir}/nwg-look
install -m 0644 ${S}/src/${GO_IMPORT}/stuff/nwg-look.desktop ${D}${datadir}/applications
install -m 0644 ${S}/src/${GO_IMPORT}/stuff/nwg-look.svg ${D}${datadir}/icons/hicolor/scalable/apps
}
FILES:${PN} += "${datadir}"
do_compile[network] = "1"