summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2020-02-11 09:07:35 -0700
committerBrian Bidulock2020-02-11 09:07:35 -0700
commitf07a8615db2fe85c61197043571aa36ef603f39f (patch)
tree975b505bb4c483cdd5c86c3df53cf4ac625ba0f2
parent5f0e8e231d1bc021d686e170947f8340b7f1c377 (diff)
downloadaur-f07a8615db2fe85c61197043571aa36ef603f39f.tar.gz
uppkg
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 37c0bdae134d..fac48026135d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = xde-ctools-git
pkgdesc = X Desktop Environment C-language tools
- pkgver = 1.11.r1.g9338899
+ pkgver = 1.12.r2.gb051028
pkgrel = 1
url = https://github.com/bbidulock/xde-ctools
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 6f79a59443cb..72e5c527d9ac 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() {