From 600273482b72bf7f94d8052f034b8ca9d523c019 Mon Sep 17 00:00:00 2001 From: LegoLivesMatter Date: Wed, 10 Mar 2021 15:41:36 +0100 Subject: [PATCH] New package: greenwithenvy-0.15.2 --- srcpkgs/greenwithenvy/INSTALL | 7 +++++++ srcpkgs/greenwithenvy/template | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 srcpkgs/greenwithenvy/INSTALL create mode 100644 srcpkgs/greenwithenvy/template diff --git a/srcpkgs/greenwithenvy/INSTALL b/srcpkgs/greenwithenvy/INSTALL new file mode 100644 index 00000000000..481a9f488f5 --- /dev/null +++ b/srcpkgs/greenwithenvy/INSTALL @@ -0,0 +1,7 @@ +case "$ACTION" in +pre) + ;; +post) + pip install injector matplotlib peewee py3nvml PyGObject python-xlib pyxdg requests Rx + ;; +esac diff --git a/srcpkgs/greenwithenvy/template b/srcpkgs/greenwithenvy/template new file mode 100644 index 00000000000..58046ebebfa --- /dev/null +++ b/srcpkgs/greenwithenvy/template @@ -0,0 +1,19 @@ +# Template file for 'greenwithenvy' +pkgname=greenwithenvy +version=0.15.2 +revision=1 +wrksrc="gwe-${version}" +build_style=meson +hostmakedepends="pkg-config meson ninja python3-pip glib-devel gtk+3-devel python3 python3-devel" +makedepends="gobject-introspection appstream-glib" +depends="python3 python3-pip gobject-introspection libappindicator libdazzle" +short_desc="Utility for overclocking NVIDIA cards" +maintainer="Duje Mihanovic " +license="GPL-3.0-or-later" +homepage="https://www.gitlab.com/leinardi/gwe" +distfiles="https://gitlab.com/leinardi/gwe/-/archive/${version}/gwe-${version}.tar.gz" +checksum=a827eeb8f18fd08213fb22e0e1ef6437ea749eb4b34fcea9d0ae5282912753a0 + +pre_configure() { + pip install -r "${wrksrc}/requirements.txt" +}