diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Maintainer: Brian Bidulock <bidulock@openss7.org> pkgname=xde-applets-git -pkgver=0.7.r1.g03c0d01 +pkgver=0.8.r2.g8652c89 pkgrel=1 pkgdesc="X Desktop Environment System Tray Icons and Dock Apps" groups=('xde-git') @@ -29,8 +29,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() { |