Clarify licensing information, note GPL dependencies and built objects

This commit is contained in:
Gergő Sályi 2025-04-22 14:55:28 +02:00
parent 5fd6cbe114
commit 7be93dacac
4 changed files with 12 additions and 3 deletions

View file

@ -1,4 +1,4 @@
Copyright 2023 Gergő Sályi
Copyright 2023 Gergő Sályi and multibg-sway contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal

View file

@ -5,7 +5,8 @@ pkgrel=1
pkgdesc='Set a different wallpaper for the background of each Sway workspace'
arch=('x86_64' 'i686' 'pentium4' 'armv7h' 'aarch64')
url="https://github.com/gergo-salyi/multibg-sway"
license=('MIT' 'Apache')
# Direct source files are MIT OR Apache-2.0 but have GPL-3.0-or-later dependencies
license=('GPL-3.0-or-later')
depends=('dav1d>=1.3.0' 'gcc-libs' 'glibc')
makedepends=('cargo')
optdepends=(
@ -35,5 +36,4 @@ package() {
cd "$pkgname-$pkgver"
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"
install -Dm644 "LICENSE-MIT" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE-MIT"
}

View file

@ -100,3 +100,9 @@ Please include a verbose log from you terminal by running with `RUST_BACKTRACE=1
- [hyprpaper](https://github.com/hyprwm/hyprpaper)
- [mpvpaper](https://github.com/GhostNaN/mpvpaper)
- [oguri](https://github.com/vilhalmer/oguri)
## License
Source files in this project are distributed under MIT OR Apache-2.0
Objects resulting from building this project might be under GPL-3.0-or-later due to licenses of statically linked dependencies. Open an issue if you need compile time features gating such dependencies.

View file

@ -0,0 +1,3 @@
#!/bin/bash
set -euo pipefail
cargo tree --prefix none --format '{p} {l}' | grep --invert-match -e 'MIT'