summaryrefslogtreecommitdiff
path: root/media-gfx/gphotofs/gphotofs-1.0.ebuild
blob: ce47bf41acd39e68b05ca2487608fd625149958c (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
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/marcusmeissner.asc
inherit autotools verify-sig

DESCRIPTION="FUSE file system for interfacing with digital cameras using gphoto2"
HOMEPAGE="http://www.gphoto.org/"
SRC_URI="
	https://github.com/gphoto/gphotofs/releases/download/v${PV}/${P}.tar.bz2
	verify-sig? ( https://github.com/gphoto/gphotofs/releases/download/v${PV}/${P}.tar.bz2.asc )
"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"

PATCHES=(
	"${FILESDIR}"/"${P}"-fuse-prototype.patch
	"${FILESDIR}"/"${P}"-largefile.patch
)

RDEPEND="
	dev-libs/glib:2
	media-libs/libgphoto2:=
	sys-fs/fuse:3=
"
DEPEND="${RDEPEND}"
BDEPEND="
	sys-devel/gettext
	virtual/pkgconfig
	verify-sig? ( sec-keys/openpgp-keys-marcusmeissner )
"

src_prepare() {
	default
	eautoreconf
}