Upgrade requirements.
This commit is contained in:
parent
6a46097840
commit
611a5229aa
|
@ -1,15 +1,15 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils fdo-mime git-r3 gnome2-utils toolchain-funcs
|
||||
inherit gnome2-utils cmake-utils git-r3
|
||||
|
||||
DESCRIPTION="Lightweight Tox client"
|
||||
HOMEPAGE="http://utox.org"
|
||||
EGIT_REPO_URI="git://github.com/GrayHatter/uTox.git
|
||||
https://github.com/GrayHatter/uTox.git"
|
||||
HOMEPAGE="https://github.com/uTox/uTox"
|
||||
EGIT_REPO_URI="https://github.com/uTox/uTox.git
|
||||
git://github.com/uTox/uTox.git"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
@ -26,43 +26,3 @@ RDEPEND="net-libs/tox[av]
|
|||
dbus? ( sys-apps/dbus )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use filter_audio && [ "${PROFILE_IS_HARDENED}" = 1 ]; then
|
||||
ewarn "Building µTox with support for filter_audio using hardened profile results in"
|
||||
ewarn "crash upon start. For details, see https://github.com/notsecure/uTox/issues/844"
|
||||
fi
|
||||
# respect CFLAGS
|
||||
sed -i \
|
||||
-e '/CFLAGS/s# -g ##' \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
DBUS=$(usex dbus "1" "0") \
|
||||
FILTER_AUDIO=$(usex filter_audio "1" "0")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="/usr" install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue