summaryrefslogtreecommitdiff
path: root/recipes-gnome/gcalctool/gcalctool_5.32.2.bb
blob: 72fba2c9fe5c5c5acdd82d2354c71b85c1112ffd (plain)
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
DESCRIPTION = "Powerful calculator for GNOME"
HOMEPAGE = "http://calctool.sourceforge.net/"
SECTION = "x11"

PR = "r2"

LICENSE = "GPL"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"

DEPENDS = "gtk+ gnome-doc-utils"
RDEPENDS = "glib-2.0-utils"

SRC_URI = "http://download.gnome.org/sources/${PN}/5.32/${PN}-${PV}.tar.gz"
SRC_URI[md5sum] = "edc7227b9c9cf8c4114918b84dab11b6"
SRC_URI[sha256sum] = "307b277785b656a45c37a77e891caaa4ff21e9919fd7ab58148874c98f4d37d2"

inherit autotools pkgconfig gettext

EXTRA_OECONF = "--disable-gnome"

FILES_${PN} += "${datadir}/glib-2.0"

pkg_postinst_${PN} () {
if [ -n "$D" ]; then
    exit 1
fi

glib-compile-schemas ${datadir}/glib-2.0/schemas
}