diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-29 06:54:20 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-29 06:54:20 +0000 |
commit | f411c0c447ba33762165c91002ef40597cb09828 (patch) | |
tree | b9fd7206eac177b3e090c46d9118485b3b266c11 /community/logstalgia | |
parent | 282710de7d09bec8633510f6776b801475ec7757 (diff) | |
download | aports-f411c0c447ba33762165c91002ef40597cb09828.tar.bz2 aports-f411c0c447ba33762165c91002ef40597cb09828.tar.xz |
community/logstalgia: moved from testing, upgraded url
Diffstat (limited to 'community/logstalgia')
-rw-r--r-- | community/logstalgia/APKBUILD | 39 | ||||
-rw-r--r-- | community/logstalgia/gcc6-fix.patch | 11 |
2 files changed, 50 insertions, 0 deletions
diff --git a/community/logstalgia/APKBUILD b/community/logstalgia/APKBUILD new file mode 100644 index 0000000000..033b07ba98 --- /dev/null +++ b/community/logstalgia/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=logstalgia +pkgver=1.0.7 +pkgrel=0 +pkgdesc="A website access log visualisation tool" +url="http://logstalgia.io/" +arch="all" +license="GPL" +depends="" +depends_dev="pcre-dev sdl_image-dev sdl-dev ftgl-dev + libpng-dev jpeg-dev glew-dev boost-dev glm-dev " +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="https://github.com/acaudwell/Logstalgia/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz + gcc6-fix.patch" + +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + ./configure --prefix=/usr + make || return 1 + +} + +package() { + cd "$builddir" + install -d "${pkgdir}"/usr/{share,bin} + make prefix=$pkgdir/usr install || return 1 +} + +md5sums="b2d1d10315e2415dc1d20bfc7e4538f1 logstalgia-1.0.7.tar.gz +ac92b98c96302f8d8d996ca9169dc5f1 gcc6-fix.patch" +sha256sums="5553fd03fb7be564538fe56e871eac6e3caf56f40e8abc4602d2553964f8f0e1 logstalgia-1.0.7.tar.gz +e926aa3b1b59612c93e94b81ec9198e0d036ff0a61d5cf026919551f2d882ef7 gcc6-fix.patch" +sha512sums="862950ec387e27d72fe127fcccd37d1e6a0ed8b77fb243c119ef8b48b5bc45092d1b6881b9afbc016969e80a427fa4e210aa5d35524baf191d0c4fad5f91e3a9 logstalgia-1.0.7.tar.gz +bd15c5f3cff76da2da2baf749a1aba1cd977e3f436048fe913c719e65bb2ef39bd247ac8c09c2c31d6fee782d6d73dc19f10c442b7d11890e98e63f8e41a939d gcc6-fix.patch" diff --git a/community/logstalgia/gcc6-fix.patch b/community/logstalgia/gcc6-fix.patch new file mode 100644 index 0000000000..1033af44a9 --- /dev/null +++ b/community/logstalgia/gcc6-fix.patch @@ -0,0 +1,11 @@ +--- ./src/paddle.cpp.orig ++++ ./src/paddle.cpp +@@ -95,7 +95,7 @@ + + bool Paddle::mouseOver(TextArea& textarea, vec2& mouse) { + +- if(pos.x <= mouse.x && pos.x + width >= mouse.x && abs(pos.y - mouse.y) < height/2) { ++ if(pos.x <= mouse.x && pos.x + width >= mouse.x && abs(int(pos.y) - int(mouse.y)) < height/2) { + + std::vector<std::string> content; + |