diff --git a/gui-apps/grim-hyprland/grim-hyprland-9999.ebuild b/gui-apps/grim-hyprland/grim-hyprland-9999.ebuild new file mode 100644 index 0000000..f9df41c --- /dev/null +++ b/gui-apps/grim-hyprland/grim-hyprland-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 meson + +DESCRIPTION="Grab images from a Wayland compositor" +HOMEPAGE="https://sr.ht/~emersion/grim" + +inherit git-r3 +EGIT_REPO_URI="https://github.com/eriedaberrie/${PN}.git" + +LICENSE="MIT" +SLOT="0" +IUSE="+man +jpeg" + +RDEPEND=" + dev-libs/wayland + media-libs/libpng + x11-libs/pixman + jpeg? ( media-libs/libjpeg-turbo ) +" +DEPEND="${RDEPEND} + >=dev-libs/wayland-protocols-1.14 +" +BDEPEND=" + dev-util/wayland-scanner + man? ( app-text/scdoc ) +" + +src_configure() { + local emesonargs=( + $(meson_feature jpeg) + $(meson_feature man man-pages) + "-Dbash-completions=false" + "-Dfish-completions=false" + ) + meson_src_configure +} + +src_install() { + meson_src_install + + newbashcomp contrib/completions/bash/grim.bash grim +} diff --git a/metadata/md5-cache/gui-apps/grim-hyprland-9999 b/metadata/md5-cache/gui-apps/grim-hyprland-9999 new file mode 100644 index 0000000..a2d4626 --- /dev/null +++ b/metadata/md5-cache/gui-apps/grim-hyprland-9999 @@ -0,0 +1,14 @@ +BDEPEND=dev-util/wayland-scanner man? ( app-text/scdoc ) >=dev-build/meson-1.2.3 app-alternatives/ninja dev-build/meson-format-array >=dev-vcs/git-1.8.2.1[curl] +DEFINED_PHASES=compile configure install test unpack +DEPEND=dev-libs/wayland media-libs/libpng x11-libs/pixman jpeg? ( media-libs/libjpeg-turbo ) >=dev-libs/wayland-protocols-1.14 +DESCRIPTION=Grab images from a Wayland compositor +EAPI=8 +HOMEPAGE=https://sr.ht/~emersion/grim +INHERIT=bash-completion-r1 meson git-r3 +IUSE=+man +jpeg +LICENSE=MIT +PROPERTIES=live +RDEPEND=dev-libs/wayland media-libs/libpng x11-libs/pixman jpeg? ( media-libs/libjpeg-turbo ) +SLOT=0 +_eclasses_=toolchain-funcs 333970c740aa7b1a92e4fcdc52f612bd multilib c19072c3cd7ac5cb21de013f7e9832e0 bash-completion-r1 f5e7a020fd9c741740756aac61bf75ff flag-o-matic e503ea5acc20410237ba33ec3f7c857d multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 6881b056477c23167d9a6b33e146374e meson 99466844dd8d4fcfb07578a76f5a9922 git-r3 875eb471682d3e1f18da124be97dcc81 +_md5_=5b043b838f8729d32c3e033520ccffbd