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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 16848158087 for ; Fri, 4 Feb 2022 08:45:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2598FE069C; Fri, 4 Feb 2022 08:45:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D25E9E069C for ; Fri, 4 Feb 2022 08:45:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5707340D5C for ; Fri, 4 Feb 2022 08:45:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3DD051EF for ; Fri, 4 Feb 2022 08:45:24 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1643964322.80b16eb53a1cf575f086296cecc8ea125b486310.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/nas/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/nas/Manifest media-libs/nas/nas-1.9.5.ebuild X-VCS-Directories: media-libs/nas/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 80b16eb53a1cf575f086296cecc8ea125b486310 X-VCS-Branch: master Date: Fri, 4 Feb 2022 08:45:24 +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: 962839ab-74ab-4e74-8ca2-a7224e860d75 X-Archives-Hash: 75a92ec47533deb527b58bde45bb73ce commit: 80b16eb53a1cf575f086296cecc8ea125b486310 Author: Miroslav Šulc gentoo org> AuthorDate: Fri Feb 4 08:44:16 2022 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Feb 4 08:45:22 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b16eb5 media-libs/nas: bump to 1.9.5 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Miroslav Šulc gentoo.org> media-libs/nas/Manifest | 1 + media-libs/nas/nas-1.9.5.ebuild | 113 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) diff --git a/media-libs/nas/Manifest b/media-libs/nas/Manifest index 07ffc8b6d401..ec48daf7ff4a 100644 --- a/media-libs/nas/Manifest +++ b/media-libs/nas/Manifest @@ -1 +1,2 @@ DIST nas-1.9.4.src.tar.gz 1464598 BLAKE2B d79ecda9f86a89d2d61bfadfeee4bb6a9feca6754bb88249b1eb3c1964e784d18098465f30f1b5bbb13d0550aebf48bb1b98aeb1b7c712f344a2eddc7720531b SHA512 3f8bd60f8ce0f25a2605af17caaadfe4f21223ba4cd3fa02078d1427b17cdf33ebda887e5dc30cd68eb7f64bfad80aafc9071ff0a26f0d3a4a93caacac03b5bb +DIST nas-1.9.5.tar.gz 1170144 BLAKE2B 81b063f888d66534f8779d6b0534397ada703868ff711c49b998fbf56bc6e4313fa245b6168fe9913936afa0685bab595df24f9f4bd5663dfa560c4b64534466 SHA512 051b32593e7ace09cf2d12720fb80e38d4f83f36858debacfb828c759e98b3e29401c76e3e3770f57fbbd1750a84b17a18e712f0de3dbe0ff56f2505c2488d9a diff --git a/media-libs/nas/nas-1.9.5.ebuild b/media-libs/nas/nas-1.9.5.ebuild new file mode 100644 index 000000000000..187f2582bca7 --- /dev/null +++ b/media-libs/nas/nas-1.9.5.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal toolchain-funcs + +DESCRIPTION="Network Audio System" +HOMEPAGE="https://radscan.com/nas.html" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="HPND MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc static-libs" + +RDEPEND=" + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau[${MULTILIB_USEDEP}] + x11-libs/libXaw + x11-libs/libXext + x11-libs/libXmu + x11-libs/libXpm + x11-libs/libXt[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/rman + sys-devel/bison + sys-devel/flex + x11-base/xorg-proto + x11-misc/gccmakedep + riscv? ( x11-misc/xorg-cf-files ) + >=x11-misc/imake-1.0.8-r1" + +DOCS=( BUILDNOTES FAQ HISTORY README RELEASE TODO ) + +PATCHES=( + "${FILESDIR}/${PN}-1.9.2-asneeded.patch" + "${FILESDIR}/${PN}-1.9.4-libfl.patch" +) + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + # Need to run econf so that config.guess is updated + pushd config || die + econf + popd || die + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die +} + +multilib_src_compile() { + # EXTRA_LDOPTIONS, SHLIBGLOBALSFLAGS #336564#c2 + local emakeopts=( + AR="$(tc-getAR) cq" + AS="$(tc-getAS)" + CC="$(tc-getCC)" + CDEBUGFLAGS="${CFLAGS}" + CXX="$(tc-getCXX)" + CXXDEBUFLAGS="${CXXFLAGS}" + EXTRA_LDOPTIONS="${LDFLAGS}" + LD="$(tc-getLD)" + MAKE="${MAKE:-gmake}" + RANLIB="$(tc-getRANLIB)" + SHLIBGLOBALSFLAGS="${LDFLAGS}" + WORLDOPTS= + ) + + if multilib_is_native_abi ; then + # dumb fix for parallel make issue wrt #446598, Imake sux + emake "${emakeopts[@]}" -C server/dia all + emake "${emakeopts[@]}" -C server/dda/voxware all + emake "${emakeopts[@]}" -C server/os all + else + sed -i \ + -e 's/SUBDIRS =.*/SUBDIRS = include lib config/' \ + Makefile || die + fi + + emake "${emakeopts[@]}" +} + +multilib_src_install() { + # ranlib is used at install phase too wrt #446600 + emake RANLIB="$(tc-getRANLIB)" \ + DESTDIR="${D}" USRLIBDIR=/usr/$(get_libdir) \ + install install.man +} + +multilib_src_install_all() { + einstalldocs + if use doc; then + docinto doc + dodoc doc/{actions,protocol.txt,README} + docinto pdf + dodoc doc/pdf/*.pdf + fi + + mv -vf "${D}"/etc/nas/nasd.conf{.eg,} || die + + newconfd "${FILESDIR}"/nas.conf.d nas + newinitd "${FILESDIR}"/nas.init.d nas + + if ! use static-libs; then + rm -f "${D}"/usr/lib*/libaudio.a || die + fi +}