commit: cdda9720bdc8cca7a16d7e5160db5384449dd453 Author: John M. Harris, Jr. <johnmh <AT> johnmh <DOT> me> AuthorDate: Mon Jun 17 23:49:30 2024 +0000 Commit: John Harris <johnmh <AT> openblox <DOT> org> CommitDate: Mon Jun 17 23:49:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/user/johnmh.git/commit/?id=cdda9720
gui-apps/hyprpaper: Add ebuild Signed-off-by: John M. Harris, Jr. <johnmh <AT> johnmh.me> gui-apps/hyprpaper/Manifest | 1 + gui-apps/hyprpaper/hyprpaper-9999.ebuild | 48 ++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) 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}" +}
