commit:     97eea123a40bd45af96d4a7b2efacc0b5c0e657c
Author:     Thiago Donato Ferreira <flowlnlnln <AT> gmail <DOT> com>
AuthorDate: Sat Jul 16 17:07:03 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jul 25 06:04:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97eea123

gui-apps/swappy: add 1.4.0

Signed-off-by: Thiago Donato Ferreira <flowlnlnln <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26444
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 gui-apps/swappy/Manifest            |  1 +
 gui-apps/swappy/swappy-1.4.0.ebuild | 47 +++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/gui-apps/swappy/Manifest b/gui-apps/swappy/Manifest
index 01640aea1202..54e960c22fb2 100644
--- a/gui-apps/swappy/Manifest
+++ b/gui-apps/swappy/Manifest
@@ -1 +1,2 @@
 DIST swappy-1.3.1.tar.gz 650917 BLAKE2B 
7d1334414b5c4a7b0b53adbb40c5757398283dc0f3815ff5f4d2db6dd35d650b7e89e70663eaf7a0e111fadfcfe19e57af6a27037047f82f923409a77e44bdb6
 SHA512 
0d6a3ae9ed2595795ecff22fcc90640e416a1e34f11129146bb49642b4db58c615c29c1d4dcc964cc371545e73e64e99e48d1ddd0e8f36280158b649613a1693
+DIST swappy-1.4.0.tar.gz 653512 BLAKE2B 
d8a0e9ef6c96c3b669fe6c3592757ee5df5a616580208ad88918c3f27f227de7a553a7074fd6f039841b022897d7c2bc891e0239969403282ae1e78781462529
 SHA512 
5e4952ee226799c64b8890036e22e28ec169a32da1d5f9414298d5e49b98fe0237bc35b270a2320e5e8b902b7118cf3b36c495de8475d4f948159bb1626a3004

diff --git a/gui-apps/swappy/swappy-1.4.0.ebuild 
b/gui-apps/swappy/swappy-1.4.0.ebuild
new file mode 100644
index 000000000000..7467b4743b6b
--- /dev/null
+++ b/gui-apps/swappy/swappy-1.4.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg optfeature
+
+DESCRIPTION="A Wayland native snapshot and editor tool, inspired by Snappy on 
macOS"
+HOMEPAGE="https://github.com/jtheoof/swappy";
+
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/jtheoof/swappy";
+else
+       SRC_URI="https://github.com/jtheoof/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+DEPEND="
+       dev-libs/glib:2
+       x11-libs/cairo
+       x11-libs/gtk+:3
+       x11-libs/pango
+"
+RDEPEND="${DEPEND}
+       media-fonts/fontawesome[otf]
+"
+BDEPEND="
+       app-text/scdoc
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local emesonargs=(
+               -Dman-pages=enabled
+       )
+       meson_src_configure
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+
+       optfeature "persisting clipboard after closing" gui-apps/wl-clipboard
+}

Reply via email to