-
Notifications
You must be signed in to change notification settings - Fork 0
/
gtkperf.cygport
30 lines (28 loc) · 1.17 KB
/
gtkperf.cygport
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
NAME="gtkperf"
VERSION=0.40
RELEASE=1
CATEGORY="X11"
SUMMARY="GTK+ performance test"
DESCRIPTION="GtkPerf is an application designed to test GTK+ performance. The point
is to create common testing platform to run predefined GTK+ widgets
and this way define the speed of device/platform."
DEPEND="libatk1.0-devel libgtk2.0-devel gettext-devel pkg-config"
# We need to install a font in order for gtkperf to work at all,
# especially wth X servers other than Cygwin XWin.
# We also want to use a consistent font because this is a benchmark.
# This one appears to be the highest match of all the Cygwin fonts.
REQUIRES="font-adobe-dpi75"
HOMEPAGE="http://gtkperf.sourceforge.net/"
SRC_URI="mirror://sourceforge/gtkperf/gtkperf_${VERSION}.tar.gz"
SRC_DIR="gtkperf"
PATCH_URI="
format-security-gtkperf.patch
cygwin-mkinstalldirs-gtkperf.patch
"
# gtkperf 0.40 was written with a very old version of autotools.
# Without this line, make fails with this error under po/:
# make[2]: *** No rule to make target 'Makevars', needed by 'Makefile'. Stop.
#
# Even though we set this, gettext-devel is still needed to build.
# Otherwise, cygport fails to compile because it cannot find autopoint.
NO_AUTOPOINT=1