From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/xmw:master commit in: app-misc/info-beamer/, app-misc/info-beamer/files/
Date: Wed, 12 Feb 2014 23:33:54 +0000 (UTC) [thread overview]
Message-ID: <1392247846.cadf8d8f202c7d0b88b9748756a17afced31d00d.xmw@gentoo> (raw)
commit: cadf8d8f202c7d0b88b9748756a17afced31d00d
Author: Michael Weber <michael <AT> xmw <DOT> de>
AuthorDate: Wed Feb 12 23:30:46 2014 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Wed Feb 12 23:30:46 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=commit;h=cadf8d8f
Initial import
Package-Manager: portage-2.2.8-r1
Manifest-Sign-Key: 62EEF090
---
app-misc/info-beamer/ChangeLog | 7 ++++
app-misc/info-beamer/Manifest | 11 ++++++
.../files/info-beamer-1.0_pre3-pkgconfig.patch | 34 ++++++++++++++++
app-misc/info-beamer/info-beamer-1.0_pre3.ebuild | 45 ++++++++++++++++++++++
app-misc/info-beamer/info-beamer-9999.ebuild | 45 ++++++++++++++++++++++
app-misc/info-beamer/metadata.xml | 11 ++++++
6 files changed, 153 insertions(+)
diff --git a/app-misc/info-beamer/ChangeLog b/app-misc/info-beamer/ChangeLog
new file mode 100644
index 0000000..c2d7953
--- /dev/null
+++ b/app-misc/info-beamer/ChangeLog
@@ -0,0 +1,7 @@
+*info-beamer-1.0_pre3 (12 Feb 2014)
+*info-beamer-9999 (12 Feb 2014)
+
+ 12 Feb 2014; Michael Weber <xmw@gentoo.org>
+ +files/info-beamer-1.0_pre3-pkgconfig.patch, +info-beamer-1.0_pre3.ebuild,
+ +info-beamer-9999.ebuild, +metadata.xml:
+ Initial import
diff --git a/app-misc/info-beamer/Manifest b/app-misc/info-beamer/Manifest
new file mode 100644
index 0000000..6eb6c0f
--- /dev/null
+++ b/app-misc/info-beamer/Manifest
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST info-beamer-1.0_pre3.tar.gz 202355 SHA256 c6d3e2cc95c0159f5c33ee75af574d0b6944c56c68f87b18b38c641d3fbd157d SHA512 370842d94aa1787a593851496e91606c33da07a5071e2f59f8b7329c08fa839f09e948514bd3a097ea21c673f5a4ef9774bd79d245486701c8ef1ac2ca7ef61c WHIRLPOOL 36ff633a9cb82c8f42e39030aeca7ee9a875e7a4a0fd5c3da4c3119dd4775c85f8c3f9fc4959150ddcac86a55da3d9061aa2abd44094656b770203c7f0cff532
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iF4EAREIAAYFAlL8BCYACgkQknrdDGLu8JBMcgD/eC5265Hel1zYb5H/hgqP4p0b
++/c0IY5o7sm3ZxvC+y0A+wdTkxHZRkXiQBrSf63yM5aW4R4XbVJ79Ss56XU8CwEe
+=3t/d
+-----END PGP SIGNATURE-----
diff --git a/app-misc/info-beamer/files/info-beamer-1.0_pre3-pkgconfig.patch b/app-misc/info-beamer/files/info-beamer-1.0_pre3-pkgconfig.patch
new file mode 100644
index 0000000..3d8dfab
--- /dev/null
+++ b/app-misc/info-beamer/files/info-beamer-1.0_pre3-pkgconfig.patch
@@ -0,0 +1,34 @@
+--- info-beamer-9999/Makefile
++++ info-beamer-9999/Makefile
+@@ -11,9 +11,9 @@
+ endif
+
+ ifdef USE_LUAJIT
+-LUA_CFLAGS ?= -I/usr/include/luajit-2.0
+-LUA_LDFLAGS ?= -lluajit-5.1
+-LUA_LUAC ?= luac
++LUA_CFLAGS ?= $(shell pkg-config --cflags luajit)
++LUA_LDFLAGS ?= $(shell pkg-config --libs luajit)
++LUA_LUAC ?= luac
+ CFLAGS += -DUSE_LUAJIT=1
+ else
+ #################################################
+@@ -24,14 +24,14 @@
+ # $ LUA_LDFLAGS=-llua make
+ #
+ #################################################
+-LUA_CFLAGS ?= -I/usr/include/lua5.1
+-LUA_LDFLAGS ?= -L/usr/lib -llua5.1
++LUA_CFLAGS ?= $(shell pkg-config --cflags lua)
++LUA_LDFLAGS ?= $(shell pkg-config --libs lua)
+ LUA_LUAC ?= luac
+ endif
+
+ CFLAGS += -DVERSION='"$(VERSION)"'
+-CFLAGS += $(LUA_CFLAGS) -I/usr/include/freetype2/ -I/usr/include/ffmpeg -std=c99 -Wall
+-LDFLAGS += $(LUA_LDFLAGS) -levent -lglfw -lGL -lGLU -lGLEW -lftgl -lIL -lILU -lavformat -lavcodec -lavutil -lswscale -lz
++CFLAGS += $(LUA_CFLAGS) $(shell pkg-config --cflags libevent libglfw gl glu glew ftgl IL ILU libavformat libavcodec libavutil libswscale) -std=c99 -Wall
++LDFLAGS += $(LUA_LDFLAGS) $(shell pkg-config --libs libevent libglfw gl glu glew ftgl IL ILU libavformat libavcodec libavutil libswscale)
+
+ prefix ?= /usr/local
+ exec_prefix ?= $(prefix)
diff --git a/app-misc/info-beamer/info-beamer-1.0_pre3.ebuild b/app-misc/info-beamer/info-beamer-1.0_pre3.ebuild
new file mode 100644
index 0000000..a06515d
--- /dev/null
+++ b/app-misc/info-beamer/info-beamer-1.0_pre3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils toolchain-funcs vcs-snapshot
+
+DESCRIPTION="allows to rapidly prototype interactive multimedia presentations using Lua"
+HOMEPAGE="http://info-beamer.org/"
+SRC_URI="https://github.com/dividuum/${PN}/archive/v-${PV/_/}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples luajit"
+
+RDEPEND="
+ dev-libs/libevent
+ media-libs/devil
+ media-libs/ftgl
+ media-libs/glew
+ media-libs/glfw
+ media-libs/glu
+ media-video/ffmpeg
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( <dev-lang/lua-5.2 )"
+DEPEND="${RDEPEND}
+ <dev-lang/lua-5.2
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-pkgconfig.patch
+}
+
+src_compile() {
+ emake $(usex luajit USE_LUAJIT=1 "") \
+ CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc ChangeLog README.{md,tlsf.txt}
+ use examples && dodoc -r samples/* contrib/remote
+}
diff --git a/app-misc/info-beamer/info-beamer-9999.ebuild b/app-misc/info-beamer/info-beamer-9999.ebuild
new file mode 100644
index 0000000..02221ac
--- /dev/null
+++ b/app-misc/info-beamer/info-beamer-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils git-r3 toolchain-funcs
+
+DESCRIPTION="allows to rapidly prototype interactive multimedia presentations using Lua"
+HOMEPAGE="http://info-beamer.org/"
+EGIT_REPO_URI="https://github.com/dividuum/info-beamer.git"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="examples luajit"
+
+RDEPEND="
+ dev-libs/libevent
+ media-libs/devil
+ media-libs/ftgl
+ media-libs/glew
+ media-libs/glfw
+ media-libs/glu
+ media-video/ffmpeg
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( <dev-lang/lua-5.2 )"
+DEPEND="${RDEPEND}
+ <dev-lang/lua-5.2
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.0_pre3-pkgconfig.patch
+}
+
+src_compile() {
+ emake $(usex luajit USE_LUAJIT=1 "") \
+ CC="$(tc-getCC)"
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc ChangeLog README.{md,tlsf.txt}
+ use examples && dodoc -r samples/* contrib/remote
+}
diff --git a/app-misc/info-beamer/metadata.xml b/app-misc/info-beamer/metadata.xml
new file mode 100644
index 0000000..064ba1a
--- /dev/null
+++ b/app-misc/info-beamer/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+<use>
+ <flag name="luajit">Use the lua just-in-time compiler dev-lang/luajit instead of dev-lang/lua</flag>
+</use>
+</pkgmetadata>
next reply other threads:[~2014-02-12 23:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 23:33 Michael Weber [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-02-12 23:36 [gentoo-commits] dev/xmw:master commit in: app-misc/info-beamer/, app-misc/info-beamer/files/ Michael Weber
2014-02-13 9:42 Michael Weber
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=1392247846.cadf8d8f202c7d0b88b9748756a17afced31d00d.xmw@gentoo \
--to=xmw@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