1
0
mirror of synced 2024-12-22 12:50:33 +01:00

live utox

This commit is contained in:
Horea Christian 2017-12-12 14:51:10 +01:00
parent b1561e2781
commit 09a37b8453

View File

@ -0,0 +1,51 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3 xdg-utils gnome2-utils cmake-utils
DESCRIPTION="Lightweight Tox client"
HOMEPAGE="https://utox.io"
SRC_URI=""
EGIT_REPO_URI="https://github.com/uTox/uTox.git"
LICENSE="GPL-3"
SLOT="0"
IUSE="+dbus filter_audio test"
KEYWORDS=""
RDEPEND="net-libs/tox[av]
media-libs/freetype
filter_audio? ( media-libs/libfilteraudio )
media-libs/libv4l
media-libs/opus
media-libs/libvpx
x11-libs/libXrender
media-libs/fontconfig
media-libs/openal
x11-libs/libX11
x11-libs/libXext
dbus? ( sys-apps/dbus )"
DEPEND="${RDEPEND}
test? ( dev-libs/check )
virtual/pkgconfig"
src_configure() {
local mycmakeargs=(
-DENABLE_FILTERAUDIO=$(usex filter_audio ON OFF)
-DENABLE_DBUS=$(usex dbus ON OFF)
-DENABLE_TESTS=$(usex test ON OFF)
)
cmake-utils_src_configure
}
pkg_postinst() {
xdg_desktop_database_update
gnome2_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
gnome2_icon_cache_update
}