summaryrefslogtreecommitdiff
path: root/net-im/venom/venom-9999.ebuild
blob: 6ce26803f5f928cf6a73e9aa25eb565e968bc534 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit cmake-utils git-r3 vala

DESCRIPTION="Vala/Gtk+ graphical user interface for Tox"

HOMEPAGE="http://wiki.tox.im/Venom"
EGIT_REPO_URI="https://github.com/naxuroqa/Venom.git"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS=""
IUSE="+libnotify qrcode"

DEPEND="dev-libs/json-glib
	dev-db/sqlite:3
	net-libs/tox
	media-libs/gstreamer
	>=x11-libs/gtk+-3.4:3
	$(vala_depend)
	libnotify? ( x11-libs/libnotify )
	qrcode? ( >=media-gfx/qrencode-3.3.1 )"
RDEPEND="${DEPEND}
	sys-devel/gettext"

src_prepare() {
	epatch_user
}

src_configure() {
	local mycmakeargs=(
		$(cmake-utils_use_enable qrcode QR_ENCODE )
		$(cmake-utils_use_enable libnotify LIBNOTIFY )
	)

	cmake-utils_src_configure
}

pkg_postinst() {
	elog "Ebuild tracks master branch of Venom, which currently"
	elog "does not contain A/V support."
}