blob: 27188a32160d31adbdb0dd5233b838c4abd2962b (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_P="${PN}-${PV/_/}"
inherit xdg readme.gentoo-r1
DESCRIPTION="Fast lightweight tabbed filemanager"
HOMEPAGE="https://github.com/lxde/pcmanfm"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz"
S="${WORKDIR}"/${MY_P}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~riscv ~x86"
IUSE="debug"
RDEPEND="
dev-libs/atk
>=dev-libs/glib-2.18:2
>=lxde-base/menu-cache-1.1.0-r1
sys-apps/util-linux
virtual/freedesktop-icon-theme
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
>=x11-libs/libfm-${PV}:=[gtk]
x11-libs/libX11
x11-libs/pango
x11-misc/shared-mime-info
"
DEPEND="${RDEPEND}"
BDEPEND="
>=dev-util/intltool-0.40
sys-devel/gettext
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${PN}-1.3.2-c99.patch
)
src_configure() {
econf \
--sysconfdir="${EPREFIX}"/etc \
--with-gtk=3 \
$(use_enable debug)
}
src_install() {
default
local DOC_CONTENTS="PCmanFM can optionally support the menu://applications/
location. You should install lxde-base/lxmenu-data for that functionality."
readme.gentoo_create_doc
}
pkg_postinst() {
xdg_pkg_postinst
readme.gentoo_print_elog
}
|