public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/betagarden:master commit in: x11-misc/slinp/files/, licenses/, x11-misc/slinp/
@ 2013-06-18 21:42 Sebastian Pipping
  0 siblings, 0 replies; only message in thread
From: Sebastian Pipping @ 2013-06-18 21:42 UTC (permalink / raw
  To: gentoo-commits

commit:     dba437c255db2f588a2c3e8098179f3d4593b3c9
Author:     Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Tue Jun 18 21:02:21 2013 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue Jun 18 21:16:58 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=dba437c2

x11-misc/slinp: 13.02

---
 licenses/PIZZA-WARE-42                         |  7 +++++
 x11-misc/slinp/files/slinp-13.02-ldflags.patch | 37 ++++++++++++++++++++++++++
 x11-misc/slinp/metadata.xml                    |  8 ++++++
 x11-misc/slinp/slinp-13.02.ebuild              | 31 +++++++++++++++++++++
 4 files changed, 83 insertions(+)

diff --git a/licenses/PIZZA-WARE-42 b/licenses/PIZZA-WARE-42
new file mode 100644
index 0000000..292bf97
--- /dev/null
+++ b/licenses/PIZZA-WARE-42
@@ -0,0 +1,7 @@
+------------------------------------------------------------------
+"THE PIZZA-WARE LICENSE" (Revision 42):
+Peter Hofmann <pcode@uninformativ.de> wrote these files. As long as you
+retain this notice you can do whatever you want with this stuff. If we
+meet some day, and you think this stuff is worth it, you can buy me a
+pizza in return.
+------------------------------------------------------------------

diff --git a/x11-misc/slinp/files/slinp-13.02-ldflags.patch b/x11-misc/slinp/files/slinp-13.02-ldflags.patch
new file mode 100644
index 0000000..9afa4ae
--- /dev/null
+++ b/x11-misc/slinp/files/slinp-13.02-ldflags.patch
@@ -0,0 +1,37 @@
+From 766e5138df4639983e80b7a15904d67fb81196e6 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Tue, 18 Jun 2013 22:54:08 +0200
+Subject: [PATCH] Respect LDFLAGS
+
+---
+ Makefile | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 0452647..631929e 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,4 +1,5 @@
+ # Variables for DESTDIR and friends.
++CFLAGS += -Wall -Wextra
+ 
+ INSTALL = install
+ INSTALL_PROGRAM = $(INSTALL)
+@@ -22,12 +23,12 @@ all: prescontrol/prescontrol showpdf/showpdf slidenotes/slidenotes \
+ 	stopclock/stopclock
+ 
+ showpdf/showpdf: showpdf/showpdf.c showpdf/showpdf.h
+-	$(CC) -Wall -Wextra $(CFLAGS) \
++	$(CC) $(CFLAGS) $(LDFLAGS) \
+ 		-o $@ $< \
+ 		`pkg-config --cflags --libs gtk+-3.0 poppler-glib`
+ 
+ stopclock/stopclock: stopclock/stopclock.c stopclock/stopclock.h
+-	$(CC) -Wall -Wextra $(CFLAGS) \
++	$(CC) $(CFLAGS) $(LDFLAGS) \
+ 		-o $@ $< \
+ 		`pkg-config --cflags --libs gtk+-3.0`
+ 
+-- 
+1.8.2.1
+

diff --git a/x11-misc/slinp/metadata.xml b/x11-misc/slinp/metadata.xml
new file mode 100644
index 0000000..16bcc9f
--- /dev/null
+++ b/x11-misc/slinp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>sping@gentoo.org</email>
+		<name>Sebastian Pipping</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/x11-misc/slinp/slinp-13.02.ebuild b/x11-misc/slinp/slinp-13.02.ebuild
new file mode 100644
index 0000000..a792527
--- /dev/null
+++ b/x11-misc/slinp/slinp-13.02.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+
+PYTHON_COMPAT=( python{3_1,3_2,3_3} )
+inherit eutils python-any-r1
+
+DESCRIPTION="PDF presentation tool chest, successor to x11-misc/pdfpres"
+HOMEPAGE="http://www.uninformativ.de/projects/?q=slinp"
+SRC_URI="https://github.com/vain/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="PIZZA-WARE-42"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-text/poppler
+	x11-libs/gtk+:3"
+RDEPEND="${DEPEND}
+	${PYTHON_DEPS}"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_install() {
+	emake DESTDIR="${D}" prefix=/usr install
+	dodoc README.md
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-18 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-18 21:42 [gentoo-commits] proj/betagarden:master commit in: x11-misc/slinp/files/, licenses/, x11-misc/slinp/ Sebastian Pipping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox