Github messages for voidlinux
 help / color / mirror / Atom feed
From: nuckle <nuckle@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: nekoray 3.26
Date: Mon, 19 Feb 2024 15:29:26 +0100	[thread overview]
Message-ID: <20240219142926.DF4242227F@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48831@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2224 bytes --]

New comment by nuckle on void-packages repository

https://github.com/void-linux/void-packages/pull/48831#issuecomment-1952566525

Comment:
> ```shell
> # Template file for 'nekoray'
> pkgname=nekoray
> version=3.26
> revision=1
> build_style=cmake
> archs="aarch64* x86_64*"
> configure_args="-DNKR_PACKAGE=ON -DQT_VERSION_MAJOR=6"
> hostmakedepends="git go protobuf qt6-base qt6-tools"
> makedepends="protobuf-devel qt6-svg-devel yaml-cpp-devel zxing-cpp-devel"
> short_desc="GUI proxy configuration manager (backend: v2ray / sing-box)"
> maintainer="chrysos349 <chrysostom349@gmail.com>"
> license="GPL-3.0-or-later"
> homepage="https://matsuridayo.github.io"
> changelog="https://github.com/MatsuriDayo/nekoray/releases"
> _qho_commit=52e25acf221e5ac86ce648f6922620fb2d6a7121
> _qjs_commit=3fb0770c9ee5ab031a56072520641d4577b694e3
> distfiles="https://github.com/MatsuriDayo/nekoray/archive/${version}.tar.gz
>  https://github.com/Skycoder42/QHotkey/archive/${_qho_commit}.tar.gz
>  https://github.com/MatsuriDayo/qjs/archive/${_qjs_commit}.tar.gz"
> checksum="21977bc7f8e732b5e171a0f4e099050228815a3ca49582056060bff5023e5a20
>  e1d69ed7b718770be9b58de674ba59362a3227437071cf575f0481d921c414b5
>  1cc5262c624d42644c2c0cce0fae9ea6fd258d37f2ac6a5096ab55f814ea2faa"
> 
> . $XBPS_COMMONDIR/environment/build-style/go.sh
> export GOOS=linux
> 
> post_extract() {
> 	mv nekoray-*/* .
> 	mv QHotkey-*/* 3rdparty/QHotkey
> 	mv qjs-*/* 3rdparty/qjs
> }
> 
> post_build() {
> 	./libs/get_source.sh
> 	./libs/build_go.sh
> }
> 
> do_install() {
> 	vinstall build/nekoray 755 usr/lib/nekoray
> 	vcopy deployment/linux*/neko* usr/lib/nekoray
> 
> 	vmkdir usr/share/pixmaps
> 	vcopy res/public/neko* usr/share/pixmaps
> 
> 	vinstall ${FILESDIR}/nekoray.desktop 644 usr/share/applications
> 
> 	vmkdir usr/bin
> 	ln -s /usr/lib/nekoray/nekoray ${DESTDIR}/usr/bin
> }
> ```

Looks great and compiles without errors. The only remain part is `.db` files. As for 32 bits patch, I don't know if it'll work or not, since the maintainer clearly doesn't support it (at least oficially), but maybe someone who uses i386 could try this patch

https://github.com/MatsuriDayo/nekoray/issues/8

  parent reply	other threads:[~2024-02-19 14:29 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-19 10:26 [PR PATCH] Nekoray nuckle
2024-02-19 12:41 ` New package: nekoray 3.26 slymattz
2024-02-19 13:31 ` nuckle
2024-02-19 13:33 ` nuckle
2024-02-19 13:38 ` nuckle
2024-02-19 13:46 ` slymattz
2024-02-19 13:48 ` slymattz
2024-02-19 13:49 ` chrysos349
2024-02-19 13:58 ` chrysos349
2024-02-19 14:29 ` nuckle [this message]
2024-02-19 19:54 ` [PR PATCH] [Updated] " nuckle
2024-02-19 19:55 ` nuckle
2024-02-19 21:34 ` nuckle
2024-02-19 22:30 ` nuckle
2024-02-20  7:08 ` nuckle
2024-02-20  7:25 ` [PR REVIEW] " chrysos349
2024-02-20  7:34 ` [PR PATCH] [Updated] " nuckle
2024-02-20  8:11 ` nuckle
2024-02-20  8:15 ` nuckle
2024-02-20  8:20 ` nuckle
2024-02-28 20:01 ` nuckle
2024-02-28 20:04 ` nuckle
2024-02-28 20:11 ` nuckle

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=20240219142926.DF4242227F@inbox.vuxu.org \
    --to=nuckle@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).