commit: b929089bc2989d71e6d3d32ceaafaa85ecf32dc6 Author: Julian Ospald <hasufell <AT> gentoo <DOT> org> AuthorDate: Wed Sep 30 20:08:34 2015 +0000 Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org> CommitDate: Wed Sep 30 20:16:06 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b929089b
net-irc/hexchat: add libressl support ...exchat-9999.ebuild => hexchat-2.10.2-r1.ebuild} | 28 +++++++--------------- net-irc/hexchat/hexchat-9999.ebuild | 7 ++++-- 2 files changed, 14 insertions(+), 21 deletions(-) diff --git a/net-irc/hexchat/hexchat-9999.ebuild b/net-irc/hexchat/hexchat-2.10.2-r1.ebuild similarity index 81% copy from net-irc/hexchat/hexchat-9999.ebuild copy to net-irc/hexchat/hexchat-2.10.2-r1.ebuild index 064761a..6d16041 100644 --- a/net-irc/hexchat/hexchat-9999.ebuild +++ b/net-irc/hexchat/hexchat-2.10.2-r1.ebuild @@ -1,21 +1,20 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) -inherit autotools eutils fdo-mime gnome2-utils mono-env multilib python-single-r1 git-2 +inherit eutils fdo-mime gnome2-utils mono-env multilib python-single-r1 DESCRIPTION="Graphical IRC client based on XChat" HOMEPAGE="http://hexchat.github.io/" -SRC_URI="" -EGIT_REPO_URI="git://github.com/hexchat/hexchat.git" +SRC_URI="https://dl.hexchat.net/hexchat/${P}.tar.xz" LICENSE="GPL-2 plugin-fishlim? ( MIT )" SLOT="0" -KEYWORDS="" -IUSE="dbus +gtk ipv6 libcanberra libnotify libproxy nls ntlm perl +plugins plugin-checksum plugin-doat plugin-fishlim plugin-sysinfo python spell ssl theme-manager" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux" +IUSE="dbus +gtk ipv6 libcanberra libnotify libproxy libressl nls ntlm perl +plugins plugin-checksum plugin-doat plugin-fishlim plugin-sysinfo python spell ssl theme-manager" REQUIRED_USE="plugins? ( python? ( ${PYTHON_REQUIRED_USE} ) )" DEPEND="dev-libs/glib:2 @@ -32,7 +31,10 @@ DEPEND="dev-libs/glib:2 python? ( ${PYTHON_DEPS} ) ) spell? ( app-text/iso-codes ) - ssl? ( dev-libs/openssl:0 ) + ssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + ) theme-manager? ( dev-lang/mono )" RDEPEND="${DEPEND} spell? ( app-text/enchant )" @@ -69,19 +71,7 @@ pkg_setup() { } src_prepare() { - sed -i \ - -e "/intl\/Makefile/d" \ - -e "/po\/Makefile.in/d" \ - configure.ac || die - sed -i -e "/SUBDIRS/s/intl//" Makefile.am || die - epatch -p1 \ - "${FILESDIR}"/${PN}-2.9.5-autoconf-missing-macros.patch epatch_user - cp $(type -p gettextize) "${T}"/ || die - sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize" || die - einfo "Running gettextize -f --no-changelog..." - "${T}"/gettextize -f --no-changelog > /dev/null || die "gettexize failed" - AT_M4DIR="m4" eautoreconf } src_configure() { diff --git a/net-irc/hexchat/hexchat-9999.ebuild b/net-irc/hexchat/hexchat-9999.ebuild index 064761a..3e10703 100644 --- a/net-irc/hexchat/hexchat-9999.ebuild +++ b/net-irc/hexchat/hexchat-9999.ebuild @@ -15,7 +15,7 @@ EGIT_REPO_URI="git://github.com/hexchat/hexchat.git" LICENSE="GPL-2 plugin-fishlim? ( MIT )" SLOT="0" KEYWORDS="" -IUSE="dbus +gtk ipv6 libcanberra libnotify libproxy nls ntlm perl +plugins plugin-checksum plugin-doat plugin-fishlim plugin-sysinfo python spell ssl theme-manager" +IUSE="dbus +gtk ipv6 libcanberra libnotify libproxy libressl nls ntlm perl +plugins plugin-checksum plugin-doat plugin-fishlim plugin-sysinfo python spell ssl theme-manager" REQUIRED_USE="plugins? ( python? ( ${PYTHON_REQUIRED_USE} ) )" DEPEND="dev-libs/glib:2 @@ -32,7 +32,10 @@ DEPEND="dev-libs/glib:2 python? ( ${PYTHON_DEPS} ) ) spell? ( app-text/iso-codes ) - ssl? ( dev-libs/openssl:0 ) + ssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + ) theme-manager? ( dev-lang/mono )" RDEPEND="${DEPEND} spell? ( app-text/enchant )"
