diff options
author | Cédric Krier <cedk@gentoo.org> | 2010-05-19 20:43:06 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2010-05-19 20:43:06 +0000 |
commit | a721a76ee9a599ec254c9598084dec8a48932ea1 (patch) | |
tree | 9d31d26e58738f2ab28a2960a424b730e6c7f415 /net-im/minbif | |
parent | Version bump. (diff) | |
download | gentoo-2-a721a76ee9a599ec254c9598084dec8a48932ea1.tar.gz gentoo-2-a721a76ee9a599ec254c9598084dec8a48932ea1.tar.bz2 gentoo-2-a721a76ee9a599ec254c9598084dec8a48932ea1.zip |
Version bump
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'net-im/minbif')
-rw-r--r-- | net-im/minbif/ChangeLog | 7 | ||||
-rw-r--r-- | net-im/minbif/metadata.xml | 3 | ||||
-rw-r--r-- | net-im/minbif/minbif-1.0.3.ebuild | 80 |
3 files changed, 89 insertions, 1 deletions
diff --git a/net-im/minbif/ChangeLog b/net-im/minbif/ChangeLog index e66c04a4b961..f67436289707 100644 --- a/net-im/minbif/ChangeLog +++ b/net-im/minbif/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/minbif # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/minbif/ChangeLog,v 1.4 2010/05/17 12:51:16 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/minbif/ChangeLog,v 1.5 2010/05/19 20:43:06 cedk Exp $ + +*minbif-1.0.3 (19 May 2010) + + 19 May 2010; Cédric Krier <cedk@gentoo.org> +minbif-1.0.3.ebuild: + Version bump 17 May 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> minbif-1.0.1.ebuild: x86 stable wrt bug #318785 diff --git a/net-im/minbif/metadata.xml b/net-im/minbif/metadata.xml index 7d97ea4c27de..c6faa367d16e 100644 --- a/net-im/minbif/metadata.xml +++ b/net-im/minbif/metadata.xml @@ -6,6 +6,9 @@ <email>cedk@gentoo.org</email> <name>Cédric Krier</name> </maintainer> + <use> + <flag name="video">Add video support</flag> + </use> <longdescription lang="en"> an IRC gateway to IM networks </longdescription> diff --git a/net-im/minbif/minbif-1.0.3.ebuild b/net-im/minbif/minbif-1.0.3.ebuild new file mode 100644 index 000000000000..1e50908e7e31 --- /dev/null +++ b/net-im/minbif/minbif-1.0.3.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/minbif/minbif-1.0.3.ebuild,v 1.1 2010/05/19 20:43:06 cedk Exp $ + +EAPI=2 + +inherit cmake-utils eutils + +DESCRIPTION="an IRC gateway to IM networks" +HOMEPAGE="http://minbif.im/" +SRC_URI="http://symlink.me/attachments/download/50/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnutls +imlib +libcaca pam video xinetd" + +DEPEND=">=net-im/pidgin-2.6 + video? ( >=net-im/pidgin-2.6[gstreamer] net-libs/farsight2 ) + libcaca? ( media-libs/libcaca media-libs/imlib2 ) + imlib? ( media-libs/imlib2 ) + pam? ( sys-libs/pam ) + gnutls? ( net-libs/gnutls )" +RDEPEND="${DEPEND} + virtual/logger + xinetd? ( sys-apps/xinetd )" + +src_prepare() { + sed -i "s/-Werror//g" CMakeLists.txt || die "sed failed" + + sed -i "s#share/doc/minbif#share/doc/${P}#" \ + CMakeLists.txt || die "sed failed" + + if use xinetd; then + sed -i "s/type\s=\s[0-9]/type = 0/" \ + minbif.conf || die "sed failed" + fi +} + +src_configure() { + use gstreamer && ! use libcaca && \ + die "You need to enable libcaca if you enable gstreamer" + + local mycmakeargs + mycmakeargs="${mycmakeargs} + -DCONF_PREFIX=${PREFIX:-/etc/minbif} + $(cmake-utils_use_enable libcaca CACA) + $(cmake-utils_use_enable video VIDEO) + $(cmake-utils_use_enable imlib IMLIB) + $(cmake-utils_use_enable pam PAM) + $(cmake-utils_use_enable gnutls TLS)" + + cmake-utils_src_configure +} + +pkg_preinst() { + enewgroup minbif + enewuser minbif -1 -1 /var/lib/minbif minbif +} + +src_install() { + cmake-utils_src_install + keepdir /var/lib/minbif + fperms 700 /var/lib/minbif + fowners minbif:minbif /var/lib/minbif + + dodoc ChangeLog README + doman man/minbif.8 + + if use xinetd; then + insinto /etc/xinetd.d + newins doc/minbif.xinetd minbif + fi + + newinitd "${FILESDIR}"/minbif.initd minbif || die + + dodir /usr/share/minbif + insinto /usr/share/minbif + doins -r scripts +} |