mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-27 05:58:22 +01:00
123d8b928e
- Update dependencies
49 lines
1015 B
BlitzBasic
49 lines
1015 B
BlitzBasic
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"
|
|
|
|
PV = "0.7.0"
|
|
SRCREV = "f4abf5902f3f0c51d2aab8a521f7c1b1b08afd64"
|
|
S = "${WORKDIR}/git"
|
|
|
|
DEPENDS += " \
|
|
cairo \
|
|
file \
|
|
fribidi \
|
|
hyprlang \
|
|
jpeg \
|
|
libglvnd \
|
|
libwebp \
|
|
pango \
|
|
wayland \
|
|
wayland-native \
|
|
wayland-protocols \
|
|
"
|
|
|
|
RDEPENDS:${PN} = "hyprlang"
|
|
|
|
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
|