summaryrefslogtreecommitdiff
path: root/net-p2p/fopnu/fopnu-1.68.ebuild
blob: d086546fc2ae9e4fc91e40af804d710aabe87d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop xdg

DESCRIPTION="P2P file sharing system"
HOMEPAGE="https://www.fopnu.com"
SRC_URI="
	amd64? ( https://download2.fopnu.com/download/${P}-1.x86_64.manualinstall.tar.gz -> ${P}.tar.gz )
"

S="${WORKDIR}/${P}-1.x86_64.manualinstall"

LICENSE="Fopnu"
SLOT="0"
KEYWORDS="-* ~amd64"
RESTRICT="bindist mirror strip"

RDEPEND="
	dev-libs/dbus-glib
	dev-libs/glib
	sys-apps/dbus
	sys-libs/glibc
	virtual/zlib
	x11-libs/cairo
	x11-libs/gdk-pixbuf:2
	x11-libs/gtk+:3
	x11-libs/pango
"
DEPEND="${RDEPEND}"

QA_PREBUILT="usr/bin/fopnu"

src_install() {
	sed -i "/^Categories/ s/Internet;//" fopnu.desktop

	dobin fopnu
	domenu fopnu.desktop
	doicon -s 48 fopnu.png
}