summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2017-11-11 14:29:38 +0100
committerArmin Kuster <akuster808@gmail.com>2017-11-19 13:43:50 -0800
commitde3c01b5f846178dff8bf7948fc3ec974195ccbf (patch)
treea7fc3b2deded6d88e035f4ca90fe1e32c765505d /meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb
parent194f855b44319c7834ba11e6e0a77ef279970a04 (diff)
downloadmeta-openembedded-de3c01b5f846178dff8bf7948fc3ec974195ccbf.tar.gz
gparted: update 0.28.1 -> 0.30.0
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb')
-rw-r--r--meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb b/meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb
new file mode 100644
index 0000000000..cea0e3aef9
--- /dev/null
+++ b/meta-gnome/recipes-extended/gparted/gparted_0.30.0.bb
@@ -0,0 +1,38 @@
1SUMMARY = "A partition editor to graphically manage disk partitions "
2HOMEPAGE = "http://gparted.org/index.php"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5
6inherit autotools pkgconfig gtk-icon-cache
7
8SRC_URI = " \
9 ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${BPN}-${PV}/${BPN}-${PV}.tar.gz \
10 file://org.yoctoproject.pkexec.run-gparted.policy \
11 file://gparted_polkit \
12"
13SRC_URI[md5sum] = "09b12d3831e91b26ec8726b00eecd43d"
14SRC_URI[sha256sum] = "d31193effe058bdaeb2a4cd4b514ec753191179a0bc3abefda68a2b7975ecf4a"
15
16DEPENDS = "glib-2.0 glib-2.0-native gtkmm parted gnome-doc-utils intltool-native"
17
18do_install_append() {
19 # Add a script which checks if polkit is installed.
20 # If yes: a policy is requested from polkit / otherwise start as usual
21 install ${WORKDIR}/gparted_polkit ${D}${sbindir}
22 sed -i 's:%sbindir%:${sbindir}:g' ${D}${sbindir}/gparted_polkit
23 # relink menu entry to use our script
24 sed -i 's:${sbindir}/gparted:${sbindir}/gparted_polkit:g' ${D}${datadir}/applications/gparted.desktop
25
26 install -d ${D}${datadir}/polkit-1/actions
27 install ${WORKDIR}/org.yoctoproject.pkexec.run-gparted.policy ${D}${datadir}/polkit-1/actions/org.yoctoproject.pkexec.run-gparted.policy
28}
29
30EXTRA_OECONF = "--disable-scrollkeeper --disable-doc"
31
32FILES_${PN} += " \
33 ${datadir}/appdata \
34 ${datadir}/icons \
35 ${datadir}/polkit-1 \
36"
37
38RDEPENDS_${PN} = "dosfstools mtools e2fsprogs"