summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Jorna <wraeth@gentoo.org>2017-01-11 11:08:28 +1100
committerSam Jorna <wraeth@gentoo.org>2017-01-11 12:49:37 +1100
commit3bcc174fb55bca0b814c8f2673804ec99c0bbaec (patch)
treee37daa6daac4f048393a1683afd16c193e1e2c09 /net-irc
parentnet-libs/quasselc: new package to support net-irc/quassel-irssi (diff)
downloadgentoo-3bcc174fb55bca0b814c8f2673804ec99c0bbaec.tar.gz
gentoo-3bcc174fb55bca0b814c8f2673804ec99c0bbaec.tar.bz2
gentoo-3bcc174fb55bca0b814c8f2673804ec99c0bbaec.zip
net-irc/quassel-irssi: bump to snapshot 20170107
Bump to newer snapshot dated 2017-01-07. Fixes CFLAGS and CC. Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/quassel-irssi/Manifest1
-rw-r--r--net-irc/quassel-irssi/quassel-irssi-0_p20170107.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/net-irc/quassel-irssi/Manifest b/net-irc/quassel-irssi/Manifest
index c5a4fa06a634..ae077be61106 100644
--- a/net-irc/quassel-irssi/Manifest
+++ b/net-irc/quassel-irssi/Manifest
@@ -1,2 +1,3 @@
DIST quassel-irssi-0_p20160412.tar.gz 30993 SHA256 fb4afa32932e1dedb32121034d2327e5f7368e7557a55ae17ff6673f7720c786 SHA512 258db507ef8127b9086cc2c6157b23475c86329cae2040b0247aedfbba1aac8b7198ee86e7d0065e2844a5cc7db882011fa82bc60ce67abed8b62b9df7509a26 WHIRLPOOL 25c456473ed320ec573a151333df29d496604bc940a63f8a69758f63f2f7c18da3203969cef116a10545275632db22f524d2ad2f1875699efc3922b804db6e4e
+DIST quassel-irssi-0_p20170107.zip 42745 SHA256 d159b7db11dbd741fbbc1569f3583301fc36697d5efb770696bb7f8813ce2e67 SHA512 1d7e4e15af2d73fd7e581c517384604a41b68e3a5152dcaf2776a20bc15b459e4a5a7caf39a9c06a11e65ad5d9fea0aa81fa001caa9060f55b821e12b4fed814 WHIRLPOOL a74b6452fe0cece5b63e326dc10522a45d6bbb7a80554027af52f8a8dd9a690d862ab75201f98260eed841b473cfc10bbe21ee78ec878f808c19e69156944c5e
DIST quasselc-0_p20150406.tar.gz 25609 SHA256 45b76685b1ec76f22309897d2f99cfe4e43c35148cde4d119f5e65f6b0efe855 SHA512 53d3e4629feaa05eb64a24deaa2a1423acd6bb4ff8dabd83661ef9cf9b3d5f8317c8896a48cd6f3a374b8585b2986211c455fb8813458e2a086973a6b96c9d0e WHIRLPOOL d0c2f2dfc5bf6c2b9e91b00ad11dfabfe6d3ce34e6b727ce4f3613e537dd6d5044251098e51724043483756022cb7105a2b9014182cfad3547d0222faf48d451
diff --git a/net-irc/quassel-irssi/quassel-irssi-0_p20170107.ebuild b/net-irc/quassel-irssi/quassel-irssi-0_p20170107.ebuild
new file mode 100644
index 000000000000..00f470f368eb
--- /dev/null
+++ b/net-irc/quassel-irssi/quassel-irssi-0_p20170107.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+# https://github.com/phhusson/quassel-irssi/pull/10 if accepted will
+# allow QuasselC to be installed as a separate package.
+
+# Commit Date: Sat, 7 Jan 2017 14:50:15 +0000
+COMMIT="f23e97a6188129cfae4c52f7e1a75940185454f4"
+
+DESCRIPTION="Irssi module to connect to Quassel cores."
+HOMEPAGE="https://github.com/phhusson/quassel-irssi/"
+SRC_URI="https://github.com/phhusson/${PN}/archive/${COMMIT}.zip -> ${PF}.zip"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# fails to build with irssi-1.0
+RDEPEND="<=net-irc/irssi-0.8.21"
+DEPEND="${RDEPEND}
+ net-libs/quasselc"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+src_prepare() {
+ default
+
+ sed -e "s:pkg-config:$(tc-getPKG_CONFIG):" \
+ -e 's:^CFLAGS=.*:CFLAGS+=$(IRSSI_CFLAGS) $(QUASSELC_FLAGS):' \
+ -i "${S}/core/Makefile" || die
+
+ sed -e 's:gcc -shared:$(CC) -shared:' -i "${S}/core/Makefile" || die
+
+ tc-export CC
+ export SYSTEM_QUASSELC=1
+}
+
+src_compile() {
+ emake IRSSI_LIB="${ROOT}usr/$(get_libdir)/irssi" -C core
+}
+
+src_install() {
+ emake DESTDIR="${D}" LIBDIR="${ROOT}usr/$(get_libdir)" -C core install
+ default
+}
+
+pkg_postinst() {
+ elog "Note that this requires additional configuration of your irssi client. See"
+ elog " ${ROOT}usr/share/doc/${P}/README.md.bz2'"
+ elog "for instructions."
+}