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 415AB15ACFC for ; Sat, 6 May 2023 03:53:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29203E09DF; Sat, 6 May 2023 03:52:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB0C8E09DF for ; Sat, 6 May 2023 03:52:58 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D09C7341223 for ; Sat, 6 May 2023 03:52:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B6F9A63 for ; Sat, 6 May 2023 03:52:56 +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: <1683344922.3b1e846ff1d0069ae6e028eab70777d08698c6ba.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/xnecview/, sci-electronics/xnecview/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/xnecview/Manifest sci-electronics/xnecview/files/xnecview-tc-variables.patch sci-electronics/xnecview/metadata.xml sci-electronics/xnecview/xnecview-1.37.ebuild X-VCS-Directories: sci-electronics/xnecview/ sci-electronics/xnecview/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3b1e846ff1d0069ae6e028eab70777d08698c6ba X-VCS-Branch: master Date: Sat, 6 May 2023 03:52:56 +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: b08a5abd-f2b0-4078-af9e-80c98b863329 X-Archives-Hash: 2e8713772f0bf6ed3f64d122a4cb9fea commit: 3b1e846ff1d0069ae6e028eab70777d08698c6ba Author: Mario Haustein hrz tu-chemnitz de> AuthorDate: Thu Sep 1 17:03:45 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat May 6 03:48:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b1e846f sci-electronics/xnecview: new package, add 1.37 Closes: https://bugs.gentoo.org/136778 Signed-off-by: Mario Haustein hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/27107 Signed-off-by: Sam James gentoo.org> sci-electronics/xnecview/Manifest | 1 + .../xnecview/files/xnecview-tc-variables.patch | 29 +++++++++++++++++ sci-electronics/xnecview/metadata.xml | 17 ++++++++++ sci-electronics/xnecview/xnecview-1.37.ebuild | 37 ++++++++++++++++++++++ 4 files changed, 84 insertions(+) diff --git a/sci-electronics/xnecview/Manifest b/sci-electronics/xnecview/Manifest new file mode 100644 index 000000000000..8a9aa6cdf579 --- /dev/null +++ b/sci-electronics/xnecview/Manifest @@ -0,0 +1 @@ +DIST xnecview-1.37.tgz 79005 BLAKE2B 505ba69b7ba77355f789b36af3e1df3719eb0a9179541d83a26285a0e5c84fc7b9b156bf4d586bfa28af0074819e397bf7441e39a819972c701e6487787c07d3 SHA512 6fc4beec1b9502d6084d4e412b8bb89d1deeaab5bfa6c0341cba1a899fb9a59eb1e7f9dfc61a97f2853ecff57c241dc9af993b176410799a07f113e3a60f75d7 diff --git a/sci-electronics/xnecview/files/xnecview-tc-variables.patch b/sci-electronics/xnecview/files/xnecview-tc-variables.patch new file mode 100644 index 000000000000..cd8a5c7d04dd --- /dev/null +++ b/sci-electronics/xnecview/files/xnecview-tc-variables.patch @@ -0,0 +1,29 @@ +diff -Naur xnecview-1.37.org/Makefile xnecview-1.37/Makefile +--- xnecview-1.37.org/Makefile 2006-03-27 22:38:37.000000000 +0200 ++++ xnecview-1.37/Makefile 2022-09-01 19:00:31.929015747 +0200 +@@ -3,11 +3,12 @@ + + + +-CC = gcc +-CFLAGS = -O2 -g -Wall `pkg-config gtk+-2.0 --cflags` ++CC ?= gcc ++CFLAGS ?= -O2 -g -Wall ++CFLAGS += `$(PKG_CONFIG) gtk+-2.0 --cflags` + +-LD = $(CC) +-LDFLAGS = `pkg-config gtk+-2.0 --libs` -lm ++LD ?= $(CC) ++LDFLAGS += `$(PKG_CONFIG) gtk+-2.0 --libs` -lm + + ifeq ($(PNG),yes) + CFLAGS += -DHAVE_LIBPNG +@@ -20,7 +21,7 @@ + all: xnecview + + xnecview: $(OBJS) +- $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o xnecview ++ $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o xnecview + + xnecview.tgz: $(SRCS) + tar czvf xnecview.tgz COPYING README HISTORY Imakefile Imakefile_nopng Makefile $(SRCS) xnecview.h config.h xnecview.1x xnecview.man diff --git a/sci-electronics/xnecview/metadata.xml b/sci-electronics/xnecview/metadata.xml new file mode 100644 index 000000000000..2f6ad5330dc3 --- /dev/null +++ b/sci-electronics/xnecview/metadata.xml @@ -0,0 +1,17 @@ + + + + + mario.haustein@hrz.tu-chemnitz.de + Mario Haustein + + + proxy-maint@gentoo.org + Proxy Maintainers + + + Xnecview is a program for visualizing the input and output files of the + NEC antenna simulation software. It runs on Linux/Unix systems with the + X window system. + + diff --git a/sci-electronics/xnecview/xnecview-1.37.ebuild b/sci-electronics/xnecview/xnecview-1.37.ebuild new file mode 100644 index 000000000000..b6663d9c542f --- /dev/null +++ b/sci-electronics/xnecview/xnecview-1.37.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="A program for visualizing NEC2 input and output data" +HOMEPAGE="https://www.pa3fwm.nl/software/xnecview/" +SRC_URI="https://www.pa3fwm.nl/software/xnecview/xnecview-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=media-libs/libpng-1.6 + x11-libs/gtk+:2 +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}/${PN}-tc-variables.patch" +) + +src_compile() { + tc-export CC LD PKG_CONFIG + emake +} + +src_install() { + dobin xnecview + doman xnecview.1x + dodoc README + dodoc HISTORY +}