2023-06-16 23:40:37 +02:00
|
|
|
SUMMARY = "A wlroots-compatible Wayland color picker that does not suck."
|
|
|
|
HOMEPAGE = "https://hyprland.org/"
|
|
|
|
LICENSE = "BSD-3-Clause"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=936078e4e67b0e1e1bd1e862d4ffbc25"
|
|
|
|
|
|
|
|
SRC_URI = "git://github.com/hyprwm/hyprpicker.git;protocol=https;branch=main"
|
|
|
|
|
2024-07-15 16:44:54 +02:00
|
|
|
PV = "0.3.0"
|
2023-06-16 23:40:37 +02:00
|
|
|
S = "${WORKDIR}/git"
|
2024-07-15 16:44:54 +02:00
|
|
|
SRCREV = "8791f717ef495c8c5a36b21cbccc7cf218fbc380"
|
2023-06-16 23:40:37 +02:00
|
|
|
|
|
|
|
DEPENDS = " \
|
|
|
|
cairo \
|
|
|
|
fribidi \
|
|
|
|
jpeg \
|
2023-10-29 07:33:00 +01:00
|
|
|
libxkbcommon \
|
2023-06-16 23:40:37 +02:00
|
|
|
pango \
|
|
|
|
pcre \
|
|
|
|
util-linux \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
wayland-protocols \
|
|
|
|
"
|
|
|
|
|
|
|
|
RDEPENDS:${PN} = "wl-clipboard"
|
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "wayland"
|
|
|
|
|
2024-04-05 17:30:42 +02:00
|
|
|
EXTRA_OEMAKE = "-DCMAKE_BUILD_TYPE:STRING=Release"
|
2023-06-16 23:40:37 +02:00
|
|
|
|
|
|
|
do_install() {
|
2024-04-05 17:30:42 +02:00
|
|
|
install -d ${D}${bindir} ${D}${datadir}/man/man1
|
|
|
|
install -m755 ${B}/hyprpicker ${D}${bindir}
|
|
|
|
install -m644 ${S}/doc/hyprpicker.1 ${D}${datadir}/man/man1
|
2023-06-16 23:40:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
inherit cmake pkgconfig features_check
|