* [gentoo-commits] proj/betagarden:master commit in: x11-misc/pdfpres/, x11-misc/pdfpres/files/
@ 2011-03-21 21:10 Sebastian Pipping
0 siblings, 0 replies; only message in thread
From: Sebastian Pipping @ 2011-03-21 21:10 UTC (permalink / raw
To: gentoo-commits
commit: 9cb780d3f6644577e33568eb8477e9f8efca174e
Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Mon Mar 21 21:10:34 2011 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 21:10:34 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=9cb780d3
x11-misc/pdfpres: 0.2
---
x11-misc/pdfpres/files/pdfpres-0.2-flags.patch | 16 +++++++++++
x11-misc/pdfpres/metadata.xml | 9 ++++++
x11-misc/pdfpres/pdfpres-0.2.ebuild | 35 ++++++++++++++++++++++++
3 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/x11-misc/pdfpres/files/pdfpres-0.2-flags.patch b/x11-misc/pdfpres/files/pdfpres-0.2-flags.patch
new file mode 100644
index 0000000..1e70eb3
--- /dev/null
+++ b/x11-misc/pdfpres/files/pdfpres-0.2-flags.patch
@@ -0,0 +1,16 @@
+--- SConstruct 2011-03-21 21:44:14.315348729 +0100
++++ SConstruct 2011-03-21 21:58:10.808021667 +0100
+@@ -1,9 +1,10 @@
+ # -*- coding: utf-8 -*-
+-
++import os
+
+ # Set up environment, pkg-config for GTK/poppler, ...
+-env = Environment(CCFLAGS = '-Wall -Wextra')
+-env.SetOption('num_jobs', 4)
++env = Environment(
++ CCFLAGS = os.environ.get('CFLAGS', '') + ' -Wall -Wextra',
++ LINKFLAGS = os.environ.get('LDFLAGS', ''))
+ env.ParseConfig('pkg-config --cflags --libs gtk+-2.0 poppler-glib')
+ env.ParseConfig('xml2-config --cflags --libs')
+
diff --git a/x11-misc/pdfpres/metadata.xml b/x11-misc/pdfpres/metadata.xml
new file mode 100644
index 0000000..328fbd1
--- /dev/null
+++ b/x11-misc/pdfpres/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/pdfpres/pdfpres-0.2.ebuild b/x11-misc/pdfpres/pdfpres-0.2.ebuild
new file mode 100644
index 0000000..eed4f06
--- /dev/null
+++ b/x11-misc/pdfpres/pdfpres-0.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+PYTHON_DEPEND="2"
+
+inherit python eutils scons-utils
+
+MY_PN="pdfPres"
+DESCRIPTION="Dual head PDF presenter"
+HOMEPAGE="http://www.uninformativ.de/projects/?q=pdfpres"
+SRC_URI="https://github.com/vain/${MY_PN}/tarball/${MY_PN}-${PV} -> ${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}/vain-${MY_PN}-bdf3bce
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-flags.patch
+}
+
+src_compile() {
+ escons || die
+}
+
+src_install() {
+ dodoc README.md || die
+
+ newbin legacy-notes-converter.py ${MY_PN}-legacy-notes-converter || die
+ dobin ${MY_PN} || die
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-21 21:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-21 21:10 [gentoo-commits] proj/betagarden:master commit in: x11-misc/pdfpres/, x11-misc/pdfpres/files/ Sebastian Pipping
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox