Skip to content

Commit

Permalink
net-im/qtox: update to EAPI 6
Browse files Browse the repository at this point in the history
Also remove no longer needed part from live ebuild, since upstream
removed support for filter_audio completely.

Package-Manager: portage-2.2.28
Closes: gentoo#1689
See-Also: qTox/qTox@792103f

Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
zetok authored and monsieurp committed Jun 22, 2016
1 parent a061e3c commit 78b5a0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
6 changes: 1 addition & 5 deletions net-im/qtox/qtox-1.3.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
EAPI=6

inherit eutils qmake-utils

Expand Down Expand Up @@ -56,10 +56,6 @@ pkg_pretend() {
fi
}

src_prepare() {
epatch_user
}

src_configure() {
use gtk || local NO_GTK_SUPPORT="ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND=NO ENABLE_SYSTRAY_GTK_BACKEND=NO"
use X || local NO_X_SUPPORT="DISABLE_PLATFORM_EXT=YES"
Expand Down
6 changes: 1 addition & 5 deletions net-im/qtox/qtox-1.4.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
EAPI=6

inherit eutils qmake-utils

Expand Down Expand Up @@ -57,10 +57,6 @@ pkg_pretend() {
fi
}

src_prepare() {
epatch_user
}

src_configure() {
use gtk || local NO_GTK_SUPPORT="ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND=NO ENABLE_SYSTRAY_GTK_BACKEND=NO"
use X || local NO_X_SUPPORT="DISABLE_PLATFORM_EXT=YES"
Expand Down
9 changes: 1 addition & 8 deletions net-im/qtox/qtox-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
EAPI=6

inherit eutils qmake-utils git-r3

Expand Down Expand Up @@ -56,18 +56,11 @@ pkg_pretend() {
fi
}

src_prepare() {
epatch_user
}

src_configure() {
use gtk || local NO_GTK_SUPPORT="ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND=NO ENABLE_SYSTRAY_GTK_BACKEND=NO"
use X || local NO_X_SUPPORT="DISABLE_PLATFORM_EXT=YES"
# filter_audio is disabled since it's not available in Gentoo, and
# support for it in qTox at the present is ~broken anyway
eqmake5 \
PREFIX="${D}/usr" \
DISABLE_FILTER_AUDIO=YES \
${NO_GTK_SUPPORT} \
${NO_X_SUPPORT}
}

0 comments on commit 78b5a0f

Please sign in to comment.