From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6BAEF13933E for ; Fri, 2 Jul 2021 02:30:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 98694E084A; Fri, 2 Jul 2021 02:30:18 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 844ECE084A for ; Fri, 2 Jul 2021 02:30:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 38714340931 for ; Fri, 2 Jul 2021 02:30:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6F5F77A2 for ; Fri, 2 Jul 2021 02:30:13 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1625191615.75d3c5df4c0fae6d0d08034bd27090846c708c61.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/dialog/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/dialog/Manifest dev-util/dialog/dialog-1.3.20210621.ebuild X-VCS-Directories: dev-util/dialog/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 75d3c5df4c0fae6d0d08034bd27090846c708c61 X-VCS-Branch: master Date: Fri, 2 Jul 2021 02:30:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: baf8f81a-7b63-40ba-95de-c66c686ae6a8 X-Archives-Hash: 067f1319a20f705f1de996c1282c957d commit: 75d3c5df4c0fae6d0d08034bd27090846c708c61 Author: Sam James gentoo org> AuthorDate: Wed Jun 23 07:32:08 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jul 2 02:06:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d3c5df dev-util/dialog: add 1.3.20210621 Closes: https://github.com/gentoo/gentoo/pull/21384 Signed-off-by: Sam James gentoo.org> dev-util/dialog/Manifest | 1 + dev-util/dialog/dialog-1.3.20210621.ebuild | 53 ++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest index d01e2bb2098..08cf67464fb 100644 --- a/dev-util/dialog/Manifest +++ b/dev-util/dialog/Manifest @@ -1,2 +1,3 @@ DIST dialog-1.3-20200327.tar.gz 547962 BLAKE2B b335d8b57d9a9f3a7e303aa3b2c64736007b66618a79c79368d9dba20a8123813cdeb7d0643bf7c6d147314963ff469b6e41d2378fe9181081fa543f0aca50f2 SHA512 c8c7ccd86fa189a2b6739320f59f127512e53f908ed257280099f8c45754da98d2095835d0c14090cd071af0ed6e8ff95f9938f5ca8027b0b7001c7fd746fe59 DIST dialog-1.3-20210530.tgz 562950 BLAKE2B 2aa33c4e2568f91a08d173c3a02d0d64f3b02127e70fc942fa76904fda9bd929fcb19b5254874199fc00e873e7dfb18365beba04350e80939bea5d75d8df8438 SHA512 8f39cfa5f3ba70795927c261861bc55bde668d68d3b45559542cf980e1cfabefb3d1ebabc91715e29a4a9ffca5cdb6affa640ed155539692c868942f6014e7e0 +DIST dialog-1.3-20210621.tgz 563430 BLAKE2B 8ffb630ed67f303facd79ca72aaca89d32c55a2b504293105a72c596409828fffd3e5e5f603fb5bec7f8748358a03ddadc7f1cd6fb989d1b31af1fd8f1078d97 SHA512 bde13aaf215127d143aa0d37989e0bacb6bc23f007681aeff27683efa01a483106710ff756358e396c23e4c1f0355cd8a2b3bb362ae1c3a1a997e00835d53c2b diff --git a/dev-util/dialog/dialog-1.3.20210621.ebuild b/dev-util/dialog/dialog-1.3.20210621.ebuild new file mode 100644 index 00000000000..a52bf225f8d --- /dev/null +++ b/dev-util/dialog/dialog-1.3.20210621.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P=${PN}-$(ver_rs 2 -) + +DESCRIPTION="Tool to display dialog boxes from a shell" +HOMEPAGE="https://invisible-island.net/dialog/" +SRC_URI="https://invisible-mirror.net/archives/dialog/${MY_P}.tgz" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0/15" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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="!minimal? ( sys-devel/libtool ) + virtual/pkgconfig" + +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 \ + $(use_enable nls) \ + $(use_with !minimal libtool) \ + --with-libtool-opts='-shared' \ + --with-ncurses$(usex 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 +}