Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/testdisk/
Date: Thu, 26 Dec 2019 11:05:30
Message-Id: 1577358317.dcfe8a4b0d708e1066999c5baa127b8622caa985.mgorny@gentoo
1 commit: dcfe8a4b0d708e1066999c5baa127b8622caa985
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 26 10:54:34 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 26 11:05:17 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcfe8a4b
7
8 app-admin/testdisk: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 app-admin/testdisk/Manifest | 1 -
13 app-admin/testdisk/testdisk-7.1_pre20180922.ebuild | 99 ----------------------
14 2 files changed, 100 deletions(-)
15
16 diff --git a/app-admin/testdisk/Manifest b/app-admin/testdisk/Manifest
17 index d9c8b57ebef..eb6decb0177 100644
18 --- a/app-admin/testdisk/Manifest
19 +++ b/app-admin/testdisk/Manifest
20 @@ -1,2 +1 @@
21 -DIST testdisk-6837474129968d7de13d91e5454bd824c9136e73.tar.gz 637265 BLAKE2B 7d7a2c875db9d34ad5be687ef0ccc8122759c645b30faf6eed7967747e69ac988078ab6c1909007c32c6bf5a879a5bfd00dff3d2d268e5b50e3b60a8b660c636 SHA512 b494e23ccd8f913a9b22f4b803b02af66e94f6971f45e6aea8a0e1dd8549996e7bdd3fafcf70078ebc242f262d064cdc5674d99cb7a367b810c45c0b1c40336d
22 DIST testdisk-7.1.tar.bz2 742006 BLAKE2B ad67cbef73e502df39cd04537bae9226d043a0f5ed824ed24d5a5ac7c3262060d0c78bfcf38159890ee0c270e1cd7690cbf276eb919e1b4721357fffc8679c61 SHA512 ad6531eec45c1ed8d4a0ce6132692bb609c4c269fbca57f788ce808214e0b00b5fb1187745a859c5da8a3cb8de18b29904792d3246b15cedfa24bf24cbfe3df5
23
24 diff --git a/app-admin/testdisk/testdisk-7.1_pre20180922.ebuild b/app-admin/testdisk/testdisk-7.1_pre20180922.ebuild
25 deleted file mode 100644
26 index 91b33ce97ff..00000000000
27 --- a/app-admin/testdisk/testdisk-7.1_pre20180922.ebuild
28 +++ /dev/null
29 @@ -1,99 +0,0 @@
30 -# Copyright 1999-2018 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=6
34 -
35 -EGIT_COMMIT=6837474129968d7de13d91e5454bd824c9136e73
36 -inherit autotools flag-o-matic gnome2-utils
37 -
38 -DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
39 -HOMEPAGE="https://www.cgsecurity.org/wiki/TestDisk"
40 -SRC_URI="https://git.cgsecurity.org/cgit/${PN}/snapshot/${PN}-${EGIT_COMMIT}.tar.gz"
41 -
42 -LICENSE="GPL-2+"
43 -SLOT="0"
44 -KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86"
45 -IUSE="ewf jpeg ntfs qt5 reiserfs static zlib"
46 -
47 -REQUIRED_USE="static? ( !qt5 )"
48 -
49 -# WARNING: reiserfs support does NOT work with reiserfsprogs
50 -# you MUST use progsreiserfs-0.3.1_rc8 (the last version ever released).
51 -COMMON_DEPEND="
52 - static? (
53 - sys-apps/util-linux[static-libs]
54 - sys-fs/e2fsprogs[static-libs]
55 - sys-libs/ncurses:0[static-libs]
56 - jpeg? ( virtual/jpeg:0[static-libs] )
57 - ntfs? ( sys-fs/ntfs3g:=[static-libs] )
58 - reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8[static-libs] )
59 - zlib? ( sys-libs/zlib[static-libs] )
60 - !arm? ( ewf? ( app-forensics/libewf:=[static-libs] ) )
61 - )
62 - !static? (
63 - sys-apps/util-linux
64 - sys-fs/e2fsprogs
65 - sys-libs/ncurses:0=
66 - jpeg? ( virtual/jpeg:0 )
67 - ntfs? ( sys-fs/ntfs3g )
68 - qt5? (
69 - dev-qt/qtcore:5
70 - dev-qt/qtgui:5
71 - dev-qt/qtwidgets:5
72 - )
73 - reiserfs? ( >=sys-fs/progsreiserfs-0.3.1_rc8 )
74 - zlib? ( sys-libs/zlib )
75 - !arm? ( ewf? ( app-forensics/libewf:= ) )
76 - )
77 -"
78 -DEPEND="${COMMON_DEPEND}
79 - qt5? ( dev-qt/linguist-tools:5 )
80 -"
81 -RDEPEND="!static? ( ${COMMON_DEPEND} )"
82 -
83 -DOCS=( )
84 -
85 -S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
86 -
87 -src_prepare() {
88 - default
89 - eautoreconf
90 -}
91 -
92 -src_configure() {
93 - local myeconfargs=(
94 - --enable-sudo
95 - --without-ntfs
96 - $(use_with ewf)
97 - $(use_with jpeg)
98 - $(use_with ntfs ntfs3g)
99 - $(use_enable qt5 qt)
100 - $(use_with reiserfs)
101 - $(use_with zlib)
102 - )
103 -
104 - # this static method is the same used by upstream for their 'static' make
105 - # target, but better, as it doesn't break.
106 - use static && append-ldflags -static
107 -
108 - econf "${myeconfargs[@]}"
109 -
110 - # perform safety checks for NTFS, REISERFS and JPEG
111 - if use ntfs && ! egrep -q '^#define HAVE_LIBNTFS(3G)? 1$' "${S}"/config.h ; then
112 - die "Failed to find either NTFS or NTFS-3G library."
113 - fi
114 - if use reiserfs && egrep -q 'undef HAVE_LIBREISERFS\>' "${S}"/config.h ; then
115 - die "Failed to find reiserfs library."
116 - fi
117 - if use jpeg && egrep -q 'undef HAVE_LIBJPEG\>' "${S}"/config.h ; then
118 - die "Failed to find jpeg library."
119 - fi
120 -}
121 -
122 -pkg_postinst() {
123 - gnome2_icon_cache_update
124 -}
125 -
126 -pkg_postrm() {
127 - gnome2_icon_cache_update
128 -}