diff options
author | Jiří Klimeš | 2020-02-13 15:30:52 +0100 |
---|---|---|
committer | Jiří Klimeš | 2020-02-13 16:03:51 +0100 |
commit | 411fd9cf3b1da1ee89f4a283efe22bdf77168438 (patch) | |
tree | de65df29b4d4add1a728946ba1df79b009f9adef | |
parent | 9435efd2dbef7346ef78192a68ba6eba56169871 (diff) | |
download | aur-411fd9cf3b1da1ee89f4a283efe22bdf77168438.tar.gz |
Make sure to link with Gtk3
Upstream tecmake.mak makefile is kind of weird in guessing when to use
Gtk2 vs Gtk3. It makes the decision upon the Linux kernel version. It
chooses Gtk3 for Linux 4.x. Unfortunately it doesn't know Linux 5.x,
and thus it defaults to Gtk2 for that kernel.
So use USE_GTK3=Yes option to make sure Gtk3 is used unconditionally.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = libcd pkgdesc = Canvas Draw - 2D vector graphics library pkgver = 5.12 - pkgrel = 2 + pkgrel = 3 url = https://www.tecgraf.puc-rio.br/cd/ arch = i686 arch = x86_64 @@ -6,7 +6,7 @@ pkgbase=libcd pkgname=('libcd' 'lua-cd' 'lua51-cd' 'lua52-cd') pkgdesc="Canvas Draw - 2D vector graphics library" pkgver=5.12 -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') url="https://www.tecgraf.puc-rio.br/cd/" makedepends=('glu' 'lsb-release' 'lua' 'lua51' 'lua52' 'lua-im' 'lua51-im' 'lua52-im') @@ -41,7 +41,8 @@ build() { make cd cd_pdflib cdpdf cdgl cdim cdcontextplus \ IM_INC=/usr/include/im \ IM_LIB=/usr/lib \ - USE_FTGL=Yes + USE_FTGL=Yes \ + USE_GTK3=Yes echo 'Building Lua 5.3 bindings' make cdlua5 cdluapdf5 cdluagl5 cdluacontextplus5 cdluaim5 \ |