parent
4af7333fc6
commit
cba8baa318
2 changed files with 41 additions and 0 deletions
20
srcpkgs/goldendict/patches/musl.patch
Normal file
20
srcpkgs/goldendict/patches/musl.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- termination.cc.old 2017-06-24 15:00:21.287094332 +0200
|
||||
+++ termination.cc 2017-06-24 15:01:12.717096292 +0200
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
-#ifndef __WIN32
|
||||
+#ifdef __GLIBC__
|
||||
#include <execinfo.h>
|
||||
#endif
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
message += "terminate() called without active exception\n";
|
||||
}
|
||||
|
||||
-#ifndef __WIN32
|
||||
+#ifdef __GLIBC__
|
||||
|
||||
message += "\nBacktrace:\n";
|
||||
|
21
srcpkgs/goldendict/template
Normal file
21
srcpkgs/goldendict/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'goldendict'
|
||||
pkgname=goldendict
|
||||
version=1.5.0RC2
|
||||
revision=1
|
||||
wrksrc="${pkgname}-${version/RC/-RC}"
|
||||
build_style=qmake
|
||||
hostmakedepends="qt5-qmake pkg-config qt5-tools"
|
||||
makedepends="tiff-devel qt5-devel libvorbis-devel zlib-devel
|
||||
libXtst-devel hunspell-devel qt5-tools-devel qt5-declarative-devel
|
||||
qt5-webkit-devel lzo-devel bzip2-devel libao-devel qt5-svg-devel
|
||||
libeb-devel qt5-x11extras-devel ffmpeg-devel"
|
||||
short_desc="A feature-rich dictionary lookup program"
|
||||
maintainer="John <johnz@posteo.net>"
|
||||
license="GPL-3"
|
||||
homepage="http://goldendict.org/"
|
||||
distfiles="https://github.com/goldendict/goldendict/archive/${version/RC/-RC}.tar.gz"
|
||||
checksum=bccee0a3d3902f8fa31e439e220a405065fff774e5f8c581be2b0743d3f83fde
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" qt5-tools-devel qt5-webkit-devel qt5-host-tools qt5-svg-devel qt5-x11extras-devel"
|
||||
fi
|
Loading…
Reference in a new issue