1 |
commit: d9a55b82bf495e1cf8791e9b59e69e091cf0ea29 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 4 00:49:49 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 4 00:51:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9a55b82 |
7 |
|
8 |
sys-block/gparted: Version bump to 1.3.0 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
sys-block/gparted/Manifest | 1 + |
13 |
sys-block/gparted/gparted-1.3.0.ebuild | 90 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 91 insertions(+) |
15 |
|
16 |
diff --git a/sys-block/gparted/Manifest b/sys-block/gparted/Manifest |
17 |
index 2fb69453f15..e58cc597698 100644 |
18 |
--- a/sys-block/gparted/Manifest |
19 |
+++ b/sys-block/gparted/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST gparted-1.1.0.tar.gz 4032829 BLAKE2B d47d45e77a3d9dc29e9fa0428aaa7c12bb863cb70ac11f4055cbcc0a0fde8019fbb20266b7f810d6a47c5239248486049c8e9813ead8e88081dd16f445da036a SHA512 afaad690fccbec7385b078a299b78bf4f0f83999e2661f89cb97f9e8f2b30ee41f0535450075e3a7174967e77c75024df78863d0d90d5e8dc726a487b4ae0bae |
22 |
DIST gparted-1.2.0.tar.gz 4057490 BLAKE2B 55b03f6bfe99ccccc7394dd64783c89511e48f8c9dd3d64792bb517a27ff5e77fc3be6bbd3ba140efd2ee525cffa4ba8d3136fd947e2d6e45a30f8bcaefb7a89 SHA512 10375ae351805597ec22aa7a7cc13e03bd08c45047c1a48c68194d6129b27f16035d2633d48db0d71923f6b45946ad6a218c17bfac7c38747ed7f908182c5445 |
23 |
+DIST gparted-1.3.0.tar.gz 4167440 BLAKE2B 87af5285a54af2ceb75eb6580b6492f7bcf6d8d2a9b4d614761b60c2b1776b2a8e14064ed5a77091074c5c5ff87169f3525fec2f37a280d35289677aaf75eba5 SHA512 8349ebdf2312e32df9f40d24aa42a4604897ebae72e58fd1046ab0897b3380a762b49f74bdcf3bd570b4e7a3468b6f225c22290c6b1b799911da17408912288b |
24 |
|
25 |
diff --git a/sys-block/gparted/gparted-1.3.0.ebuild b/sys-block/gparted/gparted-1.3.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..2990599fa1e |
28 |
--- /dev/null |
29 |
+++ b/sys-block/gparted/gparted-1.3.0.ebuild |
30 |
@@ -0,0 +1,90 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+inherit gnome2 optfeature virtualx |
36 |
+ |
37 |
+DESCRIPTION="Gnome Partition Editor" |
38 |
+HOMEPAGE="https://gparted.org/" |
39 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="GPL-2+ FDL-1.2+" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
44 |
+IUSE="kde policykit wayland" |
45 |
+ |
46 |
+DEPEND=" |
47 |
+ !policykit? ( |
48 |
+ kde? ( >=kde-plasma/kde-cli-tools-5.8.6-r1[kdesu] ) ) |
49 |
+ policykit? ( >=sys-auth/polkit-0.102 ) |
50 |
+ >=dev-cpp/glibmm-2.56.1:2 |
51 |
+ >=dev-cpp/gtkmm-3.24:3.0 |
52 |
+ >=dev-libs/glib-2.58.3-r1:2 |
53 |
+ >=sys-block/parted-3.2:= |
54 |
+ >=dev-libs/libsigc++-2.10.1:2 |
55 |
+" |
56 |
+RDEPEND="${DEPEND} |
57 |
+ >=sys-apps/util-linux-2.33.2 |
58 |
+ wayland? ( x11-apps/xhost ) |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ app-text/docbook-xml-dtd:4.1.2 |
62 |
+ >=dev-util/intltool-0.51.0-r2 |
63 |
+ dev-util/itstool |
64 |
+ sys-devel/gettext |
65 |
+ virtual/pkgconfig |
66 |
+" |
67 |
+ |
68 |
+src_configure() { |
69 |
+ gnome2_src_configure \ |
70 |
+ --enable-doc \ |
71 |
+ --enable-online-resize \ |
72 |
+ $(use_enable wayland xhost-root) \ |
73 |
+ GKSUPROG=kdesu \ |
74 |
+ ac_cv_prog_have_scrollkeeper_update=no |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ gnome2_src_install |
79 |
+ |
80 |
+ local _ddir="${D}"/usr/share/applications |
81 |
+ local _bdir="${D}"/usr/bin |
82 |
+ |
83 |
+ if ! use policykit; then |
84 |
+ if use kde; then |
85 |
+ cp "${_ddir}"/gparted{,-kde}.desktop || die |
86 |
+ cp "${_bdir}"/gparted{,-kde} || die |
87 |
+ sed -i -e '/Exec/ s:gparted:gparted-kde:' "${_ddir}"/gparted-kde.desktop || die |
88 |
+ echo 'OnlyShowIn=KDE;' >> "${_ddir}"/gparted-kde.desktop || die |
89 |
+ fi |
90 |
+ else |
91 |
+ sed -i -e 's:kdesu::' "${_bdir}"/gparted || die |
92 |
+ fi |
93 |
+ |
94 |
+ mv "${ED}"/usr/share/{appdata,metainfo} |
95 |
+} |
96 |
+ |
97 |
+src_test() { |
98 |
+ virtx emake check |
99 |
+} |
100 |
+ |
101 |
+pkg_postinst() { |
102 |
+ gnome2_pkg_postinst |
103 |
+ |
104 |
+ optfeature_header |
105 |
+ optfeature "BTRFS support" sys-fs/btrfs-progs |
106 |
+ optfeature "DMRAID support" sys-fs/dmraid sys-fs/multipath-tools |
107 |
+ optfeature "Encrypted device / LUKS support" sys-fs/cryptsetup |
108 |
+ optfeature "exFAT support" sys-fs/exfatprogs |
109 |
+ optfeature "EXT2/EXT3/EXT4 support" sys-fs/e2fsprogs |
110 |
+ optfeature "F2FS support" sys-fs/f2fs-tools |
111 |
+ optfeature "FAT support" sys-fs/dosfstools sys-fs/mtools |
112 |
+ optfeature "HFS support" sys-fs/diskdev_cmds sys-fs/hfsutils virtual/udev |
113 |
+ optfeature "JFS support" sys-fs/jfsutils |
114 |
+ optfeature "MDADM support" sys-fs/mdadm |
115 |
+ optfeature "NTFS support" sys-fs/ntfs3g[ntfsprogs] |
116 |
+ optfeature "Reiser4 support" sys-fs/reiser4progs |
117 |
+ optfeature "ReiserFS support" sys-fs/reiserfsprogs |
118 |
+ optfeature "UDF support" sys-fs/udftools |
119 |
+ optfeature "XFS support" sys-fs/xfsprogs sys-fs/xfsdump |
120 |
+} |