From 2900ebd64bb5cb2e0b656260cae260e0541e3c98 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Wed, 4 Jun 2014 15:11:50 +0400 Subject: [PATCH] pdfedit-0.4.5 added --- app-text/pdfedit/Manifest | 1 + app-text/pdfedit/pdfedit-0.4.5.ebuild | 46 +++++++++++++++++++ .../backbone/desktop/package.accept_keywords | 1 + 3 files changed, 48 insertions(+) create mode 100644 app-text/pdfedit/Manifest create mode 100644 app-text/pdfedit/pdfedit-0.4.5.ebuild diff --git a/app-text/pdfedit/Manifest b/app-text/pdfedit/Manifest new file mode 100644 index 00000000..da93f372 --- /dev/null +++ b/app-text/pdfedit/Manifest @@ -0,0 +1 @@ +DIST pdfedit-0.4.5.tar.gz 3366051 SHA256 71255000f7a1a12b0327c419d33b64f91630a0ab3ee60144dec46eac48c8d3df diff --git a/app-text/pdfedit/pdfedit-0.4.5.ebuild b/app-text/pdfedit/pdfedit-0.4.5.ebuild new file mode 100644 index 00000000..629fe752 --- /dev/null +++ b/app-text/pdfedit/pdfedit-0.4.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +#class no more available +#inherit qt3 + +DESCRIPTION="Editor for manipulating PDF documents. GUI and commandline interface." +HOMEPAGE="http://pdfedit.petricek.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 x86" + +IUSE="doc" +#class no more available +#RDEPEND="=x11-libs/qt-3* +RDEPEND="media-libs/t1lib" +DEPEND="${RDEPEND} + dev-libs/boost + doc? ( app-doc/doxygen )" + +src_configure(){ + echo + echo "This emerge will fail unless you have qt-3 installed (no more in portage)" + sleep 5s + # for C{,XX}_EXTRA read README and bug #277723 + # Disable parallel make detection as we pass required -j with emake + # ARCH is set to avoid pollution of CFLAGS with arch value... + econf \ + --docdir=/usr/share/doc/${PF}/ \ + --with-parallel-make=off \ + $(use_enable doc doxygen-doc) \ + $(use_enable doc advanced-doc) \ + ARCH="" \ + C_EXTRA="-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing ${CFLAGS}" \ + CXX_EXTRA="-fmessage-length=0 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fexceptions ${CXXFLAGS}" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "emake install failed" + rm "${D}"/usr/share/doc/${PF}/{LICENSE.GPL,README.cygwin} +} diff --git a/profiles/default/linux/amd64/13.0/backbone/desktop/package.accept_keywords b/profiles/default/linux/amd64/13.0/backbone/desktop/package.accept_keywords index 442d3c31..fe816eb4 100644 --- a/profiles/default/linux/amd64/13.0/backbone/desktop/package.accept_keywords +++ b/profiles/default/linux/amd64/13.0/backbone/desktop/package.accept_keywords @@ -60,6 +60,7 @@ app-portage/smart-live-rebuild ~amd64 app-text/cuneiform ~amd64 app-text/dvipsk ~amd64 app-text/mht-rip ~amd64 +app-text/pdfedit ~amd64 app-text/ps2pkm ~amd64 app-text/texlive ~amd64 app-text/texlive-core ~amd64