commit:     96dfd2cbe510fcbedb3fd78a06c09c5e6ec5a98f
Author:     Vincent Phan <chinh4thepro <AT> gmail <DOT> com>
AuthorDate: Sat Jun  8 00:06:14 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Jun  8 00:06:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96dfd2cb

gui-apps/aylurs-gtk-shell: new package, add 1.8.2

Signed-off-by: Vincent Phan <chinh4thepro <AT> gmail.com>

 gui-apps/aylurs-gtk-shell/Manifest                 |  2 +
 .../aylurs-gtk-shell/aylurs-gtk-shell-1.8.2.ebuild | 67 ++++++++++++++++++++++
 gui-apps/aylurs-gtk-shell/metadata.xml             | 14 +++++
 3 files changed, 83 insertions(+)

diff --git a/gui-apps/aylurs-gtk-shell/Manifest 
b/gui-apps/aylurs-gtk-shell/Manifest
new file mode 100644
index 000000000..5c9b96def
--- /dev/null
+++ b/gui-apps/aylurs-gtk-shell/Manifest
@@ -0,0 +1,2 @@
+DIST aylurs-gtk-shell-1.8.2.tar.gz 435232 BLAKE2B 
9b7c7cbe652df76282d9dc11dd49d09ab1fb962e45fec3f3a849b161abd3e8f287f14a72cb7ac85df7f65fea748e4b1546568684eb830ce0382f2f4977d57564
 SHA512 
4ed3f4b4da9c8bbd045ab3cd455b24768bc8807fa9a215a5b788b6319edd72c76cb9fe6d3e3cf82068e43bf3463d5025cfb86eba78b93bc481d95e2e4ed4552d
+DIST node-modules.tar.gz 18888810 BLAKE2B 
bf118c47e08c5075502c01cbdcb68189c4964ec32413a298fa9abaaf5634ccf3cc94251de5dc38c1913c66ba3346cd60f4d0a1179dfec571b6ceb269f0a6acc2
 SHA512 
814acad890be748d04f7e28ea6c7a8321edac907c2729c7f4966a8bb24bccad69684d570bc4b9f6148361f8ce5d1ef8306677ef781598467c6a06b765ac974ca

diff --git a/gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2.ebuild 
b/gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2.ebuild
new file mode 100644
index 000000000..503e0c7b7
--- /dev/null
+++ b/gui-apps/aylurs-gtk-shell/aylurs-gtk-shell-1.8.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="v${PV}"
+MY_PN="ags"
+
+inherit meson
+
+SRC_URI="
+       
https://github.com/Aylur/${MY_PN}/releases/download/${MY_PV}/${MY_PN}-${MY_PV}.tar.gz
 -> ${P}.tar.gz
+       
https://github.com/Aylur/${MY_PN}/releases/download/${MY_PV}/node_modules-${MY_PV}.tar.gz
 -> node-modules.tar.gz
+"
+KEYWORDS="~amd64"
+S="${WORKDIR}/${MY_PN}"
+
+DESCRIPTION="Aylurs's Gtk Shell (AGS), An eww inspired gtk widget system."
+HOMEPAGE="https://github.com/Alyur/ags";
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="upower bluetooth networkmanager tray"
+
+DEPEND="
+       ${RDEPEND}
+"
+BDEPEND="
+       dev-build/meson
+       dev-lang/typescript
+       net-libs/nodejs[npm]
+"
+RDEPEND="
+       dev-libs/gjs
+       x11-libs/gtk+
+       gui-libs/gtk-layer-shell[introspection]
+       dev-libs/gobject-introspection
+       upower? ( sys-power/upower )
+       bluetooth? ( net-wireless/gnome-bluetooth )
+       networkmanager? ( net-misc/networkmanager )
+       tray? ( dev-libs/libdbusmenu[gtk3] )
+"
+
+BUILD_DIR="${S}/build"
+
+src_prepare() {
+       default
+       mv "${WORKDIR}/node_modules" "${S}"
+}
+
+src_configure() {
+       default
+       local emesonargs=(
+               -Dbuild_types="true"
+       )
+       meson_src_configure || die
+}
+
+src_install() {
+       default
+       meson_src_install --destdir "${D}"
+}
+
+pkg_postinst() {
+       elog "ags wont run without a config file (usually in ~/.config/ags)."
+       elog "For example configs visit https://aylur.github.io/ags-docs/";
+}

diff --git a/gui-apps/aylurs-gtk-shell/metadata.xml 
b/gui-apps/aylurs-gtk-shell/metadata.xml
new file mode 100644
index 000000000..2c3699583
--- /dev/null
+++ b/gui-apps/aylurs-gtk-shell/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Vincent Phan</name>
+       </maintainer>
+       <use>
+               <flag name="tray">Enable support for tray</flag>
+       </use>
+       <upstream>
+               <remote-id type="github">Aylur/ags</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to