gparted: update to 0.11.0.
This commit is contained in:
parent
e4ded7c20f
commit
903673eb1f
4 changed files with 44 additions and 15 deletions
3
srcpkgs/gparted/files/gparted-pkexec
Normal file
3
srcpkgs/gparted/files/gparted-pkexec
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
pkexec /usr/bin/gparted-pkexec "$@"
|
19
srcpkgs/gparted/files/org.void.pkexec.gparted.policy
Normal file
19
srcpkgs/gparted/files/org.void.pkexec.gparted.policy
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policyconfig PUBLIC
|
||||
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
||||
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
||||
<policyconfig>
|
||||
|
||||
<action id="org.void.pkexec.gparted">
|
||||
<message>Authentication is required to run the GParted Partition Editor</message>
|
||||
<icon_name>gparted</icon_name>
|
||||
<defaults>
|
||||
<allow_any>auth_admin</allow_any>
|
||||
<allow_inactive>auth_admin</allow_inactive>
|
||||
<allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/gparted</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
|
||||
</policyconfig>
|
|
@ -1,4 +1,3 @@
|
|||
libparted.so.0
|
||||
libgtkmm-2.4.so.1
|
||||
libatkmm-1.6.so.1
|
||||
libgdkmm-2.4.so.1
|
||||
|
@ -15,3 +14,4 @@ libm.so.6
|
|||
libgcc_s.so.1
|
||||
libpthread.so.0
|
||||
libc.so.6
|
||||
libparted.so.1
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
# Template file for 'gparted'
|
||||
pkgname=gparted
|
||||
version=0.8.1
|
||||
version=0.11.0
|
||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-scrollkeeper"
|
||||
revision=1
|
||||
configure_args="--disable-scrollkeeper --enable-libparted-dmraid"
|
||||
short_desc="Gnome Partition Editor"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://gparted.sourceforge.net"
|
||||
license="GPL-2"
|
||||
checksum=c30469d61188791ad12bafde4010163afb451faea076692551a48d8b59b61789
|
||||
checksum=eee28bc8d169e50f39f244d4524801c3aaf76e0cbe34bdc856d033d61f25dcb4
|
||||
long_desc="
|
||||
GParted is a free partition editor for graphically managing your disk
|
||||
partitions.
|
||||
|
@ -24,18 +23,26 @@ long_desc="
|
|||
|
||||
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
||||
|
||||
Add_dependency build atkmm-devel
|
||||
Add_dependency build glib-devel
|
||||
Add_dependency build glibmm-devel
|
||||
Add_dependency build gnome-doc-utils
|
||||
Add_dependency build gtk+-devel
|
||||
Add_dependency build gtkmm2-devel
|
||||
Add_dependency run hicolor-icon-theme
|
||||
Add_dependency run desktop-file-utils
|
||||
Add_dependency run polkit
|
||||
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build intltool
|
||||
Add_dependency build libparted-devel
|
||||
Add_dependency build libsigc++-devel
|
||||
Add_dependency build libstdc++-devel
|
||||
Add_dependency build gnome-doc-utils
|
||||
Add_dependency build glib-devel
|
||||
Add_dependency build glibmm-devel
|
||||
Add_dependency build atkmm-devel
|
||||
Add_dependency build pangomm-devel
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build gtk+-devel
|
||||
Add_dependency build gtkmm2-devel
|
||||
|
||||
Add_dependency full hicolor-icon-theme
|
||||
Add_dependency full desktop-file-utils
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/org.void.pkexec.gparted.policy \
|
||||
644 /usr/share/polkit-1/actions
|
||||
vinstall ${FILESDIR}/gparted-pkexec 755 usr/bin
|
||||
sed -i -e "s/Exec=.*/Exec=gparted-pkexec/" \
|
||||
${DESTDIR}/usr/share/applications/gparted.desktop
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue