gui-apps/hyprpaper - 9999 (wayland-desktop)

Search

Install

Install this version:

emerge -a =gui-apps/hyprpaper-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =gui-apps/hyprpaper-9999

Or alternatively:

emerge --autounmask-write -a =gui-apps/hyprpaper-9999

Package Information

Description:
blazing fast wayland wallpaper utility with IPC controls.
Homepage:
https://github.com/hyprwm/Hyprpaper
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 2022 Aisha Tammy <floss@bsd.ac>
# 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="571f495e88cf9a758698d937d65b9ba35d6eab13"
	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"
}

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/wayland
	media-libs/libglvnd
	media-libs/libjpeg-turbo
	x11-libs/cairo
	x11-libs/pango

RDEPEND

	dev-libs/wayland
	media-libs/libglvnd
	media-libs/libjpeg-turbo
	x11-libs/cairo
	x11-libs/pango

BDEPEND

	dev-libs/wayland-protocols
	virtual/pkgconfig