Permalink
Browse files

Fix barnowl dependencies

  • Loading branch information...
1 parent d5b93a0 commit 63e436a25e38047706b80828d0fe7222ab45dd1e @wthrowe committed Dec 17, 2017
Showing with 92 additions and 1 deletion.
  1. +2 −1 net-im/barnowl/Manifest
  2. +90 −0 net-im/barnowl/barnowl-1.10-r1.ebuild
View
@@ -1,7 +1,8 @@
AUX barnowl-1.9-system-Module-Install.patch 1023 SHA256 306bd5bb709bc761af0624eb8f9a4d48bf62bfc0033be408dec3cae0e3ad68b1 SHA512 05ed9ae13b9fea6752cd02541036ef45ba44dcb44b37e4a05d921e589d23c23992435fc4e221c969ba132eb974c7151a324ebe5649efeb6778f0545ea254d58e WHIRLPOOL 5e8432307a596ec57150477223ff618251ba7bc42428bde659ed0858ff7b6c678628a8f38c22087e4cf8777ebe870ffca918bd34e35b3122ced5e8dd86c74549
DIST barnowl-1.10-src.tgz 797779 SHA256 4aa88536506516e1a88a59a8a06407fe155b563e64aeea5637fa332633f7b5e1 SHA512 36ca272361d96bf120a578ec8d92a3aa53ddfbe3e53565405707cabc7c13aaf4b320bee01b6d8c80fe6b4f793876fa4a7cf238bcb346125e0dd500540c3ba49a WHIRLPOOL 133b091ff5727cd308f497e4d5447b28e9f8c861ac2845672d3a719374e7efd3ee7adc3265a1b565507f9995b076ac83836b3670203976d382f3f99c765b38f0
-DIST barnowl-1.8-src.tgz 788109 SHA256 3008cc72cfd2c6748a5aea3fa56b06cb3715c202b81c96e980c0ddc816bb6f53
+DIST barnowl-1.8-src.tgz 788109 SHA256 3008cc72cfd2c6748a5aea3fa56b06cb3715c202b81c96e980c0ddc816bb6f53 SHA512 9083c34727ff9d22c804f4da3a4f6f82ed871632820788ded79d6eb99e9086edff4f894b80016d169a504695a4aff890e7597935f64d2c81914a30d691c62da4 WHIRLPOOL 690c0e36f4cc02956c66622d45358c183e42ba2de7594e8e2d62a68155e9f1846df315f0146d65453954ec28d8d2530851d55479b27a400875a8d805a6ed3398
DIST barnowl-1.9-src.tgz 870864 SHA256 7586299c2c2c028afd2a6457c4de3bdd230ae33443fc00097c081c96a3c693d2 SHA512 9cce2a1d9383ada95a691f02dc2a1702362f40eb69d5c81bd4393ace982cecc5f77bbdd0d9f0a1dd569cd958160f46574c8e29dad6ed905d3d024ce1ffb6d74a WHIRLPOOL a473eaacaf0fe42a3e43bf0ab602786822912f3224bba8ac1ac9431752db5b7e9a71c9b8eaf7c357ff3d30e588f9fc28ceb0bac53e12e76c76dc7fdac347b49b
+EBUILD barnowl-1.10-r1.ebuild 2400 SHA256 8f176cf2a6d4ed97247efb6ee573aeb153511b87c73ae97e8e1abdafabee8636 SHA512 5223d618f6fc7ee59f089a64eeb0c3f02fdb8c4a43a6e59f477b885198a26b92e1a424f301b5979cebb063db44c068863302df88bfbc3efa31a1097a2ef2fe36 WHIRLPOOL 2a0c5c46c6bfcefacceff0df967045b6115798f93d424687b98c698f406118175b9eb6d55ba9502f851b51abf0f44b77bbd237049e518946b4c7c4d0e8b4cdeb
EBUILD barnowl-1.10.ebuild 2408 SHA256 0588fddfd2482d3b2c1ab45d87557d149cc0df98e029ffa523a581b5da482e76 SHA512 19044a4ddce2cc765792013dfd636f6aa9e85f3ca047db1b4109d741b6eda716961d437f5483c8241fe4016ffea8fb206591d0976447201a6006828a6e2113cc WHIRLPOOL f3c4ec42671abbf70bbc6688dbda445878bc09c0e051547ea6960c9d6bea76c6b16c322274b276722bd48a00c55e4915dbdd6c1e57b2a89b546a7cb6729e66d2
EBUILD barnowl-1.8.ebuild 1870 SHA256 478d762aa3d925374774f3edebff4513e2bbb9d9a00f18a93c650c17a668844b SHA512 2fec3caed4cfe5ea8ad7d2db477ac5fc13a3d274ebf02102fb41b22b3e22b25cd8d98c0bf88c612b9e74a552ff6db66122c76e7172fe55d850e3bedbc0f4570c WHIRLPOOL ce1b605ec3d395e309fd9b87facb61bf37c3c75d66dbac6d847ac646f879cc2693dccba871db39adc0c01b567fde065da1f4883da685fd23f925d607aa814672
EBUILD barnowl-1.9-r1.ebuild 3001 SHA256 ed06ffea11be8d502e2b559a0a5e7b8d43c60717273e0d73a083cda3129a12ef SHA512 05d644770782c72061661d8d8ce58a49a9df9262be67b8ca4391481e4b9c6737d23233f0ebee0628a6837ef4b8049acad3a7a6a85dc46f973814fb4a3c9ddc58 WHIRLPOOL 34842b118224e8c1253463ccbac2842520300b6cb6f16ee660c4262039dd0f87882ad2590d98f86c93147eeaa31e93bfde2ab071097e5bc50a7ccc77fc8dd04a
@@ -0,0 +1,90 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A curses-based IM client"
+HOMEPAGE="https://barnowl.mit.edu/"
+SRC_URI="https://barnowl.mit.edu/dist/${P}-src.tgz"
+
+SLOT="0"
+LICENSE="Sleepycat LGPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="+zephyr irc jabber twitter wordwrap"
+
+COMMON_DEPEND="dev-lang/perl:=
+ dev-libs/openssl:0=
+ dev-libs/glib:2
+ sys-libs/ncurses:0=[unicode]
+ dev-perl/AnyEvent
+ dev-perl/Class-Accessor
+ dev-perl/glib-perl
+ dev-perl/PAR
+ zephyr? ( net-im/zephyr )"
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+ app-arch/zip
+ dev-perl/Module-Install
+ dev-perl/ExtUtils-Depends"
+RDEPEND="${COMMON_DEPEND}
+ jabber? ( dev-perl/Net-DNS
+ dev-perl/Authen-SASL
+ dev-perl/IO-Socket-SSL )
+ twitter? ( dev-perl/HTML-Parser
+ dev-perl/Net-Twitter-Lite )
+ irc? ( dev-perl/AnyEvent-IRC )
+ wordwrap? ( dev-perl/Text-Autoformat )"
+ # facebook? ( dev-perl/AnyEvent-HTTP
+ # dev-perl/Any-Moose
+ # dev-perl/DateTime
+ # dev-perl/DateTime-Format-Strptime
+ # dev-perl/JSON
+ # dev-perl/MIME-Base64-URLSafe
+ # dev-perl/Ouch
+ # dev-perl/URI
+ # dev-perl/URI-Encode )"
+
+# The package contains modified budled versions of the following perl modules:
+# Facebook::Graph (not in portage)
+# Net::Jabber (dev-perl/Net-Jabber)
+# Net::XMPP (dev-perl/Net-XMPP)
+# XML::Stream (dev-perl/XML-Stream)
+# I think the package will correctly pick up its bundled versions, but I
+# haven't tested because I don't use any of the modules using them.
+
+src_prepare() {
+ use jabber || \
+ sed -i -e '/^MODULES =/s/Jabber//' perl/modules/Makefile.am
+ use irc || \
+ sed -i -e '/^MODULES =/s/IRC//' perl/modules/Makefile.am
+ use wordwrap || \
+ sed -i -e '/^MODULES =/s/WordWrap//' perl/modules/Makefile.am
+ use twitter || \
+ sed -i -e '/^MODULES =/s/Twitter//' perl/modules/Makefile.am
+ # Facbook module is currently broken.
+ #use facebook ||
+ sed -i -e '/^MODULES =/s/Facebook//' perl/modules/Makefile.am
+
+ eapply_user
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --docdir="/usr/share/doc/${PF}" \
+ --without-stack-protector \
+ --without-krb4 \
+ $(use_with zephyr)
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+
+ dodoc AUTHORS ChangeLog || die
+}

0 comments on commit 63e436a

Please sign in to comment.