From fffe0348740076b77a9f0f852c3c98aedaed2de6 Mon Sep 17 00:00:00 2001 From: Ørjan Malde Date: May 23 2020 20:57:41 +0000 Subject: groups/241.native_packages_inet.group: update weechat to v2.8 Signed-off-by: Lucio Andrés Illanes Albornoz --- diff --git a/groups/241.native_packages_inet.group b/groups/241.native_packages_inet.group index 52813cc..24bcb19 100644 --- a/groups/241.native_packages_inet.group +++ b/groups/241.native_packages_inet.group @@ -204,8 +204,8 @@ pacman proxytunnel rsync socat thttpd w3m weechat wget whois")"; : ${PKG_W3M_MAKEFLAGS_BUILD:=-j1}; : ${PKG_W3M_SUBDIR:=w3m-0.5.3-git20190105}; : ${PKG_WEECHAT_DEPENDS:="curl gnutls libgcrypt libz ncursesw"}; -: ${PKG_WEECHAT_SHA256SUM:=5038a47c6e87e56fcd937acc159d89f76845a4128923c100700abaa7c5db7aed}; -: ${PKG_WEECHAT_VERSION:=2.7}; +: ${PKG_WEECHAT_SHA256SUM:=69da6874e2d583b4a4666b166f520ee45b6ac84544a4a9434030f82989893c88}; +: ${PKG_WEECHAT_VERSION:=2.8}; : ${PKG_WEECHAT_URL:=https://weechat.org/files/src/weechat-${PKG_WEECHAT_VERSION}.tar.gz}; : ${PKG_WEECHAT_CONFIGURE_ARGS_EXTRA:="--disable-aspell --disable-guile --disable-javascript --disable-lua --disable-perl --disable-python --disable-ruby --disable-tcl"}; : ${PKG_WEECHAT_ENV_VARS_EXTRA:="CURL_CONFIG=${PREFIX_NATIVE}/bin/curl-config:LIBGCRYPT_CONFIG=${PREFIX_NATIVE}/bin/libgcrypt-config:PKGCONFIG=${DEFAULT_TARGET}-pkg-config"}; diff --git a/patches/weechat-2.7.local.patch b/patches/weechat-2.7.local.patch deleted file mode 100644 index 279185c..0000000 --- a/patches/weechat-2.7.local.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- weechat-2.7/configure.orig 2020-02-09 23:15:37.432482865 +0000 -+++ weechat-2.7/configure 2020-02-09 23:17:57.591493077 +0000 -@@ -22793,8 +22793,7 @@ - # pkg-config - # ------------------------------------------------------------------------------ - --PKGCONFIG="" --for ac_prog in pkg-config -+for ac_prog in $PKG_CONFIG - do - # Extract the first word of "$ac_prog", so it can be a program name with args. - set dummy $ac_prog; ac_word=$2 -@@ -24756,8 +24755,8 @@ - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } -- GCRYPT_CFLAGS=`libgcrypt-config --cflags` -- GCRYPT_LFLAGS=`libgcrypt-config --libs` -+ GCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags` -+ GCRYPT_LFLAGS=`$LIBGCRYPT_CONFIG --libs` - - - fi -@@ -24834,8 +24833,8 @@ - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } -- GNUTLS_CFLAGS=`pkg-config gnutls --cflags` -- GNUTLS_LFLAGS=`pkg-config gnutls --libs` -+ GNUTLS_CFLAGS=`$PKG_CONFIG gnutls --cflags` -+ GNUTLS_LFLAGS=`$PKG_CONFIG gnutls --libs` - - - $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h -@@ -25046,8 +25045,8 @@ - else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 - $as_echo "yes" >&6; } -- ZLIB_CFLAGS=`pkg-config zlib --cflags` -- ZLIB_LFLAGS=`pkg-config zlib --libs` -+ ZLIB_CFLAGS=`$PKG_CONFIG zlib --cflags` -+ ZLIB_LFLAGS=`$PKG_CONFIG zlib --libs` - - - fi diff --git a/patches/weechat-2.8.local.patch b/patches/weechat-2.8.local.patch new file mode 100644 index 0000000..279185c --- /dev/null +++ b/patches/weechat-2.8.local.patch @@ -0,0 +1,45 @@ +--- weechat-2.7/configure.orig 2020-02-09 23:15:37.432482865 +0000 ++++ weechat-2.7/configure 2020-02-09 23:17:57.591493077 +0000 +@@ -22793,8 +22793,7 @@ + # pkg-config + # ------------------------------------------------------------------------------ + +-PKGCONFIG="" +-for ac_prog in pkg-config ++for ac_prog in $PKG_CONFIG + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +@@ -24756,8 +24755,8 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } +- GCRYPT_CFLAGS=`libgcrypt-config --cflags` +- GCRYPT_LFLAGS=`libgcrypt-config --libs` ++ GCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags` ++ GCRYPT_LFLAGS=`$LIBGCRYPT_CONFIG --libs` + + + fi +@@ -24834,8 +24833,8 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } +- GNUTLS_CFLAGS=`pkg-config gnutls --cflags` +- GNUTLS_LFLAGS=`pkg-config gnutls --libs` ++ GNUTLS_CFLAGS=`$PKG_CONFIG gnutls --cflags` ++ GNUTLS_LFLAGS=`$PKG_CONFIG gnutls --libs` + + + $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h +@@ -25046,8 +25045,8 @@ + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + $as_echo "yes" >&6; } +- ZLIB_CFLAGS=`pkg-config zlib --cflags` +- ZLIB_LFLAGS=`pkg-config zlib --libs` ++ ZLIB_CFLAGS=`$PKG_CONFIG zlib --cflags` ++ ZLIB_LFLAGS=`$PKG_CONFIG zlib --libs` + + + fi