[gimp/meson: 572/805] PKGBUILD: Release build. Remove build dir before anything.
- From: Félix Piédallu <fpiedallu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/meson: 572/805] PKGBUILD: Release build. Remove build dir before anything.
- Date: Fri, 2 Feb 2018 15:21:16 +0000 (UTC)
commit 92958c37bea575d27b5e1475e5f39e611415cfd4
Author: Félix Piédallu <felix piedallu me>
Date: Tue Jan 9 12:16:37 2018 +0100
PKGBUILD: Release build. Remove build dir before anything.
build/archlinux/PKGBUILD | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/build/archlinux/PKGBUILD b/build/archlinux/PKGBUILD
index 01d7f75..7524e21 100644
--- a/build/archlinux/PKGBUILD
+++ b/build/archlinux/PKGBUILD
@@ -82,6 +82,11 @@ build() {
mesonOptions=(
'--prefix=/usr'
'--sysconfdir=/etc'
+
+ '--buildtype=release'
+ '--strip'
+ '-Db_lto=true'
+
'-Denable-mp=true'
'-Denable-console-bin=true'
# '-Dwith-gimp-remote=true'
@@ -97,6 +102,7 @@ build() {
'-Dwith-xvfb-run=false'
)
+ rm -rf "${builddir}"
meson "${builddir}" "${srcdir}/${_gitname}" "${mesonOptions[@]}"
ninja -C "${builddir}"
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]