klavaro: update to 3.04

closes #8544
This commit is contained in:
newbluemoon 2019-02-11 22:08:12 +01:00 committed by maxice8
parent 5e26447e7e
commit 9f7617eb4d
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,16 @@
When linking the libraries need to be in the proper order
to prevent an undefined reference error.
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -369,8 +369,8 @@
AM_CFLAGS = -Wextra -I$(top_srcdir)/gtkdatabox $(am__append_1) \
$(am__append_3)
AM_LDFLAGS = -static
-klavaro_LDADD = @GTK_LIBS@ -lgmodule-2.0 \
- $(top_srcdir)/gtkdatabox/libgtkdataboks.la $(am__append_2)
+klavaro_LDADD = $(top_srcdir)/gtkdatabox/libgtkdataboks.la $(am__append_2) @GTK_LIBS@ -lgmodule-2.0
+
all: all-am
.SUFFIXES:

View File

@ -1,6 +1,6 @@
# Template file for 'klavaro'
pkgname=klavaro
version=3.03
version=3.04
revision=1
build_style=gnu-configure
hostmakedepends="intltool pkg-config"
@ -10,8 +10,10 @@ maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-3.0-or-later"
homepage="http://klavaro.sourceforge.net/en/"
distfiles="${SOURCEFORGE_SITE}/klavaro/klavaro-${version}.tar.bz2"
checksum=e0959f21e54e7f4700042a3a14987a7f8fc898701eab4f721ebcf4559a2c87b5
checksum=0eafdf0e9294aafcdd17bc86824318c7cf80447b3f5687462282d836a3fd1b91
post_install() {
rm ${DESTDIR}/usr/lib/*.{a,so}
rm -r ${DESTDIR}/usr/include
mv ${DESTDIR}/usr/{appdata,applications} ${DESTDIR}/usr/share
}