summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Jorna <wraeth@gentoo.org>2016-04-13 23:09:17 +1000
committerSam Jorna <wraeth@gentoo.org>2016-04-13 23:11:33 +1000
commit7728929a06a8a3dac748378936192c37b046f9de (patch)
tree0cb00c90b089e6f3ea232c1ed44a44546969893d /net-irc/quassel-irssi
parentdev-util/cmocka: fix detection of librt.so in non-native ABIs (diff)
downloadgentoo-7728929a06a8a3dac748378936192c37b046f9de.tar.gz
gentoo-7728929a06a8a3dac748378936192c37b046f9de.tar.bz2
gentoo-7728929a06a8a3dac748378936192c37b046f9de.zip
net-irc/quassel-irssi: new package
quassel-irssi is a plugin module for the Irssi IRC client to allow connecting to a Quassel core, similar to a Bouncer. Package-Manager: portage-2.2.28
Diffstat (limited to 'net-irc/quassel-irssi')
-rw-r--r--net-irc/quassel-irssi/Manifest2
-rw-r--r--net-irc/quassel-irssi/metadata.xml16
-rw-r--r--net-irc/quassel-irssi/quassel-irssi-0_p20160412.ebuild41
3 files changed, 59 insertions, 0 deletions
diff --git a/net-irc/quassel-irssi/Manifest b/net-irc/quassel-irssi/Manifest
new file mode 100644
index 000000000000..c5a4fa06a634
--- /dev/null
+++ b/net-irc/quassel-irssi/Manifest
@@ -0,0 +1,2 @@
+DIST quassel-irssi-0_p20160412.tar.gz 30993 SHA256 fb4afa32932e1dedb32121034d2327e5f7368e7557a55ae17ff6673f7720c786 SHA512 258db507ef8127b9086cc2c6157b23475c86329cae2040b0247aedfbba1aac8b7198ee86e7d0065e2844a5cc7db882011fa82bc60ce67abed8b62b9df7509a26 WHIRLPOOL 25c456473ed320ec573a151333df29d496604bc940a63f8a69758f63f2f7c18da3203969cef116a10545275632db22f524d2ad2f1875699efc3922b804db6e4e
+DIST quasselc-0_p20150406.tar.gz 25609 SHA256 45b76685b1ec76f22309897d2f99cfe4e43c35148cde4d119f5e65f6b0efe855 SHA512 53d3e4629feaa05eb64a24deaa2a1423acd6bb4ff8dabd83661ef9cf9b3d5f8317c8896a48cd6f3a374b8585b2986211c455fb8813458e2a086973a6b96c9d0e WHIRLPOOL d0c2f2dfc5bf6c2b9e91b00ad11dfabfe6d3ce34e6b727ce4f3613e537dd6d5044251098e51724043483756022cb7105a2b9014182cfad3547d0222faf48d451
diff --git a/net-irc/quassel-irssi/metadata.xml b/net-irc/quassel-irssi/metadata.xml
new file mode 100644
index 000000000000..508c6b3e1163
--- /dev/null
+++ b/net-irc/quassel-irssi/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wraeth@gentoo.org</email>
+ <name>Sam Jorna</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">phhusson/quassel-irssi</remote-id>
+ <bugs-to>https://github.com/phhusson/quassel-irssi/issues</bugs-to>
+ </upstream>
+ <longdescription lang="en">
+ A plugin for the Irssi IRC client to allow connecting to a Quassel core
+ hosted either locally or remotely.
+ </longdescription>
+</pkgmetadata>
diff --git a/net-irc/quassel-irssi/quassel-irssi-0_p20160412.ebuild b/net-irc/quassel-irssi/quassel-irssi-0_p20160412.ebuild
new file mode 100644
index 000000000000..74610e5149da
--- /dev/null
+++ b/net-irc/quassel-irssi/quassel-irssi-0_p20160412.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# https://github.com/phhusson/quassel-irssi/pull/10 if accepted will
+# allow QuasselC to be installed as a separate package.
+QC_VER="0_p20150406"
+
+DESCRIPTION="Irssi module to connect to Quassel cores."
+HOMEPAGE="https://github.com/phhusson/quassel-irssi/"
+SRC_URI="https://dev.gentoo.org/~wraeth/distfiles/${P}.tar.gz
+ https://dev.gentoo.org/~wraeth/distfiles/quasselc-${QC_VER}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="net-irc/irssi"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ mv "${WORKDIR}"/quasselc-"${QC_VER}"/* "${S}"/core/lib/ || die
+ default
+}
+
+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."
+}