summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBrian Bidulock2020-02-11 09:07:35 -0700
committerBrian Bidulock2020-02-11 09:07:35 -0700
commitf07a8615db2fe85c61197043571aa36ef603f39f (patch)
tree975b505bb4c483cdd5c86c3df53cf4ac625ba0f2 /PKGBUILD
parent5f0e8e231d1bc021d686e170947f8340b7f1c377 (diff)
downloadaur-f07a8615db2fe85c61197043571aa36ef603f39f.tar.gz
uppkg
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6f79a59443c..72e5c527d9a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=xde-ctools-git
-pkgver=1.11.r1.g9338899
+pkgver=1.12.r2.gb051028
pkgrel=1
pkgdesc="X Desktop Environment C-language tools"
groups=('xde-git')
@@ -28,8 +28,11 @@ prepare() {
build() {
cd $pkgname
- ./configure
- make
+ # gtk2 is using deprecated glib2 declarations
+ ./configure CFLAGS="-Wno-deprecated-declarations $CFLAGS"
+ # Fight unused direct deps
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+ make CFLAGS="-Wno-deprecated-declarations $CFLAGS"
}
package() {