Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lua/lgi: lgi-0.7.2.ebuild ChangeLog
Date: Sat, 04 Jan 2014 21:38:29
Message-Id: 20140104213824.B54C72004C@flycatcher.gentoo.org
1 robbat2 14/01/04 21:38:24
2
3 Modified: ChangeLog
4 Added: lgi-0.7.2.ebuild
5 Log:
6 Bump per bug #483830.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.3 dev-lua/lgi/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lgi/ChangeLog?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lgi/ChangeLog?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lgi/ChangeLog?r1=1.2&r2=1.3
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-lua/lgi/ChangeLog,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -p -w -b -B -u -u -r1.2 -r1.3
23 --- ChangeLog 8 Feb 2013 15:48:18 -0000 1.2
24 +++ ChangeLog 4 Jan 2014 21:38:24 -0000 1.3
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-lua/lgi
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/lgi/ChangeLog,v 1.2 2013/02/08 15:48:18 maksbotan Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/lgi/ChangeLog,v 1.3 2014/01/04 21:38:24 robbat2 Exp $
31 +
32 +*lgi-0.7.2 (04 Jan 2014)
33 +
34 + 04 Jan 2014; Robin H. Johnson <robbat2@g.o> +lgi-0.7.2.ebuild:
35 + Bump per bug #483830.
36
37 *lgi-0.6.2-r1 (08 Feb 2013)
38
39
40
41
42 1.1 dev-lua/lgi/lgi-0.7.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lgi/lgi-0.7.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/lgi/lgi-0.7.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: lgi-0.7.2.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-lua/lgi/lgi-0.7.2.ebuild,v 1.1 2014/01/04 21:38:24 robbat2 Exp $
52
53 EAPI=4
54
55 VIRTUALX_REQUIRED="manual"
56
57 inherit eutils toolchain-funcs flag-o-matic virtualx
58
59 DESCRIPTION="Lua bindings using gobject-introspection"
60 HOMEPAGE="http://github.com/pavouk/lgi"
61 SRC_URI="https://github.com/pavouk/lgi/archive/0.7.2.tar.gz -> ${P}.tar.gz"
62
63 LICENSE="MIT"
64 SLOT="0"
65 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
66 IUSE="examples"
67
68 RDEPEND=">=dev-lang/lua-5.1
69 dev-libs/gobject-introspection
70 dev-libs/glib
71 virtual/libffi"
72 DEPEND="${RDEPEND}
73 virtual/pkgconfig
74 test? (
75 x11-libs/cairo[glib]
76 x11-libs/gtk+[introspection]
77 ${VIRTUALX_DEPEND}
78 )"
79
80 src_prepare() {
81 sed -i \
82 -e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \
83 -e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \
84 "${S}"/lgi/Makefile || die "sed failed"
85 }
86
87 src_compile() {
88 emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}"
89 }
90
91 src_test() {
92 Xemake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check
93 }
94
95 src_install() {
96 emake DESTDIR="${D}" install
97 dohtml -r docs/*
98 dodoc README.md
99 if use examples; then
100 dodoc -r samples
101 fi
102 }