public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/mgorny:master commit in: net-im/ekg2/, profiles/
@ 2011-02-05 10:04 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2011-02-05 10:04 UTC (permalink / raw
  To: gentoo-commits

commit:     b1e84b7cad4e163794b8daf5031d4cd6d4533035
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  5 10:03:44 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb  5 10:03:55 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=b1e84b7c

net-im/ekg2: Add an -r1 ebuild for the new-autotools branch.

(Portage version: 2.2.0_alpha19_p84/git/Linux x86_64, signed Manifest commit with key 05DE07BB)

---
 net-im/ekg2/Manifest            |    7 ++-
 net-im/ekg2/ekg2-9999-r1.ebuild |   94 +++++++++++++++++++++++++++++++++++++++
 profiles/package.mask           |    3 +
 3 files changed, 101 insertions(+), 3 deletions(-)

diff --git a/net-im/ekg2/Manifest b/net-im/ekg2/Manifest
index 96f8baa..3d0fc5c 100644
--- a/net-im/ekg2/Manifest
+++ b/net-im/ekg2/Manifest
@@ -1,12 +1,13 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
+EBUILD ekg2-9999-r1.ebuild 2110 RMD160 164b346d14a0d117adc73bb838ed3bf38fdb767d SHA1 7f63d66cba98ffca317bdbe3fe065f79642eced1 SHA256 428534e1f94e748e77ffee3fcfdd8a08eccde7c48b4100287516f4713572cc9d
 EBUILD ekg2-9999.ebuild 3052 RMD160 5212e70c45a11daf759519bb53651aad8858e45b SHA1 6fa04252b419f6bfdf41d61060907dec6e85e230 SHA256 dfb75b6410ec21195eb9509cc7ab2f60fadd07fea2c68df2697b57f8b5204e6c
 MISC metadata.xml 1408 RMD160 d4b8073fa85da36c447f9916dad66232e1d7fa65 SHA1 c3f8bb880e16201dfd82d45f3d9cfbd3969ec505 SHA256 ea2d7d73d284589b032ef27cbbeb660759e7f2cd8b909cf5f18c8744b001ae90
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk0+p2oACgkQnGSe5QXeB7u5bgCfVdvcS6H/zEjkvs0sPnD5Lhdo
-aJQAoMPCjvz2rWHfHygkQS1wYT3ENeMm
-=a5hN
+iEYEARECAAYFAk1NIIAACgkQnGSe5QXeB7tLIwCgpD0hFIloMQmF1A+tisKFLhYv
+RB0Anjz57znJk73CCDwV5aHK7P2C0l9e
+=4qju
 -----END PGP SIGNATURE-----

diff --git a/net-im/ekg2/ekg2-9999-r1.ebuild b/net-im/ekg2/ekg2-9999-r1.ebuild
new file mode 100644
index 0000000..c2fa531
--- /dev/null
+++ b/net-im/ekg2/ekg2-9999-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+EGIT_REPO_URI="git://github.com/leafnode/ekg2.git"
+EGIT_BRANCH=new-autotools
+inherit autotools autotools-utils git
+
+DESCRIPTION="Text-based, multi-protocol instant messenger"
+HOMEPAGE="http://www.ekg2.org"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="gadu gnutls gpm idn jabber ncurses nls spell sqlite sqlite3 ssl unicode
+	zlib"
+
+RDEPEND="dev-libs/glib:2
+	gadu? ( net-libs/libgadu )
+	idn? ( net-dns/libidn )
+	nls? ( virtual/libintl )
+	ssl? ( dev-libs/openssl )
+	zlib? ( sys-libs/zlib )
+
+	jabber? ( dev-libs/expat
+		gnutls? ( net-libs/gnutls ) )
+	ncurses? ( sys-libs/ncurses[unicode?]
+		gpm? ( sys-libs/gpm )
+		spell? ( app-text/aspell ) )
+	sqlite3? ( dev-db/sqlite:3 )
+	!sqlite3? ( sqlite? ( dev-db/sqlite:0 ) )"
+
+DEPEND="${RDEPEND}
+	nls? ( sys-devel/gettext )"
+
+DOCS=(
+	AUTHORS README.md docs/README docs/TODO
+	docs/events.txt docs/mouse.txt docs/sim.txt docs/voip.txt
+	docs/themes.txt docs/themes-en.txt
+	docs/ui-ncurses.txt docs/ui-ncurses-en.txt
+)
+
+pkg_setup() {
+	if ! use ncurses; then
+		ewarn 'ekg2 is being compiled without any frontend, you should consider'
+		ewarn 'enabling at least one of following USEflags:'
+		ewarn '  ncurses.'
+	fi
+
+	if use gnutls && ! use ssl; then
+		ewarn 'You have enabled USE=gnutls without USE=ssl. The SSL support'
+		ewarn 'in ekg2 will be limited to the plugins supporting GnuTLS.'
+	fi
+}
+
+src_prepare() {
+	autotools-utils_src_prepare
+	eautopoint
+	eautoreconf
+}
+
+src_configure() {
+	myeconfargs=(
+		# direct plugin references
+		$(use_enable gadu gg)
+		$(use_enable jabber)
+		$(use_enable ncurses)
+
+		# indirect plugin references
+		$(use_with sqlite)
+		$(use_with sqlite3)
+
+		# optional deps
+		$(use_with gnutls)
+		$(use_with gpm)
+		$(use_with idn libidn)
+		$(use_with spell aspell)
+		$(use_with ssl openssl)
+		$(use_with zlib)
+
+		# other magic
+		$(use_enable nls)
+		$(use_enable unicode)
+		--enable-skip-relative-plugins-dir
+	)
+	autotools-utils_src_configure
+}
+
+src_install() {
+	autotools-utils_src_install
+	remove_libtool_files all
+}

diff --git a/profiles/package.mask b/profiles/package.mask
new file mode 100644
index 0000000..2700f77
--- /dev/null
+++ b/profiles/package.mask
@@ -0,0 +1,3 @@
+# Michał Górny <mgorny@gentoo.org> (05 Feb 2011)
+# Experimental version, doesn't compile help and many plugins yet.
+=net-im/ekg2-9999-r1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/mgorny:master commit in: net-im/ekg2/, profiles/
@ 2011-02-06 21:59 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2011-02-06 21:59 UTC (permalink / raw
  To: gentoo-commits

commit:     b70278184188e3763cd044f53b7497dff02a89bc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  6 21:58:19 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  6 21:58:29 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=b7027818

net-im/ekg2: Build gtk plugin.

(Portage version: 2.2.0_alpha20/git/Linux x86_64, signed Manifest commit with key 05DE07BB)

---
 net-im/ekg2/Manifest            |    8 ++++----
 net-im/ekg2/ekg2-9999-r1.ebuild |    8 +++++---
 profiles/package.mask           |    3 ---
 3 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/net-im/ekg2/Manifest b/net-im/ekg2/Manifest
index e939a7b..09544cb 100644
--- a/net-im/ekg2/Manifest
+++ b/net-im/ekg2/Manifest
@@ -1,13 +1,13 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-EBUILD ekg2-9999-r1.ebuild 2746 RMD160 7d41e9db26988ea713b15b008acfcf8d3b9c7c54 SHA1 2c021811a3a07754412a47e7f2a51b1d2fcbb40b SHA256 43c68285ef30e4d15bd9edc0dc54746d54ef8c26e05de55a11f4bea235844ed6
+EBUILD ekg2-9999-r1.ebuild 2814 RMD160 07e1495f2afede453ecca18abd214f92ac5af61b SHA1 3a1afd18fe558d73119974c32409d94ba02b39b3 SHA256 421067b904e9b95e157554ebed776e3fdaf7de118ba8463460eb17cd450d2f98
 EBUILD ekg2-9999.ebuild 3043 RMD160 5c341ffaef3759f21a4498d1a1d3fd6842a1e48c SHA1 4b4ab40760dc295d738544ac8bc266d71d6a62b3 SHA256 af3c35f4c9c10924b3c645071493af1f1f9a7acbdb7e086b00318901e841ed90
 MISC metadata.xml 1497 RMD160 7dda4d34b5b8614b9a24339104a55c20f8cd6954 SHA1 81d5e71f44efe1e8eec2a3d4df9f264a834089eb SHA256 50ed21d74768cf010fec4d79e1dccc859e2b285ed62f9e1b1c9055477b70f1db
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk1O9/cACgkQnGSe5QXeB7uRZQCgiyno27ixxn7fe2zakfb3qnHL
-BrcAn1RoxEpK78pTuyUFs9HSJvbR4ULi
-=Jgz0
+iEYEARECAAYFAk1PGXsACgkQnGSe5QXeB7s2XwCeMbcHNiuES6x9ZvwZXxkGKSd5
+JN8An3JpJfstZczC6e4JdxacflE0Gauf
+=jwIv
 -----END PGP SIGNATURE-----

diff --git a/net-im/ekg2/ekg2-9999-r1.ebuild b/net-im/ekg2/ekg2-9999-r1.ebuild
index 933e4fe..e2950a9 100644
--- a/net-im/ekg2/ekg2-9999-r1.ebuild
+++ b/net-im/ekg2/ekg2-9999-r1.ebuild
@@ -14,12 +14,13 @@ SRC_URI=""
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="gadu gnutls gpm gpg idn inotify jabber minimal ncurses nls perl python
+IUSE="gadu gnutls gpm gpg gtk idn inotify jabber minimal ncurses nls perl python
 	readline rss spell sqlite sqlite3 ssl unicode zlib"
 
 RDEPEND="dev-libs/glib:2
 	gpg? ( app-crypt/gpgme )
 	gadu? ( net-libs/libgadu )
+	gtk? ( x11-libs/gtk+:2 )
 	idn? ( net-dns/libidn )
 	nls? ( virtual/libintl )
 	perl? ( dev-lang/perl )
@@ -50,10 +51,10 @@ DOCS=(
 REQUIRED_USE="rss? ( !minimal )"
 
 pkg_setup() {
-	if ! use ncurses && ! use readline; then
+	if ! use gtk && ! use ncurses && ! use readline; then
 		ewarn 'ekg2 is being compiled without any frontend, you should consider'
 		ewarn 'enabling at least one of following USEflags:'
-		ewarn '  ncurses, readline.'
+		ewarn '  gtk, ncurses, readline.'
 	fi
 
 	if use gnutls && ! use ssl; then
@@ -73,6 +74,7 @@ src_configure() {
 		# direct plugin references
 		$(use_enable gadu gg)
 		$(use_enable gpg)
+		$(use_enable gtk)
 		$(use_enable jabber)
 		$(use_enable ncurses)
 		$(use_enable perl)

diff --git a/profiles/package.mask b/profiles/package.mask
deleted file mode 100644
index 2700f77..0000000
--- a/profiles/package.mask
+++ /dev/null
@@ -1,3 +0,0 @@
-# Michał Górny <mgorny@gentoo.org> (05 Feb 2011)
-# Experimental version, doesn't compile help and many plugins yet.
-=net-im/ekg2-9999-r1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-06 21:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-05 10:04 [gentoo-commits] dev/mgorny:master commit in: net-im/ekg2/, profiles/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2011-02-06 21:59 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox