summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-08 04:04:40 +0100
committerSam James <sam@gentoo.org>2023-10-08 04:04:40 +0100
commitfd2291ead29831e6007dffd8797faf2b0fbbae93 (patch)
treeae21dc07c04eee6d046d5555d7e0a71c0b63090a
parentx11-terms/xterm: add 385 (diff)
downloadgentoo-fd2291ead29831e6007dffd8797faf2b0fbbae93.tar.gz
gentoo-fd2291ead29831e6007dffd8797faf2b0fbbae93.tar.bz2
gentoo-fd2291ead29831e6007dffd8797faf2b0fbbae93.zip
dev-util/dialog: add 1.3.20231002
Closes: https://bugs.gentoo.org/900142 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-util/dialog/Manifest2
-rw-r--r--dev-util/dialog/dialog-1.3.20231002.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest
index d3be9efe349e..e96aa65118f5 100644
--- a/dev-util/dialog/Manifest
+++ b/dev-util/dialog/Manifest
@@ -4,3 +4,5 @@ DIST dialog-1.3-20221229.tgz 567965 BLAKE2B a027b4427ba2e4a2cfb7e66122a81ed3e3cd
DIST dialog-1.3-20221229.tgz.asc 729 BLAKE2B bf9703905e16af1af11e68c5e0288e03ab2a72e7c16de80ec4bf830982020e28514674640f42e0fc77ae1861d3f527990279a2e65a7aef6f78b3076b245df149 SHA512 b4d2dd6ab6e4f792a0156508bdec8516a927d50e1e65208e1fb155a618321addc71e0c35658b8da9a2166c4401acc3ec47e050acdb84fd768c8cc089ff30c41a
DIST dialog-1.3-20230209.tgz 573222 BLAKE2B eabca049a4a4c7ea8f2023534116bc1736853664deefa8fff253b6a7dd6671def231dccec9815c3842e9ba7c2ce99c304eb707a5cd405463175fae8c85153a57 SHA512 e34b1de09e3455289ee6278cf2f8bfb6ec9f8f6ed1f61aee10ad0ff5ee499330ec3481afa1dcd999ed7460479607cc443433e09584b8eeab2efdba689b6851cf
DIST dialog-1.3-20230209.tgz.asc 729 BLAKE2B da27d94a4fe61ebcd1481f6b1bd750fe4c45db01153b059c7c329afcbb51c2f290b0a888e8c8b8bab65eb35fdcee6b8bb599fa9345eeea79ad2f298335528c21 SHA512 bac6a17614ca0798e2f52fc2635169e5256b7f3e970fe0a2693503d2fd6b618aae78f7a11bfdfb865e67f4f920c9597b3e8b050841f0b1454838ffcd4823e2a3
+DIST dialog-1.3-20231002.tgz 574625 BLAKE2B 7eed34a9aa5188046d0f86a5206209cda5cb2080fc8876b0b9f540c5ed79120c325a23769c4c28787da9792f3128587eea4903ab597847e8a9ba03f7cd7087fd SHA512 ac3fea3053699b5b6e359bbe62e0f6220232898af1a8199225f6002211fe2eb6de42a868e71471f740580f35e428542940a93f89fd74b61923d4fd111deb82dc
+DIST dialog-1.3-20231002.tgz.asc 729 BLAKE2B e670bad0ead62c2fd6c936f16ebe91423f56347c609c73e1664586469735e8907ce0bfa049d9014b5f878256e54848b517fb3f754c8791280f7760d415d5bbb2 SHA512 405d4a1a98dde1214844eadce8dda5ca4b6c185bfdb18b944e127b6c36f0331cd50316eb7e611f3f744204fac35b41dc2c8e17085a3829d1d45195c517e5a495
diff --git a/dev-util/dialog/dialog-1.3.20231002.ebuild b/dev-util/dialog/dialog-1.3.20231002.ebuild
new file mode 100644
index 000000000000..b7b3a73f4a29
--- /dev/null
+++ b/dev-util/dialog/dialog-1.3.20231002.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P=${PN}-$(ver_rs 2 -)
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc
+inherit verify-sig
+
+DESCRIPTION="Tool to display dialog boxes from a shell"
+HOMEPAGE="https://invisible-island.net/dialog/"
+SRC_URI="https://invisible-island.net/archives/dialog/${MY_P}.tgz"
+SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/dialog/${MY_P}.tgz.asc )"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="LGPL-2.1"
+SLOT="0/15"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="examples minimal nls unicode"
+
+RDEPEND=">=sys-libs/ncurses-5.2-r5:=[unicode(+)?]"
+DEPEND="
+ ${RDEPEND}
+ nls? ( sys-devel/gettext )
+"
+BDEPEND="
+ virtual/pkgconfig
+ !minimal? ( sys-devel/libtool )
+ verify-sig? ( sec-keys/openpgp-keys-thomasdickey )
+"
+
+src_prepare() {
+ default
+
+ sed -i -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' configure || die
+ sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die
+}
+
+src_configure() {
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ export ac_cv_prog_LIBTOOL=glibtool
+ fi
+
+ econf \
+ --disable-rpath-hack \
+ --with-pkg-config \
+ --enable-pc-files \
+ $(use_enable nls) \
+ $(use_with !minimal libtool) \
+ --with-libtool-opts='-shared' \
+ --with-ncurses$(usev unicode w)
+}
+
+src_install() {
+ use minimal && default || emake DESTDIR="${D}" install-full
+
+ use examples && dodoc -r samples
+
+ dodoc CHANGES README
+
+ find "${ED}" -name '*.la' -delete || die
+}