From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-text/pspresent/Manifest | 3 +++ app-text/pspresent/metadata.xml | 5 ++++ app-text/pspresent/pspresent-1.3-r1.ebuild | 41 ++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 app-text/pspresent/Manifest create mode 100644 app-text/pspresent/metadata.xml create mode 100644 app-text/pspresent/pspresent-1.3-r1.ebuild (limited to 'app-text/pspresent') diff --git a/app-text/pspresent/Manifest b/app-text/pspresent/Manifest new file mode 100644 index 000000000000..c69f5cef37c9 --- /dev/null +++ b/app-text/pspresent/Manifest @@ -0,0 +1,3 @@ +DIST pspresent-1.3.tar.gz 14357 BLAKE2B b15f288f2446ef0a9a00bcf454d9e55fc60a0547c534f0015695c6d2b23c5bd779acd2b423b01f6cd019cff419cdc79da8f8575804440c3f70bbeb29e5fa1b32 SHA512 cfca0b4758d03051cea95d077a45239103f6fd24dada775c3b7fb0b7f78863f6628b530a21834546546dc935596b6d93dbe45048a661fcc41152a4b97b8f21f3 +EBUILD pspresent-1.3-r1.ebuild 861 BLAKE2B b0cd66024af91d76c1862eb7bf99afb7c7eff7115e6c2394aa51d48b905db07ef3d640d0085a74f37518f96a27975154f3f55f424105d06eb55d4a75454f4073 SHA512 fe62aa87d4b7acf113991fed91a39c12a2192c1e0d2dcaffe06b3d64ae546be7dbdcb4b71f72bea89e76cf38e78dad2111163eae7b2bf6df020ca770a31899bb +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 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 @@ + + + + + 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..20931af5b1d4 --- /dev/null +++ b/app-text/pspresent/pspresent-1.3-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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-base/xorg-proto" + +src_prepare() { + default + 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) +} + +src_install() { + dobin pspresent + doman pspresent.1 +} -- cgit v1.2.3