~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
5 2

[PATCH] testing/swayhide: new aport

Edd Salkield <edd@salkield.uk>
Details
Message ID
<20220410163241.4176-1-edd@salkield.uk>
DKIM signature
missing
Download raw message
Patch: +34 -0
---
 testing/swayhide/APKBUILD | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 testing/swayhide/APKBUILD

diff --git a/testing/swayhide/APKBUILD b/testing/swayhide/APKBUILD
new file mode 100644
index 0000000000..88d676d873
--- /dev/null
+++ b/testing/swayhide/APKBUILD
@@ -0,0 +1,34 @@
# Contributor: Edd Salkield <edd@salkield.uk>
# Maintainer: Edd Salkield <edd@salkield.uk>
pkgname=swayhide
pkgver=0.2.0
pkgrel=0
pkgdesc="A window swallower for swaywm"
url="https://github.com/NomisIV/swayhide/"
arch="all"
license="GPL-3.0-only"
depends="sway"
makedepends="cargo"
source="$pkgname-$pkgver.tar.gz::https://github.com/NomisIV/swayhide/archive/refs/tags/v$pkgver.tar.gz"

prepare() {
	default_prepare
	cargo fetch --locked
}

build() {
	cargo build --release --frozen
}

check() {
	cargo test --frozen
}

package() {
	cargo install --locked --offline --path . --root="$pkgdir/usr"
	rm "$pkgdir"/usr/.crates*
}

sha512sums="
6562a762282724ece5e764d361a4e5ddbfcc15f4ac2726db98d7ed57686e70911cafca3c2eab0cb7069922adf9689d53d2caae5a110e3f5ac7308b49271e01d1  swayhide-0.2.0.tar.gz
"
-- 
2.35.1
Details
Message ID
<164960848482.985.7802572726902980541.gitlab.33078.9c2707618706b8b75b02846b81628c20bd61b018@listserv.local>
In-Reply-To
<20220410163241.4176-1-edd@salkield.uk> (view parent)
DKIM signature
missing
Download raw message
On Sun, 10 Apr 2022 17:32:42 +0100, Edd Salkield wrote:
> +arch="all"
> +license="GPL-3.0-only"
> +depends="sway"

it doesn't really have to depend on this, does it?

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33078#note_228519
Details
Message ID
<164960854065.985.18030500167326160858.gitlab.33078.3342ce6707414823e8395202f8aeda131270f39b@listserv.local>
In-Reply-To
<20220410163241.4176-1-edd@salkield.uk> (view parent)
DKIM signature
missing
Download raw message
On Sun, 10 Apr 2022 17:32:42 +0100, Edd Salkield wrote:
> +pkgdesc="A window swallower for swaywm"
> +url="https://github.com/NomisIV/swayhide/"
> +arch="all"

```suggestion:-0+0
arch="all !s390x !riscv64"
```

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33078#note_228520
Details
Message ID
<164960869232.985.13422374598224580587.gitlab.33078.9c2707618706b8b75b02846b81628c20bd61b018@listserv.local>
In-Reply-To
<164960848482.985.7802572726902980541.gitlab.33078.9c2707618706b8b75b02846b81628c20bd61b018@listserv.local> (view parent)
DKIM signature
missing
Download raw message
On Sun, 10 Apr 2022 17:32:42 +0100, Edd Salkield wrote:
> +arch="all"
> +license="GPL-3.0-only"
> +depends="sway"

It doesn't really make sense to install this without sway, as it's completely useless without a sway compositor to communicate with.

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33078#note_228523
Details
Message ID
<164960879216.985.11477825789256137694.gitlab.33078.9c2707618706b8b75b02846b81628c20bd61b018@listserv.local>
In-Reply-To
<164960869232.985.13422374598224580587.gitlab.33078.9c2707618706b8b75b02846b81628c20bd61b018@listserv.local> (view parent)
DKIM signature
missing
Download raw message
On Sun, 10 Apr 2022 17:32:42 +0100, Edd Salkield wrote:
> +arch="all"
> +license="GPL-3.0-only"
> +depends="sway"

it does, if someone has their own sway or whatnot. usually there is no point to pull in parent deps like this- it's quite obvious you need to have some sway installed to use it

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33078#note_228524
Details
Message ID
<164960881971.985.8245093059889412048.gitlab.33078.9c2707618706b8b75b02846b81628c20bd61b018@listserv.local>
In-Reply-To
<164960879216.985.11477825789256137694.gitlab.33078.9c2707618706b8b75b02846b81628c20bd61b018@listserv.local> (view parent)
DKIM signature
missing
Download raw message
On Sun, 10 Apr 2022 17:32:42 +0100, Edd Salkield wrote:
> +arch="all"
> +license="GPL-3.0-only"
> +depends="sway"

Okay, makes sense. I'll send a new patch.

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/33078#note_228525
Reply to thread Export thread (mbox)