meta-wayland/recipes-support/hyprpaper/hyprpaper_git.bb

53 lines
1.0 KiB
BlitzBasic
Raw Normal View History

2023-06-16 23:40:07 +02:00
SUMMARY = "Hyprpaper is a blazing fast wallpaper utility for Hyprland."
HOMEPAGE = "https://hyprland.org/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=936078e4e67b0e1e1bd1e862d4ffbc25"
SRC_URI = "git://github.com/hyprwm/hyprpaper.git;protocol=https;branch=main"
2024-01-04 09:53:30 +01:00
PV = "0.6.0"
2024-02-05 12:37:38 +01:00
SRCREV = "1013a80608891f120184aa7c1a7cfde04bfc96fb"
2023-06-16 23:40:07 +02:00
S = "${WORKDIR}/git"
DEPENDS += " \
cairo \
2023-09-10 23:27:27 +02:00
file \
2023-06-16 23:40:07 +02:00
fribidi \
2024-01-04 09:53:30 +01:00
hyprlang \
2023-06-16 23:40:07 +02:00
jpeg \
2023-12-22 18:46:39 +01:00
libwebp \
2023-06-16 23:40:07 +02:00
libxdmcp \
pango \
pcre \
2024-01-04 09:53:30 +01:00
pcre2 \
2023-06-16 23:40:07 +02:00
util-linux \
wayland \
wayland-native \
wayland-protocols \
wlroots \
"
2024-01-04 09:53:30 +01:00
RDEPENDS:${PN} = "hyprlang"
2023-06-16 23:40:07 +02:00
REQUIRED_DISTRO_FEATURES = "wayland"
EXTRA_OEMAKE = " \
WAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \
WAYLAND_PROTOCOLS=${STAGING_DATADIR}/wayland-protocols \
"
do_configure:prepend() {
sed -i -e '$ainstall(TARGETS hyprpaper)' ${S}/CMakeLists.txt
}
do_compile:prepend() {
cd ${S} && oe_runmake protocols
}
do_install() {
install -d ${D}${bindir}
install -m0755 ${B}/hyprpaper ${D}${bindir}
}
inherit cmake pkgconfig features_check