diff options
Diffstat (limited to 'app-text/pspresent')
-rw-r--r-- | app-text/pspresent/Manifest | 5 | ||||
-rw-r--r-- | app-text/pspresent/metadata.xml | 5 | ||||
-rw-r--r-- | app-text/pspresent/pspresent-1.3-r1.ebuild | 42 |
3 files changed, 52 insertions, 0 deletions
diff --git a/app-text/pspresent/Manifest b/app-text/pspresent/Manifest new file mode 100644 index 000000000000..be39cd29c5cf --- /dev/null +++ b/app-text/pspresent/Manifest @@ -0,0 +1,5 @@ +DIST pspresent-1.3.tar.gz 14357 SHA256 94f2b6fa437929c9add2b8f4554a204d49132170c1d167c4389c7de26f5a6f80 SHA512 cfca0b4758d03051cea95d077a45239103f6fd24dada775c3b7fb0b7f78863f6628b530a21834546546dc935596b6d93dbe45048a661fcc41152a4b97b8f21f3 WHIRLPOOL 2704797e1ae5bf7c7876f7cb79be57ac430fe2dc7ea7b0297fe77381f073c406eddc3878da247da6811755a9058290bad70495f597aef77a93fc4de1aa0edc86 +EBUILD pspresent-1.3-r1.ebuild 915 SHA256 8d51c0e6cd983b95b1a6420d66561f33c0c7bb08eaf7f0b6d878af25c0317bfc SHA512 4e436d19d84a701b003900219acca98effef86be25b533a16c97172e471f7c5bb1602ac7fa10de8b1d14d643ee6fc9310dc6e81347684340c465c550130c18aa WHIRLPOOL 2182cc20424f4703e79518900908d659a81fc9144940f7e6d94c79c7e690f8d388902c2781400d2888e4cdd59fd8cffc71418f1be20375dd5f10d33ea7c17144 +MISC ChangeLog 2530 SHA256 d106b7a10eb8747cdf8990562265bb0e3e64ba42d7b27c729a78f8f7f33f48e6 SHA512 d6215958d9a1b06a34e3f7339e2523ab46b045b7be4d9f235da5b8794a8ba6f825b38975532e10c8a6e6c8c0ae4ad2c2e00cc518a1368ad8b6137462437cd1f4 WHIRLPOOL 4b23439a3b193ed2d0a7f12a60f02081e769dc6b7ab4924f284a3d9070442b633d2ce1c3723595f7995dd88a910879da7b6d9a7086a40baea1612f18f2f6b306 +MISC ChangeLog-2015 3971 SHA256 258a60ffb546d4141f60e2f455bbdbacb5cb89bd5615f3164f87aa5a309bc087 SHA512 26b84a4b26a5034f1db35795cd02688dfefe1af19dd925956eefd779a16623448e1af671cebfdd1eafb3276349d6eae4f072ab5608d2049b7fea47c9d3da91d8 WHIRLPOOL b2b4c8805c0445d1546b80340415bbc6eea53556b48f03d6ba5599a4e932a6a3f41c9bf57d11d081d4ab86dfff22317dd48e8b1afb831052fe748e05e0e66360 +MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968 diff --git a/app-text/pspresent/metadata.xml b/app-text/pspresent/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/app-text/pspresent/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/app-text/pspresent/pspresent-1.3-r1.ebuild b/app-text/pspresent/pspresent-1.3-r1.ebuild new file mode 100644 index 000000000000..128bda4cc35e --- /dev/null +++ b/app-text/pspresent/pspresent-1.3-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit toolchain-funcs + +DESCRIPTION="A tool to display full-screen PostScript presentations" +SRC_URI="http://www.cse.unsw.edu.au/~matthewc/pspresent/${P}.tar.gz" +HOMEPAGE="http://www.cse.unsw.edu.au/~matthewc/pspresent/" +SLOT="0" +LICENSE="GPL-2" + +IUSE="xinerama" +KEYWORDS="amd64 ppc x86" + +RDEPEND="x11-libs/libX11 + xinerama? ( x11-libs/libXinerama ) + app-text/ghostscript-gpl" +DEPEND="${RDEPEND} + x11-proto/xproto + xinerama? ( x11-proto/xineramaproto ) + >=sys-apps/sed-4" + +src_prepare() { + if ! use xinerama ; then + sed -i -e "/^XINERAMA/s/^/#/g" Makefile || die "sed Makefile" + fi + sed -i Makefile \ + -e 's|= -Wall -O2|+= -Wall|g' \ + -e 's| -o | $(LDFLAGS)&|g' \ + || die "sed Makefile" +} + +src_compile() { + emake CC=$(tc-getCC) || die +} + +src_install() { + dobin pspresent + doman pspresent.1 +} |