From: JezerM <JezerM@users.noreply.github.com> To: ml@inbox.vuxu.org Subject: Re: [PR PATCH] [Updated] New package: nody-greeter-1.3.2 Date: Fri, 18 Feb 2022 04:13:14 +0100 [thread overview] Message-ID: <20220218031314.mAtZvdjCPa4QsQfXaLZhE1pc72wtJHfv5aHi6o9QXrg@z> (raw) In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34948@inbox.vuxu.org> [-- Attachment #1: Type: text/plain, Size: 1055 bytes --] There is an updated pull request by JezerM against master on the void-packages repository https://github.com/JezerM/void-packages master https://github.com/void-linux/void-packages/pull/34948 New package: nody-greeter-1.3.2 <!-- Uncomment relevant sections and delete options which are not applicable --> #### Testing the changes - I tested the changes in this PR: **YES** #### New package - This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES** <!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration) and test at least one native build and, if supported, at least one cross build. Ignore this section if this PR is not skipping CI. --> #### Local build testing - I built this PR locally for my native architecture, (x86_64) A patch file from https://github.com/void-linux/void-packages/pull/34948.patch is attached [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: github-pr-master-34948.patch --] [-- Type: text/x-diff, Size: 2134 bytes --] From f47028062b35e5744296d7f3db1ad1c69ef4c099 Mon Sep 17 00:00:00 2001 From: JezerM <amyuki4@icloud.com> Date: Sat, 8 Jan 2022 11:56:04 -0600 Subject: [PATCH] New package: nody-greeter-1.3.2 --- srcpkgs/nody-greeter/template | 57 +++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 srcpkgs/nody-greeter/template diff --git a/srcpkgs/nody-greeter/template b/srcpkgs/nody-greeter/template new file mode 100644 index 000000000000..5f98e68c133f --- /dev/null +++ b/srcpkgs/nody-greeter/template @@ -0,0 +1,57 @@ +# Template file for 'nody-greeter' +pkgname=nody-greeter +version=1.3.2 +revision=1 +conf_files="/etc/lightdm/web-greeter.yml /etc/lightdm/Xgreeter /etc/xdg/lightdm/lightdm.conf.d/90-greeter-wrapper.conf" +hostmakedepends="base-devel nodejs python3" +makedepends="base-devel libxcb-devel libX11-devel liblightdm-gobject gobject-introspection cairo" +depends="lightdm liblightdm-gobject libgirepository" +short_desc="LightDM greeter made with node.js" +maintainer="JezerM <amyuki4@gmail.com>" +license="GPL-3.0-or-later" +homepage="https://github.com/JezerM/nody-greeter" +distfiles="https://github.com/JezerM/nody-greeter/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" +checksum="8a3167b85039c26d2705263094b331ed9deb37aa936a1582f1a66324ea0e3a74" +mutable_files="/usr/share/web-greeter/*" + +get_target_arch() { + case ${XBPS_TARGET_MACHINE} in + x86_64*) + echo "x64" + ;; + i686*) + echo "ia32" + ;; + aarch64*) + echo "arm64" + ;; + armv*) + echo "arm" + ;; + *) + echo ${XBPS_TARGET_MACHINE} + esac +} + +_target_arch=$(get_target_arch) +export npm_config_arch=${_target_arch} + +pre_build() { + echo "Trying to install npm packages as ${npm_config_arch}" + npm clean-install +} + +do_build() { + echo "Trying to build ${XBPS_TARGET_MACHINE} as ${_target_arch}" + npx tsc --build + node make build --DEST_DIR="${DESTDIR}" --ARCH="${_target_arch}" +} + +do_install() { + node make install --DEST_DIR="${DESTDIR}" +} + +post_install() { + rm -f ${DESTDIR}/usr/bin/nody-greeter + ln -s /opt/nody-greeter/nody-greeter ${DESTDIR}/usr/bin/nody-greeter +}
next prev parent reply other threads:[~2022-02-18 3:13 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-01-08 18:12 [PR PATCH] New package: nody-greeter-1.3.1 JezerM 2022-01-08 23:43 ` [PR PATCH] [Updated] " JezerM 2022-01-09 19:23 ` JezerM 2022-01-09 19:26 ` JezerM 2022-01-10 18:50 ` [PR REVIEW] " Chocimier 2022-01-10 18:51 ` Chocimier 2022-01-10 18:51 ` Chocimier 2022-01-10 18:51 ` Chocimier 2022-01-10 18:51 ` Chocimier 2022-01-10 18:51 ` Chocimier 2022-01-13 2:42 ` JezerM 2022-01-13 18:50 ` [PR PATCH] [Updated] " JezerM 2022-01-13 18:51 ` JezerM 2022-01-13 19:21 ` New package: nody-greeter-1.3.2 JezerM 2022-02-18 3:13 ` JezerM [this message] 2022-06-21 2:13 ` github-actions 2022-07-03 21:39 ` [PR PATCH] [Updated] " JezerM 2022-07-03 21:41 ` JezerM
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220218031314.mAtZvdjCPa4QsQfXaLZhE1pc72wtJHfv5aHi6o9QXrg@z \ --to=jezerm@users.noreply.github.com \ --cc=ml@inbox.vuxu.org \ --subject='Re: [PR PATCH] [Updated] New package: nody-greeter-1.3.2' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).