Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/dialog/
Date: Fri, 30 Dec 2022 07:32:33
Message-Id: 1672385512.10f551c95f41eb63e1df49c72932fa3cbba80c04.sam@gentoo
1 commit: 10f551c95f41eb63e1df49c72932fa3cbba80c04
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 30 07:14:12 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 30 07:31:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f551c9
7
8 dev-util/dialog: add 1.3.20221229
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-util/dialog/Manifest | 2 +
13 dev-util/dialog/dialog-1.3.20221229.ebuild | 61 ++++++++++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest
17 index a80e33ca760a..5906b053a7a5 100644
18 --- a/dev-util/dialog/Manifest
19 +++ b/dev-util/dialog/Manifest
20 @@ -1,2 +1,4 @@
21 DIST dialog-1.3-20220728.tgz 568086 BLAKE2B 086d946f2a8d298f1d26a193b5e99c00991a7f25fb032efef77109b20deaf08d54562673132bfa458d0c28360b2271e7ec50611ebe00e0c1584f178c0d8d7254 SHA512 dddceaf00bfec4b53f2cf67e51d4c54841d9db337536657c21bc8f324a0eb9c6d621f00e09bfb741bd263f171dde38cfea87568f86daf04a9e88575a0ed61218
22 DIST dialog-1.3-20220728.tgz.asc 729 BLAKE2B c317713cae1abe26471c005f033a8ebb406a2a741d67865f90c8a356e204b468fda1349247dbe42e84d434434d202938b55321a22ad0e048eedca93f59a7b547 SHA512 fe0e3559c1c6cbd6ac24cd5da96cde4e4780c6a804f1ed3c96c1ee93dc8f434336cb5cf27c9ac420338c8491dfa9beead48761f07152b2cae9f2d2f7d482eb8b
23 +DIST dialog-1.3-20221229.tgz 567965 BLAKE2B a027b4427ba2e4a2cfb7e66122a81ed3e3cd5b3ce3acfa250ce42a3464d4b015a8c7633b1d2160f915c54d8449097d19d33cd2f968bfef2a415fb42488bfa07b SHA512 920f22bc1565b3c936c95af6fe83dc1460dd81eb5d83bb8f43fd4f2b12cb9e37328b5ae32fb528fbe2ff2f4172935773022a3e6de455b8edfc0c8e37d5d02c26
24 +DIST dialog-1.3-20221229.tgz.asc 729 BLAKE2B bf9703905e16af1af11e68c5e0288e03ab2a72e7c16de80ec4bf830982020e28514674640f42e0fc77ae1861d3f527990279a2e65a7aef6f78b3076b245df149 SHA512 b4d2dd6ab6e4f792a0156508bdec8516a927d50e1e65208e1fb155a618321addc71e0c35658b8da9a2166c4401acc3ec47e050acdb84fd768c8cc089ff30c41a
25
26 diff --git a/dev-util/dialog/dialog-1.3.20221229.ebuild b/dev-util/dialog/dialog-1.3.20221229.ebuild
27 new file mode 100644
28 index 000000000000..0beb06989f2f
29 --- /dev/null
30 +++ b/dev-util/dialog/dialog-1.3.20221229.ebuild
31 @@ -0,0 +1,61 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +MY_P=${PN}-$(ver_rs 2 -)
38 +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc
39 +inherit verify-sig
40 +
41 +DESCRIPTION="Tool to display dialog boxes from a shell"
42 +HOMEPAGE="https://invisible-island.net/dialog/"
43 +SRC_URI="https://invisible-island.net/archives/dialog/${MY_P}.tgz"
44 +SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/dialog/${MY_P}.tgz.asc )"
45 +S="${WORKDIR}"/${MY_P}
46 +
47 +LICENSE="LGPL-2.1"
48 +SLOT="0/15"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
50 +IUSE="examples minimal nls unicode"
51 +
52 +RDEPEND=">=sys-libs/ncurses-5.2-r5:=[unicode(+)?]"
53 +DEPEND="
54 + ${RDEPEND}
55 + nls? ( sys-devel/gettext )
56 + "
57 +BDEPEND="
58 + virtual/pkgconfig
59 + !minimal? ( sys-devel/libtool )
60 + verify-sig? ( sec-keys/openpgp-keys-thomasdickey )
61 +"
62 +
63 +src_prepare() {
64 + default
65 +
66 + sed -i -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' configure || die
67 + sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die
68 +}
69 +
70 +src_configure() {
71 + if [[ ${CHOST} == *-darwin* ]] ; then
72 + export ac_cv_prog_LIBTOOL=glibtool
73 + fi
74 +
75 + econf \
76 + --disable-rpath-hack \
77 + --with-pkg-config \
78 + $(use_enable nls) \
79 + $(use_with !minimal libtool) \
80 + --with-libtool-opts='-shared' \
81 + --with-ncurses$(usex unicode w '')
82 +}
83 +
84 +src_install() {
85 + use minimal && default || emake DESTDIR="${D}" install-full
86 +
87 + use examples && dodoc -r samples
88 +
89 + dodoc CHANGES README
90 +
91 + find "${ED}" -name '*.la' -delete || die
92 +}