summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-11-26 16:05:37 +0100
committerMarek Szuba <marecki@gentoo.org>2021-11-26 16:08:41 +0100
commit2a0620c6b1a5e9870ac4488a6341ee600732cdf6 (patch)
tree59931e77e89d68f58c7ec2baf14e7517342aa14e /net-p2p/gtorrentviewer
parentnet-p2p/gtorrentviewer: make all patches eapply-compliant (diff)
downloadgentoo-2a0620c6b1a5e9870ac4488a6341ee600732cdf6.tar.gz
gentoo-2a0620c6b1a5e9870ac4488a6341ee600732cdf6.tar.bz2
gentoo-2a0620c6b1a5e9870ac4488a6341ee600732cdf6.zip
net-p2p/gtorrentviewer: update EAPI 5 -> 7
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-p2p/gtorrentviewer')
-rw-r--r--net-p2p/gtorrentviewer/gtorrentviewer-0.2b-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
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
+}