From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/
Date: Thu, 19 Sep 2019 07:40:49 +0000 (UTC) [thread overview]
Message-ID: <1568878829.167d0cac1641a2946296cff5cca26a5ba7b85448.slyfox@gentoo> (raw)
commit: 167d0cac1641a2946296cff5cca26a5ba7b85448
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 19 07:40:29 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Sep 19 07:40:29 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=167d0cac
dev-lua/lgi: add slot operator against libffi, bug #688886
While at it bump up to EAPI=7
Reported-by: Kent Fredric
Closes: https://bugs.gentoo.org/688886
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
dev-lua/lgi/lgi-0.9.0-r1.ebuild | 55 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/dev-lua/lgi/lgi-0.9.0-r1.ebuild b/dev-lua/lgi/lgi-0.9.0-r1.ebuild
new file mode 100644
index 00000000000..e6445f8259a
--- /dev/null
+++ b/dev-lua/lgi/lgi-0.9.0-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VIRTUALX_REQUIRED="manual"
+
+inherit eutils toolchain-funcs flag-o-matic virtualx
+
+DESCRIPTION="Lua bindings using gobject-introspection"
+HOMEPAGE="https://github.com/pavouk/lgi"
+SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="examples test"
+
+RDEPEND=">=dev-lang/lua-5.1
+ dev-libs/gobject-introspection
+ dev-libs/glib
+ virtual/libffi:0="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? (
+ x11-libs/cairo[glib]
+ x11-libs/gtk+[introspection]
+ ${VIRTUALX_DEPEND}
+ )"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \
+ -e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \
+ "${S}"/lgi/Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}"
+}
+
+src_test() {
+ virtx emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dohtml -r docs/*
+ dodoc README.md
+ if use examples; then
+ dodoc -r samples
+ fi
+}
next reply other threads:[~2019-09-19 7:40 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-19 7:40 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-09-20 19:08 [gentoo-commits] repo/gentoo:master commit in: dev-lua/lgi/ Sergei Trofimovich
2019-11-02 4:41 Robin H. Johnson
2019-11-13 2:10 Aaron Bauman
2020-08-02 11:48 Sergei Trofimovich
2020-08-04 4:21 Sam James
2020-08-05 13:53 Agostino Sarubbo
2020-09-13 21:03 Sam James
2020-09-19 16:40 Aaron Bauman
2020-11-16 22:53 Sergei Trofimovich
2020-11-29 0:28 Robin H. Johnson
2020-12-03 13:50 Marek Szuba
2021-03-26 19:46 Conrad Kostecki
2021-09-18 12:29 Marek Szuba
2022-02-15 23:38 Conrad Kostecki
2022-12-05 17:24 WANG Xuerui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1568878829.167d0cac1641a2946296cff5cca26a5ba7b85448.slyfox@gentoo \
--to=slyfox@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox