blob: dde5a02abbc179efa4f690afacfca3357d3836c5 [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 Williams03907ee2022-05-01 06:28:52 -05006inherit autotools pkgconfig python3native gnome-help gtk-icon-cache features_check
Andrew Geissler595f6302022-01-24 19:11:47 +00007
Patrick Williams03907ee2022-05-01 06:28:52 -05008ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
Andrew Geissler595f6302022-01-24 19:11:47 +00009
10SRC_URI = " \
11 ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${BPN}-${PV}/${BPN}-${PV}.tar.gz \
12 file://0001-Install-polkit-action-unconditionally-executable-pke.patch \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000013 file://0001-Do-not-use-NULL-where-boolean-is-expected.patch \
Patrick Williams58776372022-04-13 09:07:35 -050014 file://0001-use-posix-basename.patch \
Andrew Geissler595f6302022-01-24 19:11:47 +000015"
Patrick Williams58776372022-04-13 09:07:35 -050016SRC_URI[sha256sum] = "e5293a792e53fdbeba29c4a834113cd9603d0d639330da931a468bf3687887be"
Andrew Geissler595f6302022-01-24 19:11:47 +000017
18UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/gparted/files/gparted/"
19UPSTREAM_CHECK_REGEX = "gparted-(?P<pver>\d+\.(\d+)+(\.\d+)+)"
20
21DEPENDS += " \
22 glib-2.0-native \
23 yelp-tools-native \
24 intltool-native \
25 glib-2.0 \
26 gtkmm3 \
27 parted \
28"
29
30FILES:${PN} += " \
31 ${datadir}/appdata \
32 ${datadir}/icons \
33"
34
35PACKAGES += "${PN}-polkit"
36FILES:${PN}-polkit = "${datadir}/polkit-1"
37
38RDEPENDS:${PN} = " \
39 ${@bb.utils.contains('DISTRO_FEATURES', 'polkit', '${PN}-polkit', '', d)} \
40 dosfstools \
41 mtools \
42 e2fsprogs \
43"