summaryrefslogtreecommitdiff
path: root/gui-apps
diff options
context:
space:
mode:
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/Manifest.gzbin4048 -> 4212 bytes
-rw-r--r--gui-apps/wofi/Manifest5
-rw-r--r--gui-apps/wofi/files/wofi-1.3-no-hg-identify.patch31
-rw-r--r--gui-apps/wofi/metadata.xml13
-rw-r--r--gui-apps/wofi/wofi-1.3.ebuild28
-rw-r--r--gui-apps/wofi/wofi-9999.ebuild28
6 files changed, 105 insertions, 0 deletions
diff --git a/gui-apps/Manifest.gz b/gui-apps/Manifest.gz
index e4173d0198a6..420f47216be7 100644
--- a/gui-apps/Manifest.gz
+++ b/gui-apps/Manifest.gz
Binary files differ
diff --git a/gui-apps/wofi/Manifest b/gui-apps/wofi/Manifest
new file mode 100644
index 000000000000..30289106cbfd
--- /dev/null
+++ b/gui-apps/wofi/Manifest
@@ -0,0 +1,5 @@
+AUX wofi-1.3-no-hg-identify.patch 942 BLAKE2B bffe4ed296f69ab2470bfb14fe2dd3a8a5743b1596ed064b25bd13c43fcc1495ba8b9787f75669adb052531437fe5c171558548ccd221a1014038e0c5debbe8b SHA512 2b909520b83e8cad258ee42c2adc04a1e99d7bfab4ba36d3068eeb46d4d49e4cdc8dbe6080720f354fab44017890b88141cbd2bc45ea474043ced84d751f73f4
+DIST wofi-1.3.tar.gz 77317 BLAKE2B 0282921c0605ee251701a33d9137f027c87ecd33f9c97b054ac9f0deeffbbcd73232e5a96e9be012eeeb298d84e257ca4752038315f92afc653573dd075179c0 SHA512 90a1674bcf5365aa47d6a8b987e7507539da5652f045b18446c073913399a6e46ffd50a6a83212d521c349840912ec9edab0c69dd565e2a49b98da2a72aebcd3
+EBUILD wofi-1.3.ebuild 686 BLAKE2B 834152a02af75aabd5f92194dd3becb3c216fed5994dc10217a0cdf59e46a48c84be6b471ea35179901bf488b88705baf10ae4f17698e92ccf0104f60ba3703e SHA512 665da18007c214e8e7715a5b837a0050df4fa4a0fd29d6c8c48c750815d0a43cdce74f8ab83e728d97e4392443ae013cc3f24b82a5c1e69d6198c22e8ebb9a5d
+EBUILD wofi-9999.ebuild 686 BLAKE2B 834152a02af75aabd5f92194dd3becb3c216fed5994dc10217a0cdf59e46a48c84be6b471ea35179901bf488b88705baf10ae4f17698e92ccf0104f60ba3703e SHA512 665da18007c214e8e7715a5b837a0050df4fa4a0fd29d6c8c48c750815d0a43cdce74f8ab83e728d97e4392443ae013cc3f24b82a5c1e69d6198c22e8ebb9a5d
+MISC metadata.xml 474 BLAKE2B bd0988e4b502e297e6e9993f6d69a884e55446f3655ac5ea0a040f36cd2e8d6a26335ea3f21f6ed25080c9ed420c2802ea145b0cfb193365575ddd5b38ec2f5e SHA512 3dbca7acb55c52a3bce718787a7947fecd914ddd91f6ce124aa106a1c161ccdb159c0bf47f5af80e288e6558a6aa5c7b9332493fa57bdba0161ad3d2a5f2d9a9
diff --git a/gui-apps/wofi/files/wofi-1.3-no-hg-identify.patch b/gui-apps/wofi/files/wofi-1.3-no-hg-identify.patch
new file mode 100644
index 000000000000..33a4ff63e30b
--- /dev/null
+++ b/gui-apps/wofi/files/wofi-1.3-no-hg-identify.patch
@@ -0,0 +1,31 @@
+commit 455ffaa393267beef7886fa6c32932b65497581f
+Author: John Helmert III <ajak@gentoo.org>
+Date: Tue Dec 13 20:28:27 2022 -0600
+
+ drop hg usage during configure
+
+ Builds aren't run from a mercurial repository, we're always building
+ from a release tarball, and we don't want a dependency on mercurial
+ anyway.
+
+ Signed-off-by: John Helmert III <ajak@gentoo.org>
+
+diff --git a/meson.build b/meson.build
+index e141508..3116a8b 100644
+--- a/meson.build
++++ b/meson.build
+@@ -9,14 +9,8 @@ wayland = dependency('wayland-client')
+ threads = dependency('threads')
+ dl = cc.find_library('dl')
+
+-hg = find_program('hg', native : true, required : false)
+-
+ version = meson.project_version()
+
+-if hg.found()
+- version = run_command(hg, 'identify', check : true).stdout().strip()
+-endif
+-
+ add_project_arguments('-D_GNU_SOURCE', '-DVERSION="' + version + '"', language : 'c')
+ add_project_link_arguments('-rdynamic', language : 'c')
+
diff --git a/gui-apps/wofi/metadata.xml b/gui-apps/wofi/metadata.xml
new file mode 100644
index 000000000000..b5b4be3cdf8b
--- /dev/null
+++ b/gui-apps/wofi/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>John Helmert III</name>
+ <email>ajak@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourcehut">~scoopta/wofi</remote-id>
+ <bugs-to>https://todo.sr.ht/~scoopta/wofi</bugs-to>
+ <doc>https://cloudninja.pw/docs/wofi.html</doc>
+ </upstream>
+</pkgmetadata>
diff --git a/gui-apps/wofi/wofi-1.3.ebuild b/gui-apps/wofi/wofi-1.3.ebuild
new file mode 100644
index 000000000000..70187e690c67
--- /dev/null
+++ b/gui-apps/wofi/wofi-1.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+if [[ "${PV}" == 9999 ]]; then
+ inherit mercurial
+ EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}"
+else
+ SRC_URI="https://hg.sr.ht/~scoopta/wofi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-v${PV}"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway"
+HOMEPAGE="https://hg.sr.ht/~scoopta/wofi"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="dev-libs/wayland
+ x11-libs/gtk+:3[wayland(-)]"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}/${PN}-1.3-no-hg-identify.patch" )
diff --git a/gui-apps/wofi/wofi-9999.ebuild b/gui-apps/wofi/wofi-9999.ebuild
new file mode 100644
index 000000000000..70187e690c67
--- /dev/null
+++ b/gui-apps/wofi/wofi-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+if [[ "${PV}" == 9999 ]]; then
+ inherit mercurial
+ EHG_REPO_URI="https://hg.sr.ht/~scoopta/${PN}"
+else
+ SRC_URI="https://hg.sr.ht/~scoopta/wofi/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-v${PV}"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Wofi is a launcher/menu program for wlroots based wayland compositors like sway"
+HOMEPAGE="https://hg.sr.ht/~scoopta/wofi"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND="dev-libs/wayland
+ x11-libs/gtk+:3[wayland(-)]"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}/${PN}-1.3-no-hg-identify.patch" )