Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/
Date: Tue, 26 Apr 2022 05:51:07
Message-Id: 1650952205.8c7da57c2098e8d803608b0720d738c71e159126.juippis@gentoo
1 commit: 8c7da57c2098e8d803608b0720d738c71e159126
2 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 26 05:50:05 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 05:50:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c7da57c
7
8 dev-util/radare2: drop 9999
9
10 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
11
12 dev-util/radare2/radare2-9999.ebuild | 78 ------------------------------------
13 1 file changed, 78 deletions(-)
14
15 diff --git a/dev-util/radare2/radare2-9999.ebuild b/dev-util/radare2/radare2-9999.ebuild
16 deleted file mode 100644
17 index 470b4d0d33f8..000000000000
18 --- a/dev-util/radare2/radare2-9999.ebuild
19 +++ /dev/null
20 @@ -1,78 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -inherit bash-completion-r1 toolchain-funcs
27 -
28 -DESCRIPTION="unix-like reverse engineering framework and commandline tools"
29 -HOMEPAGE="http://www.radare.org"
30 -
31 -if [[ ${PV} == *9999 ]]; then
32 - inherit git-r3
33 - EGIT_REPO_URI="https://github.com/radareorg/radare2"
34 -else
35 - SRC_URI="https://github.com/radareorg/radare2/archive/${PV}.tar.gz -> ${P}.tar.gz"
36 - KEYWORDS="~amd64 ~arm ~arm64 ~x86"
37 -fi
38 -
39 -LICENSE="GPL-2"
40 -SLOT="0"
41 -IUSE="ssl"
42 -
43 -RDEPEND="
44 - dev-libs/libzip
45 - dev-libs/xxhash
46 - sys-apps/file
47 - sys-libs/zlib
48 - dev-libs/capstone:0=
49 - ssl? ( dev-libs/openssl:0= )
50 -"
51 -DEPEND="
52 - ${RDEPEND}
53 - dev-util/gperf
54 -"
55 -BDEPEND="virtual/pkgconfig"
56 -
57 -src_prepare() {
58 - # Fix hardcoded docdir for fortunes
59 - sed -i -e "/^#define R2_FORTUNES/s/radare2/$PF/" \
60 - libr/include/r_userconf.h.acr
61 - default
62 -}
63 -
64 -src_configure() {
65 - # Ideally these should be set by ./configure
66 - tc-export CC AR LD OBJCOPY RANLIB
67 - export HOST_CC=${CC}
68 -
69 - econf \
70 - --without-libuv \
71 - --with-syscapstone \
72 - --with-sysmagic \
73 - --with-sysxxhash \
74 - --with-syszip \
75 - $(use_with ssl openssl)
76 -}
77 -
78 -src_install() {
79 - default
80 -
81 - insinto /usr/share/zsh/site-functions
82 - doins doc/zsh/_*
83 -
84 - newbashcomp doc/bash_autocompletion.sh "${PN}"
85 - bashcomp_alias "${PN}" rafind2 r2 rabin2 rasm2 radiff2
86 -
87 - # a workaround for unstable $(INSTALL) call, bug #574866
88 - local d
89 - for d in doc/*; do
90 - if [[ -d ${d} ]]; then
91 - rm -rfv "${d}" || die "failed to delete '${d}'"
92 - fi
93 - done
94 -
95 - # These are not really docs. radare assumes
96 - # uncompressed files: bug #761250
97 - docompress -x /usr/share/doc/${PF}/fortunes.{creepy,fun,nsfw,tips}
98 -}