summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-12-03 16:11:54 -0500
committerTim Harder <radhermit@gentoo.org>2017-12-03 16:14:29 -0500
commit943925b6b1dc408400b8a0141c36b081482c6514 (patch)
tree957bcef0a1ea8235e402d91516cdcb370dff9bb3 /net-irc/weechat/weechat-9999.ebuild
parentmedia-sound/abcmidi: version bump to 2017.11.27 (diff)
downloadgentoo-943925b6b1dc408400b8a0141c36b081482c6514.tar.gz
gentoo-943925b6b1dc408400b8a0141c36b081482c6514.tar.bz2
gentoo-943925b6b1dc408400b8a0141c36b081482c6514.zip
net-irc/weechat: version bump to 2.0
Diffstat (limited to 'net-irc/weechat/weechat-9999.ebuild')
-rw-r--r--net-irc/weechat/weechat-9999.ebuild18
1 files changed, 15 insertions, 3 deletions
diff --git a/net-irc/weechat/weechat-9999.ebuild b/net-irc/weechat/weechat-9999.ebuild
index 674f4cb5e57f..59575ed9f9d6 100644
--- a/net-irc/weechat/weechat-9999.ebuild
+++ b/net-irc/weechat/weechat-9999.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/weechat/weechat.git"
else
SRC_URI="https://weechat.org/files/src/${P}.tar.xz"
- KEYWORDS="~amd64 ~x86"
+ KEYWORDS="~amd64 ~x86 ~x64-macos"
fi
DESCRIPTION="Portable and multi-interface IRC client"
@@ -21,9 +21,9 @@ LICENSE="GPL-3"
SLOT="0"
NETWORKS="+irc"
-PLUGINS="+alias +buflist +charset +exec +fifo +logger +relay +scripts +spell +trigger +xfer"
+PLUGINS="+alias +buflist +charset +exec +fset +fifo +logger +relay +scripts +spell +trigger +xfer"
# dev-lang/v8 was dropped from Gentoo so we can't enable javascript support
-SCRIPT_LANGS="guile lua +perl +python ruby tcl"
+SCRIPT_LANGS="guile lua +perl php +python ruby tcl"
LANGS=" cs de es fr hu it ja pl pt pt_BR ru tr"
IUSE="doc nls +ssl test ${LANGS// / linguas_} ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
@@ -38,6 +38,7 @@ RDEPEND="
lua? ( dev-lang/lua:0[deprecated] )
nls? ( virtual/libintl )
perl? ( dev-lang/perl:= )
+ php? ( >=dev-lang/php-7.0:* )
python? ( ${PYTHON_DEPS} )
ruby? ( || ( dev-lang/ruby:2.4 dev-lang/ruby:2.3 dev-lang/ruby:2.2 ) )
ssl? ( net-libs/gnutls )
@@ -95,6 +96,15 @@ src_prepare() {
# install docs in correct directory
sed -i "s#\${SHAREDIR}/doc/\${PROJECT_NAME}#\0-${PV}/html#" doc/*/CMakeLists.txt || die
+
+ if [[ ${CHOST} == *-darwin* ]]; then
+ # fix linking error on Darwin
+ sed -i "s/+ get_config_var('LINKFORSHARED')//" \
+ cmake/FindPython.cmake || die
+ # allow to find the plugins by default
+ sed -i 's/".so,.dll"/".bundle,.so,.dll"/' \
+ src/core/wee-config.c || die
+ fi
}
src_configure() {
@@ -108,6 +118,7 @@ src_configure() {
-DENABLE_BUFLIST=$(usex buflist)
-DENABLE_CHARSET=$(usex charset)
-DENABLE_EXEC=$(usex exec)
+ -DENABLE_FSET=$(usex fset)
-DENABLE_FIFO=$(usex fifo)
-DENABLE_IRC=$(usex irc)
-DENABLE_LOGGER=$(usex logger)
@@ -115,6 +126,7 @@ src_configure() {
-DENABLE_SCRIPT=$(usex scripts)
-DENABLE_SCRIPTS=$(usex scripts)
-DENABLE_PERL=$(usex perl)
+ -DENABLE_PHP=$(usex php)
-DENABLE_PYTHON=$(usex python)
-DENABLE_RUBY=$(usex ruby)
-DENABLE_LUA=$(usex lua)