aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Denoncin <ddenoncin@gmail.com>2022-11-20 23:19:13 +0100
committerDavid Denoncin <ddenoncin@gmail.com>2022-11-20 23:19:13 +0100
commit360892ac590d77538917a8c4c783cebe6bb867a4 (patch)
tree0137b0a13a708c05deb6986836860bfb87611abe /gui-apps/wl-mirror
parentapp-backup/grub-btrfs: new live ebuild (diff)
downloadguru-360892ac590d77538917a8c4c783cebe6bb867a4.tar.gz
guru-360892ac590d77538917a8c4c783cebe6bb867a4.tar.bz2
guru-360892ac590d77538917a8c4c783cebe6bb867a4.zip
gui-apps/wl-mirror: new package, add 0.12.2
Signed-off-by: David Denoncin <ddenoncin@gmail.com>
Diffstat (limited to 'gui-apps/wl-mirror')
-rw-r--r--gui-apps/wl-mirror/Manifest1
-rw-r--r--gui-apps/wl-mirror/metadata.xml15
-rw-r--r--gui-apps/wl-mirror/wl-mirror-0.12.2.ebuild40
3 files changed, 56 insertions, 0 deletions
diff --git a/gui-apps/wl-mirror/Manifest b/gui-apps/wl-mirror/Manifest
new file mode 100644
index 000000000..e348cca5f
--- /dev/null
+++ b/gui-apps/wl-mirror/Manifest
@@ -0,0 +1 @@
+DIST wl-mirror-0.12.2.tar.gz 182414 BLAKE2B b1f2fedcf8ad9e7bc561c0656b7929ef91131414ab3c371fd16c876ebf4c13edaac5affd6aa47735411482820faa6fdc61812538cf1372673d74b6b83a164a5a SHA512 f40f52088f86ad84e05b976877a3628d226be4e6cc33617abceef26562df6af6c198a8b79f9a2c9e831d0f1e64f08ccf2bb63d8cd9e26b45adae511b59333db0
diff --git a/gui-apps/wl-mirror/metadata.xml b/gui-apps/wl-mirror/metadata.xml
new file mode 100644
index 000000000..b8d1b1931
--- /dev/null
+++ b/gui-apps/wl-mirror/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>ddenoncin@gmail.com</email>
+ <name>David Denoncin</name>
+ </maintainer>
+ <longdescription lang="en">
+ A simple Wayland output mirror client.
+ wl-mirror attempts to provide a solution to sway's lack of output mirroring by mirroring an output onto a client surface.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">Ferdi265/wl-mirror</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/gui-apps/wl-mirror/wl-mirror-0.12.2.ebuild b/gui-apps/wl-mirror/wl-mirror-0.12.2.ebuild
new file mode 100644
index 000000000..ba5d9a0e6
--- /dev/null
+++ b/gui-apps/wl-mirror/wl-mirror-0.12.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A simple Wayland output mirror client"
+HOMEPAGE="https://github.com/Ferdi265/wl-mirror"
+SRC_URI="https://github.com/Ferdi265/wl-mirror/releases/download/v${PV}/wl-mirror-${PV}.tar.gz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="man"
+
+DEPEND="
+ gui-libs/wlroots
+ dev-libs/wayland-protocols
+ dev-libs/wayland
+ media-libs/libglvnd
+ dev-util/wayland-scanner
+ man? (
+ app-text/scdoc
+ )
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_configure() {
+ mycmakeargs=(
+ -DINSTALL_DOCUMENTATION=$(usex man ON OFF)
+ -DFORCE_SYSTEM_WL_PROTOCOLS=ON
+ -DFORCE_SYSTEM_WLR_PROTOCOLS=OFF
+ -DINSTALL_EXAMPLE_SCRIPTS=OFF
+ )
+
+ cmake_src_configure
+}