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

Signed-off-by: Vincent Phan <chinh4thepro@gmail.com>
This commit is contained in:
Vincent Phan
2024-06-07 20:06:14 -04:00
parent b0dccb95b0
commit 96dfd2cbe5
3 changed files with 83 additions and 0 deletions

View File

@@ -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

View File

@@ -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/"
}

View File

@@ -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>chinh4thepro@gmail.com</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>