Massimiliano Torromeo pushed to branch main at Arch Linux / Packaging /
Packages / libimagequant
Commits:
9cbeb731 by DeepChirp at 2026-06-15T12:34:19+08:00
Add prepare function
- - - - -
d58e798d by DeepChirp at 2026-06-15T12:34:47+08:00
Remove release profile from check function
- - - - -
b410f1a6 by DeepChirp at 2026-06-15T12:35:18+08:00
Enable LTO for release profile
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -12,14 +12,21 @@ makedepends=('cargo' 'cargo-c')
source=("https://github.com/ImageOptim/libimagequant/archive/$pkgver/libimagequant-$pkgver.tar.gz")
sha256sums=('2464a3e922b5a220b633d674062b82f0670114f8f3dd30d1935a621c95965f1b')
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver/imagequant-sys"
+ cargo fetch --target host-tuple
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver/imagequant-sys"
+ export CARGO_PROFILE_RELEASE_LTO=true
+ export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
cargo cbuild --release --prefix=/usr
}
check() {
cd "$srcdir/$pkgname-$pkgver/imagequant-sys"
- cargo ctest --release
+ cargo ctest
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libimagequant/-/compare/0499d67c0f6a52a975df8e08d60a1390f7451026...b410f1a6bc5af64c86e899691e2de34052a5ac99
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libimagequant/-/compare/0499d67c0f6a52a975df8e08d60a1390f7451026...b410f1a6bc5af64c86e899691e2de34052a5ac99
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help