weechat: generate translations and don't link against libintl.

The gnutls-devels -> gnutls -> gettext-libs chain pulled in libintl.so,
which ended up unnecessarily linked into the binary.

Ironically, no localization files were generated, because gettext wasn't
in hostmakedepends.
This commit is contained in:
Érico Rolim 2021-03-04 22:42:05 -03:00 committed by Érico Nogueira Rolim
parent e1aa107299
commit 039ca9ad47

View file

@ -1,12 +1,13 @@
# Template file for 'weechat'
pkgname=weechat
version=3.1
revision=1
revision=2
build_style=cmake
configure_args="-DENABLE_MAN=ON -DENABLE_PERL=ON
-DENABLE_LUA=ON -DENABLE_RUBY=ON -DENABLE_SPELL=ON
-DENABLE_GUILE=OFF -DENABLE_PHP=OFF -DENABLE_JAVASCRIPT=OFF"
hostmakedepends="ruby-asciidoctor libgcrypt-devel pkg-config python3 tcl-devel"
hostmakedepends="ruby-asciidoctor libgcrypt-devel pkg-config python3 tcl-devel
gettext"
makedepends="aspell-devel gnutls-devel libcurl-devel lua53-devel ncurses-devel
perl python3-devel ruby-devel tcl-devel"
depends="ca-certificates"