blob: 6f774904b704c6aabc4e8ffd34cbe0386f361cda [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "A partition editor to graphically manage disk partitions "
2HOMEPAGE = "http://gparted.org/index.php"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "GPL-2.0-only"
Andrew Geissler595f6302022-01-24 19:11:47 +00004LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5
Patrick Williams58776372022-04-13 09:07:35 -05006inherit autotools pkgconfig python3native gnome-help gtk-icon-cache
Andrew Geissler595f6302022-01-24 19:11:47 +00007
Andrew Geissler595f6302022-01-24 19:11:47 +00008
9SRC_URI = " \
10 ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${BPN}-${PV}/${BPN}-${PV}.tar.gz \
11 file://0001-Install-polkit-action-unconditionally-executable-pke.patch \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000012 file://0001-Do-not-use-NULL-where-boolean-is-expected.patch \
Patrick Williams58776372022-04-13 09:07:35 -050013 file://0001-use-posix-basename.patch \
Andrew Geissler595f6302022-01-24 19:11:47 +000014"
Patrick Williams58776372022-04-13 09:07:35 -050015SRC_URI[sha256sum] = "e5293a792e53fdbeba29c4a834113cd9603d0d639330da931a468bf3687887be"
Andrew Geissler595f6302022-01-24 19:11:47 +000016
17UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/gparted/files/gparted/"
18UPSTREAM_CHECK_REGEX = "gparted-(?P<pver>\d+\.(\d+)+(\.\d+)+)"
19
20DEPENDS += " \
21 glib-2.0-native \
22 yelp-tools-native \
23 intltool-native \
24 glib-2.0 \
25 gtkmm3 \
26 parted \
27"
28
29FILES:${PN} += " \
30 ${datadir}/appdata \
31 ${datadir}/icons \
32"
33
34PACKAGES += "${PN}-polkit"
35FILES:${PN}-polkit = "${datadir}/polkit-1"
36
37RDEPENDS:${PN} = " \
38 ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', '${PN}-polkit', '', d)} \
39 dosfstools \
40 mtools \
41 e2fsprogs \
42"