diff options
Diffstat (limited to 'dev-lua/lgi')
-rw-r--r-- | dev-lua/lgi/Manifest | 8 | ||||
-rw-r--r-- | dev-lua/lgi/lgi-0.6.2-r1.ebuild | 53 | ||||
-rw-r--r-- | dev-lua/lgi/lgi-0.6.2.ebuild | 37 | ||||
-rw-r--r-- | dev-lua/lgi/lgi-0.7.2.ebuild | 53 | ||||
-rw-r--r-- | dev-lua/lgi/lgi-0.9.0.ebuild | 53 | ||||
-rw-r--r-- | dev-lua/lgi/metadata.xml | 10 |
6 files changed, 214 insertions, 0 deletions
diff --git a/dev-lua/lgi/Manifest b/dev-lua/lgi/Manifest new file mode 100644 index 000000000000..c15d09152ade --- /dev/null +++ b/dev-lua/lgi/Manifest @@ -0,0 +1,8 @@ +DIST lgi-0.6.2.tar.gz 257541 BLAKE2B 61d58b1b03fe01d43384693b21336149b06a04e638a32f46e685e0f6f1e7ad693ec3074af3ffcc789f053a2a085a58b41b81023f3b023625309f0f4ed6ae6cff SHA512 02b75f17f98d7f7240c335384a85cdb0bb1c1b117b4ea8baa065715c4e5ecac946618ef83f92ef476a87db3a17a29a0e21d71f4f79db3bc4e519cf795ae181f5 +DIST lgi-0.7.2.tar.gz 270767 BLAKE2B 491fafccbf4d8c5086b48baad0022a76a1f829e0c9a55acbfbd4eaa283c2713ef3f4863a2abf12d24bae0ccb2284506da66578c2d26ab6bda3f6d891c39a8ff4 SHA512 e661e13d6f539c2c434a6b0db9e622ee4af3c039a6488617954643f0b46a908068a14e6d37ff44437fbe5b4cb62863699107ab533aca121d4b8d584ca83c35fc +DIST lgi-0.9.0.tar.gz 285248 BLAKE2B e5e6fe79899b70f46338827296b921c04c31ac1edc82e5c7a1d443c54c409aea65a766f3666b0ff9fca63a17cb50fe9727d0722007b16a1d4a6c77c48b9f3828 SHA512 1a486a40f504740224b1d277368df65e0a30708c02422390517c2fbf961b5fec264bdbc695d306e2f5fb2aa8ad4539212ef5314b18f45e3b488fd5f492a19f9e +EBUILD lgi-0.6.2-r1.ebuild 1286 BLAKE2B 12319bf0f17bfdf5780ffc1834cf8a46bdea87c2efd270fe05c57ddafc6f9f8bbc6977f3b66c080e0c28689455bfa501ca788c2ee281ab16e136598635b9e7f4 SHA512 89b07608707c27416b944405c52441453ffe83a4dcd9fea5afbba53146fbd8ba6172be0e423a52eaea68e8b0e64a0d62530b0f69a5058bee7606ba19362f0939 +EBUILD lgi-0.6.2.ebuild 951 BLAKE2B b0cf07bba57acbc9a13af729afa7c773cb46e0de74a593c8bc4b80dc7e7f50efb1d1e06ac2c227ddf1a6489b424202a51cf764a04efecd1c4485ddeb0c77c403 SHA512 9c74e8c1bd328296587a1b958798362e4fe4476433d07beff4f6d70223f7970f070fa0ddac1ed02d72d0666878f5aa8219a209405e8aaf993e8bc67467c97b5e +EBUILD lgi-0.7.2.ebuild 1295 BLAKE2B 4732376e621ebffae6018acff5ff361d1f364c0d39edc552c5a9efbf809dbb8d39a5b577ca4083d908fee1cf387248f36c829e014f83485b38b078a93a625cfc SHA512 db8e3c3c6b0433ea3caae99914c2376e7fd0e45e465cc826dd8731bac75bc80b29850baf1b92fb92109fa4b74d3b59b9cadf0ff6d56299621e06cf24f8221eff +EBUILD lgi-0.9.0.ebuild 1295 BLAKE2B 4732376e621ebffae6018acff5ff361d1f364c0d39edc552c5a9efbf809dbb8d39a5b577ca4083d908fee1cf387248f36c829e014f83485b38b078a93a625cfc SHA512 db8e3c3c6b0433ea3caae99914c2376e7fd0e45e465cc826dd8731bac75bc80b29850baf1b92fb92109fa4b74d3b59b9cadf0ff6d56299621e06cf24f8221eff +MISC metadata.xml 301 BLAKE2B 972432d1e9e34193df27c31d01aa620d72350b1bbcf383894e65aa0fdf207bc5ad4064f289c4feb7cbe7522aefa157b5cf2d25d00df09fd62c1ffa45db9ce377 SHA512 295eba832f4a3e1c9bd1ff7349fadff65a0d887ec4df25fcd7ce975504ddaf7efe5789492bdd54f3c6e077e8612dab3f3b8abba710bbabeb2ead89d60f0370f3 diff --git a/dev-lua/lgi/lgi-0.6.2-r1.ebuild b/dev-lua/lgi/lgi-0.6.2-r1.ebuild new file mode 100644 index 000000000000..3128ed21037b --- /dev/null +++ b/dev-lua/lgi/lgi-0.6.2-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +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/downloads/pavouk/lgi/${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" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( + x11-libs/cairo[glib] + x11-libs/gtk+[introspection] + ${VIRTUALX_DEPEND} + )" + +src_prepare() { + 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() { + Xemake 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 +} diff --git a/dev-lua/lgi/lgi-0.6.2.ebuild b/dev-lua/lgi/lgi-0.6.2.ebuild new file mode 100644 index 000000000000..aa861d1a7abb --- /dev/null +++ b/dev-lua/lgi/lgi-0.6.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="Lua bindings using gobject-introspection" +HOMEPAGE="https://github.com/pavouk/lgi" +SRC_URI="https://github.com/downloads/pavouk/lgi/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-lang/lua-5.1 + x11-libs/gtk+[introspection]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + 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_install() { + emake DESTDIR="${D}" install + dohtml -r docs/* + dodoc README.md +} diff --git a/dev-lua/lgi/lgi-0.7.2.ebuild b/dev-lua/lgi/lgi-0.7.2.ebuild new file mode 100644 index 000000000000..bd19c1f04850 --- /dev/null +++ b/dev-lua/lgi/lgi-0.7.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +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" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( + x11-libs/cairo[glib] + x11-libs/gtk+[introspection] + ${VIRTUALX_DEPEND} + )" + +src_prepare() { + 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() { + Xemake 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 +} diff --git a/dev-lua/lgi/lgi-0.9.0.ebuild b/dev-lua/lgi/lgi-0.9.0.ebuild new file mode 100644 index 000000000000..bd19c1f04850 --- /dev/null +++ b/dev-lua/lgi/lgi-0.9.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +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" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( + x11-libs/cairo[glib] + x11-libs/gtk+[introspection] + ${VIRTUALX_DEPEND} + )" + +src_prepare() { + 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() { + Xemake 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 +} diff --git a/dev-lua/lgi/metadata.xml b/dev-lua/lgi/metadata.xml new file mode 100644 index 000000000000..8eed56640dac --- /dev/null +++ b/dev-lua/lgi/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">pavouk/lgi</remote-id> + </upstream> +</pkgmetadata> |