1
0
mirror of synced 2024-11-10 23:18:57 +01:00
TheChymera-overlay/net-im/utox/utox-9999.ebuild
Horea Christian 09a37b8453 live utox
2017-12-12 14:51:10 +01:00

52 lines
1.0 KiB
Bash

# 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
}