diff options
author | 2024-06-17 16:49:30 -0700 | |
---|---|---|
committer | 2024-06-17 16:49:30 -0700 | |
commit | cdda9720bdc8cca7a16d7e5160db5384449dd453 (patch) | |
tree | 80f6218ead9293697c7ad026459948954377c40a | |
parent | dev-util/hyprwayland-scanner: Add ebuild (diff) | |
download | johnmh-cdda9720bdc8cca7a16d7e5160db5384449dd453.tar.gz johnmh-cdda9720bdc8cca7a16d7e5160db5384449dd453.tar.bz2 johnmh-cdda9720bdc8cca7a16d7e5160db5384449dd453.zip |
gui-apps/hyprpaper: Add ebuild
Signed-off-by: John M. Harris, Jr. <johnmh@johnmh.me>
-rw-r--r-- | gui-apps/hyprpaper/Manifest | 1 | ||||
-rw-r--r-- | gui-apps/hyprpaper/hyprpaper-9999.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/gui-apps/hyprpaper/Manifest b/gui-apps/hyprpaper/Manifest new file mode 100644 index 0000000..7098df3 --- /dev/null +++ b/gui-apps/hyprpaper/Manifest @@ -0,0 +1 @@ +EBUILD hyprpaper-9999.ebuild 853 BLAKE2B ac27931761bbf94a4b317033bc5e6b717507fa20b02d4d220b76bf8f127026cc77cf93cee7e4b22c64fd091fb4bfa5e3b13d902175cffb1ae15d784377661d4e SHA512 8585b7241aecbf1f6b9dbb245741f85763a965a9870f0b4d9bc7a51db8d0b6274995b468e948c29cdd1ad2de6830f4d470ec41228f9a5be791e0ec3f670ff22e diff --git a/gui-apps/hyprpaper/hyprpaper-9999.ebuild b/gui-apps/hyprpaper/hyprpaper-9999.ebuild new file mode 100644 index 0000000..e268c20 --- /dev/null +++ b/gui-apps/hyprpaper/hyprpaper-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A blazing fast wayland wallpaper utility" +HOMEPAGE="https://github.com/hyprwm/hyprpaper" + + +if [[ "${PV}" = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git" +else + SRC_URI="https://github.com/hyprwm/${PN^}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-libs/hyprlang:= + dev-libs/wayland + dev-libs/wayland-protocols + dev-util/wayland-scanner + dev-vcs/git +" +RDEPEND=" + ${DEPEND} + gui-libs/wlroots + media-libs/libglvnd + media-libs/libjpeg-turbo + media-libs/libwebp + x11-libs/cairo + x11-libs/pango +" + +src_compile() { + emake protocols + cmake_src_compile +} + +src_install() { + dobin "${BUILD_DIR}/${PN}" +} |