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 AA3B6158086 for ; Fri, 26 Nov 2021 15:08:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E15C62BC01F; Fri, 26 Nov 2021 15:08:49 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C33CD2BC01F for ; Fri, 26 Nov 2021 15:08:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A2010343142 for ; Fri, 26 Nov 2021 15:08:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 026421D6 for ; Fri, 26 Nov 2021 15:08:47 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1637939321.2a0620c6b1a5e9870ac4488a6341ee600732cdf6.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/gtorrentviewer/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/gtorrentviewer/gtorrentviewer-0.2b-r1.ebuild X-VCS-Directories: net-p2p/gtorrentviewer/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 2a0620c6b1a5e9870ac4488a6341ee600732cdf6 X-VCS-Branch: master Date: Fri, 26 Nov 2021 15:08:47 +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: 4b9fee70-2848-4310-a74f-dc3e0e079250 X-Archives-Hash: 5fadc1174683cf24a2602f8d41fd7f3e commit: 2a0620c6b1a5e9870ac4488a6341ee600732cdf6 Author: Marek Szuba gentoo org> AuthorDate: Fri Nov 26 15:05:37 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Fri Nov 26 15:08:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a0620c6 net-p2p/gtorrentviewer: update EAPI 5 -> 7 Signed-off-by: Marek Szuba gentoo.org> .../gtorrentviewer/gtorrentviewer-0.2b-r1.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/net-p2p/gtorrentviewer/gtorrentviewer-0.2b-r1.ebuild b/net-p2p/gtorrentviewer/gtorrentviewer-0.2b-r1.ebuild new file mode 100644 index 000000000000..3ca55e1ef452 --- /dev/null +++ b/net-p2p/gtorrentviewer/gtorrentviewer-0.2b-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +GNOME2_EAUTORECONF="yes" + +inherit gnome2 + +MY_PN="GTorrentViewer" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A GTK2-based viewer and editor for BitTorrent meta files" +HOMEPAGE="http://gtorrentviewer.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/${PN}/${MY_PN}/${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" +SLOT="0" + +S="${WORKDIR}"/${MY_P} + +RDEPEND=" + net-misc/curl + >=x11-libs/gtk+-2.4:2 + >=dev-libs/glib-2.4:2 +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-curl-headers.patch + "${FILESDIR}"/${P}-underlinking.patch + "${FILESDIR}"/${P}-desktop.patch +) + +src_prepare() { + # Bug #426262 + mv configure.in configure.ac || die + + # Fix tests + echo "data/gtorrentviewer.desktop.in" >> po/POTFILES.in || die + + gnome2_src_prepare +}