eboard: update to 1.1.3.

This commit is contained in:
Piotr Wójcik 2018-12-17 09:39:52 +01:00 committed by Helmut Pozimski
parent 52743d59d4
commit 92921c37ce
3 changed files with 10 additions and 31 deletions

View file

@ -1,16 +0,0 @@
--- cimg.cc.orig 2017-01-05 00:43:20.664395461 +0100
+++ cimg.cc 2017-01-05 00:44:12.366397039 +0100
@@ -94,11 +94,11 @@
ct == PNG_COLOR_TYPE_GRAY_ALPHA)
png_set_gray_to_rgb(pngp);
- alloc(pngp->width,pngp->height);
+ alloc(width,height);
if (!ok) { fclose(f); return; }
ok = 0;
- for(i=0;i<pngp->height;i++) {
+ for(i=0;i<height;i++) {
png_read_row(pngp, (png_bytep) (&data[i*rowlen]), NULL);
}

View file

@ -1,14 +1,5 @@
--- configure.orig 2017-01-05 01:07:49.029440284 +0100
+++ configure 2017-01-08 19:42:47.704475698 +0100
@@ -7,7 +7,7 @@
my $version = "1.1.1";
my $cxx = "g++";
my @cxxflags = ("-O6");
-my @ldflags = ("-lpthread");
+my @ldflags = ("-ldl", "-lpthread");
my @libs = ();
my $configh = "config.h";
my $configmake = "config.make";
@@ -16,6 +16,7 @@
my $manprefix = '';
#my $dgt = 1;

View file

@ -1,13 +1,17 @@
# Template file for 'eboard'
pkgname=eboard
version=1.1.1
revision=2
version=1.1.3
revision=1
build_style=gnu-configure
hostmakedepends="perl pkg-config"
makedepends="libpng-devel gtk+-devel"
makedepends="libpng-devel gtk+-devel gstreamer1-devel"
short_desc="A chess interface to ICS and chess engines"
maintainer="cipr3s <cipr3s@gmx.com>"
license="GPL-2"
license="GPL-2.0-or-later"
homepage="http://www.bergo.eng.br/eboard"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum="ad971086697c0d5a1c8a64401f6675339e832acb386dc96fa4e17da1832ca26e"
distfiles="https://github.com/fbergo/eboard/archive/v${version}.tar.gz"
checksum=2a1ba23a27c94ee4ec167bb31ab7dd6eedf148e139c9a96e8cb5ac36ec8423c1
pre_install() {
mkdir -p "${DESTDIR}/usr/share/eboard"
}