1 |
cedk 10/02/28 14:05:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: minbif-1.0.1.ebuild |
5 |
Removed: minbif-1.0.ebuild |
6 |
Log: |
7 |
Version bump, fix for bug #299478 and add ~amd64 |
8 |
(Portage version: 2.1.7.16/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 net-im/minbif/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/minbif/ChangeLog?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/minbif/ChangeLog?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/minbif/ChangeLog?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-im/minbif/ChangeLog,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- ChangeLog 24 Nov 2009 19:22:35 -0000 1.1 |
24 |
+++ ChangeLog 28 Feb 2010 14:05:34 -0000 1.2 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-im/minbif |
27 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/minbif/ChangeLog,v 1.1 2009/11/24 19:22:35 cedk Exp $ |
29 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/minbif/ChangeLog,v 1.2 2010/02/28 14:05:34 cedk Exp $ |
31 |
+ |
32 |
+*minbif-1.0.1 (28 Feb 2010) |
33 |
+ |
34 |
+ 28 Feb 2010; Cédric Krier <cedk@g.o> -minbif-1.0.ebuild, |
35 |
+ +minbif-1.0.1.ebuild, +files/minbif-1.0.1-as-needed.patch: |
36 |
+ Version bump, fix for bug #299478 and add ~amd64 |
37 |
|
38 |
*minbif-1.0 (24 Nov 2009) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 net-im/minbif/minbif-1.0.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/minbif/minbif-1.0.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/minbif/minbif-1.0.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: minbif-1.0.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-im/minbif/minbif-1.0.1.ebuild,v 1.1 2010/02/28 14:05:34 cedk Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
|
56 |
inherit cmake-utils eutils |
57 |
|
58 |
DESCRIPTION="an IRC gateway to IM networks" |
59 |
HOMEPAGE="http://minbif.im/" |
60 |
SRC_URI="http://symlink.me/attachments/download/39/${P}.tar.gz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="libcaca gstreamer xinetd" |
66 |
|
67 |
DEPEND=">=net-im/pidgin-2.6[gstreamer?] |
68 |
libcaca? ( media-libs/libcaca media-libs/imlib2 )" |
69 |
RDEPEND="${DEPEND} |
70 |
virtual/logger |
71 |
xinetd? ( sys-apps/xinetd )" |
72 |
|
73 |
src_prepare() { |
74 |
sed -i "s/-Werror//g" CMakeLists.txt || die "sed failed" |
75 |
|
76 |
sed -i "s#share/doc/minbif#share/doc/${P}#" \ |
77 |
CMakeLists.txt || die "sed failed" |
78 |
|
79 |
if use xinetd; then |
80 |
sed -i "s/type\s=\s[0-9]/type = 0/" \ |
81 |
minbif.conf || die "sed failed" |
82 |
fi |
83 |
|
84 |
epatch "${FILESDIR}/${P}-as-needed.patch" |
85 |
} |
86 |
|
87 |
src_configure() { |
88 |
use gstreamer && ! use libcaca && \ |
89 |
die "You need to enable libcaca if you enable gstreamer" |
90 |
|
91 |
local mycmakeargs |
92 |
mycmakeargs="${mycmakeargs} |
93 |
-DCONF_PREFIX=${PREFIX:-/etc/minbif} |
94 |
$(cmake-utils_use_enable libcaca CACA) |
95 |
$(cmake-utils_use_enable gstreamer VIDEO)" |
96 |
|
97 |
cmake-utils_src_configure |
98 |
} |
99 |
|
100 |
pkg_preinst() { |
101 |
enewgroup minbif |
102 |
enewuser minbif -1 -1 /var/lib/minbif minbif |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
cmake-utils_src_install |
107 |
keepdir /var/lib/minbif |
108 |
fperms 700 /var/lib/minbif |
109 |
fowners minbif:minbif /var/lib/minbif |
110 |
|
111 |
dodoc ChangeLog README |
112 |
doman man/minbif.8 |
113 |
|
114 |
if use xinetd; then |
115 |
insinto /etc/xinetd.d |
116 |
newins doc/minbif.xinetd minbif |
117 |
fi |
118 |
|
119 |
newinitd "${FILESDIR}"/minbif.initd minbif || die |
120 |
|
121 |
dodir /usr/share/minbif |
122 |
insinto /usr/share/minbif |
123 |
doins -r scripts |
124 |
} |