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 83A0D13835A for ; Mon, 17 May 2021 22:36:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B431CE0814; Mon, 17 May 2021 22:36:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 8EB4EE0817 for ; Mon, 17 May 2021 22:36:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 29495335D9D for ; Mon, 17 May 2021 22:36:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5E5278B for ; Mon, 17 May 2021 22:36:05 +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: <1621290862.f4ff7d26d890ca054b215bbbecda744ecc3268bf.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.20210509.ebuild X-VCS-Directories: dev-util/dialog/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f4ff7d26d890ca054b215bbbecda744ecc3268bf X-VCS-Branch: master Date: Mon, 17 May 2021 22:36:05 +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: 88546527-ea07-464b-9323-ad1c84bbbdeb X-Archives-Hash: 84247d877eaa1d4d11c04c7f90fe4982 commit: f4ff7d26d890ca054b215bbbecda744ecc3268bf Author: Sam James gentoo org> AuthorDate: Sun May 16 21:28:00 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon May 17 22:34:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ff7d26 dev-util/dialog: add 1.3.20210509 Signed-off-by: Sam James gentoo.org> dev-util/dialog/Manifest | 1 + dev-util/dialog/dialog-1.3.20210509.ebuild | 53 ++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest index 949ec2796a1..c3a00f3288e 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-20210324.tgz 561235 BLAKE2B fbeae52e207def0b9ebcd9669f9321a711be82d0b6e163a94adaa21192a8fefa67255cd8b0a0121559728f4e5108ea8a90992a64d39fd0fa0f32e201de11f5a9 SHA512 6850485de5ffb4b5b702be792381b1e2c3e3e74143474b9d96f418ff755e17bd8075f1efab950cf0ca84fffb61c2373526d3607f2f1805b4056aac0ea6831069 +DIST dialog-1.3-20210509.tgz 562432 BLAKE2B f3a36d01f85516eb7297643158d02585bb62d4e54e90784218f0f9a825d7011093ed9c784bbdfd9c466b96b054ad44c23f97115599018befd449398678c78c64 SHA512 338ea8ee1bbbc44f0d8f511c5c87b246ea242a287346dd27e490d4854fdc00e9b4241d2ef372f131ef7152ebc2429d54c6bc1eeec0f89a6476e0a05f2683c64c diff --git a/dev-util/dialog/dialog-1.3.20210509.ebuild b/dev-util/dialog/dialog-1.3.20210509.ebuild new file mode 100644 index 00000000000..06eb24055e0 --- /dev/null +++ b/dev-util/dialog/dialog-1.3.20210509.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 ~s390 ~sparc ~x86" +IUSE="examples minimal nls static-libs 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=$(usex static-libs '' '-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 +}