# Copyright 2022 Aisha Tammy # Distributed under the terms of the ISC License EAPI=8 inherit cmake DESCRIPTION="blazing fast wayland wallpaper utility with IPC controls." HOMEPAGE="https://github.com/hyprwm/Hyprpaper" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/hyprwm/hyprpaper/" else COMMIT="ab85578dce442b80aa3378fe0304e6cb6f16f593" SRC_URI="https://github.com/hyprwm/hyprpaper/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/hyprpaper-${COMMIT}" KEYWORDS="~amd64" fi LICENSE="BSD" SLOT="0" DEPEND=" dev-libs/wayland media-libs/libglvnd media-libs/libjpeg-turbo x11-libs/cairo x11-libs/pango " RDEPEND="${DEPEND}" BDEPEND=" dev-libs/wayland-protocols virtual/pkgconfig " src_compile() { emake protocols cmake_src_compile } src_install() { dobin "${BUILD_DIR}/hyprpaper" }