diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/pstoedit |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/pstoedit')
-rw-r--r-- | media-gfx/pstoedit/Manifest | 7 | ||||
-rw-r--r-- | media-gfx/pstoedit/files/pstoedit-3.60-libdl.patch | 13 | ||||
-rw-r--r-- | media-gfx/pstoedit/files/pstoedit-3.70-pkgconfig.patch | 14 | ||||
-rw-r--r-- | media-gfx/pstoedit/metadata.xml | 20 | ||||
-rw-r--r-- | media-gfx/pstoedit/pstoedit-3.70-r1.ebuild | 64 |
5 files changed, 118 insertions, 0 deletions
diff --git a/media-gfx/pstoedit/Manifest b/media-gfx/pstoedit/Manifest new file mode 100644 index 000000000000..05cc97cb7806 --- /dev/null +++ b/media-gfx/pstoedit/Manifest @@ -0,0 +1,7 @@ +AUX pstoedit-3.60-libdl.patch 428 SHA256 587e8e9786002f245fc4f5a9bd89fb7bd15b2febacc96201f954923c07c40377 SHA512 dc29caf4b1bf1e6ce7cc73fd5ae1682f0aba8a798f632d29cca450bf3883afe54142ea06fbe6d9aa07f2580450780afe1c671cb1c37f1dd800582b2036797f73 WHIRLPOOL 5481982aa82ac96cecfcdc9795a688e2d9bbae36bbab287b6a34b2366bbd0a10b3ad499b0b333f819597af2ead306986470d00653a2e9f5dad681eca6ac2d655 +AUX pstoedit-3.70-pkgconfig.patch 627 SHA256 7ab8def047aef6a2e1abd528707895f03dcfdf0f2eb13db7d975ebe74893dad4 SHA512 8edfc9f0c0db6371405ff16641294c8aebb7dc09e9bc8b9114c7506f4fd494f0361b90abceddad68c351baa2d2917b6212056ed69c0a6dde0d914a2c801888ec WHIRLPOOL 7575e808d7ac63f4971be6deef1981b3d1bfedf9e5c0ad8d45d4691eeabb287633bb51172fccf52c350946b3dd8d0457e71d48df458dac0cea84b4dba6b48fba +DIST pstoedit-3.70.tar.gz 1013949 SHA256 06b86113f7847cbcfd4e0623921a8763143bbcaef9f9098e6def650d1ff8138c SHA512 63668ea039fdf988ba007bafb8dc1f23f06d4eb430a92b97fb93c71b819f63e2708b99476ec9b096598db2ddd30d29a69101f078e7d4fdfec314677f50293cf9 WHIRLPOOL b1538ddc6fdebd150e79e3c574b41941077863e14eff1b9e74baf0bffe6d4ef8419bff551bf88e6e4e98550648d7a050e18b0df8627373351074ff434de8a571 +EBUILD pstoedit-3.70-r1.ebuild 1370 SHA256 74c27e8ab32bb61f31efebaa784b1860c8500ed5e58bfec3055bf7a6e0239875 SHA512 07c9b99642ffe4a02a6309bc95d21d2055e867d2f0f8150e69f25047b3bd48a50f575da73a8c7d4e71d19d41af017011d98f1fe5ec3cdae602cb865547683a2e WHIRLPOOL 0d8b8a090685b1769f5c2ab7c512cd584cf9674cf005a168334da39dfc868c971be01cb77d31f94040bae3bb8c01ebdcf90870ae195c03df39d2f1f93b3a3e0f +MISC ChangeLog 3766 SHA256 a1355129dc963271e9bd40508bdb6ce94fb06d7511f716d600f2a2b9c5d82bb8 SHA512 db36538638c4da01b2ba5d86b4aaeb048f058010c309a87cd7549251b72a6dd9b7b343470eaad0bc804e8850dfc15a7ba0cca974ad8199f6f54ed6279f0d8299 WHIRLPOOL ee1e1e36d100fd6a9d2bfae106c7ce176c9000c18df6a039ab13895658e5a094f58bdada15704c0de3772522a833b958d15ced4ca5f4b59b3481467339e6d807 +MISC ChangeLog-2015 13119 SHA256 f21f0ecf038246d814399d0d1e0ed7a06fdc0cf219f81a249e3fcc60f2df92a5 SHA512 95326067e7fed8807d3ad0a9ffdf2e88ae4435555887e3d0e7e9a5db9042102294547069d8c8c7684dc6e9ae7be9594d98b015d8e5bd06280aa9e6000e16f9e0 WHIRLPOOL 835e2de630a1f4e8b7a20fe85edb84d53794de5722755f9d607a4aa25a7a8338ecb7b79c1b6a710b5d135e8ac4c78417e5bd7816082612ab3e30cf437781433c +MISC metadata.xml 709 SHA256 5083e90d68e387f751b8a2aa5c2b9ab608366183abb1e1a66fe6b61d1f9cf947 SHA512 36f14c4cce30c5a2d9f581ad02c61d7b8fc1de7bb613c3d1d1741a7753e215816c32846cf8c93f4905da839523d6a1e624beae66366770f102291e7219df0bda WHIRLPOOL d55c8bd62f4eab9d760d99a784e83cd856d8238bf68a046882b5f8aa744e6c570bfc073647bc732241a5b957fa7f9d534e07b596dbc3880a064c997af429aed7 diff --git a/media-gfx/pstoedit/files/pstoedit-3.60-libdl.patch b/media-gfx/pstoedit/files/pstoedit-3.60-libdl.patch new file mode 100644 index 000000000000..279ed715f53a --- /dev/null +++ b/media-gfx/pstoedit/files/pstoedit-3.60-libdl.patch @@ -0,0 +1,13 @@ +diff --git a/src/Makefile.am b/src/Makefile.am +index 6b33220..30c9f2e 100755 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -139,7 +139,7 @@ libpstoedit_la_SOURCES = \ + genericints.h \ + version.h + +-libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl -lm ++libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} ${LIBLD_LDFLAGS} -lm + libpstoedit_la_LDFLAGS = -no-undefined + + pstoedit_SOURCES = cmdmain.cpp diff --git a/media-gfx/pstoedit/files/pstoedit-3.70-pkgconfig.patch b/media-gfx/pstoedit/files/pstoedit-3.70-pkgconfig.patch new file mode 100644 index 000000000000..c101077431e5 --- /dev/null +++ b/media-gfx/pstoedit/files/pstoedit-3.70-pkgconfig.patch @@ -0,0 +1,14 @@ +LIBPNG_LDFLAGS is never substituted... +https://bugs.gentoo.org/show_bug.cgi?id=551208 + +Index: pstoedit-3.70/config/pstoedit.pc.in +=================================================================== +--- pstoedit-3.70.orig/config/pstoedit.pc.in ++++ pstoedit-3.70/config/pstoedit.pc.in +@@ -7,5 +7,5 @@ Name: pstoedit + Description: converts PostScript(TM) and PDF files to other vector graphic formats + Version: @VERSION@.0 + Requires: +-Libs: -L@libdir@ -lpstoedit @LIBPNG_LDFLAGS@ @CXX_STD_LIB@ @CXX_RUNTIME_LIB@ @LIBLD_LDFLAGS@ ++Libs: -L@libdir@ -lpstoedit @CXX_STD_LIB@ @CXX_RUNTIME_LIB@ @LIBLD_LDFLAGS@ + Cflags: -I@includedir@ diff --git a/media-gfx/pstoedit/metadata.xml b/media-gfx/pstoedit/metadata.xml new file mode 100644 index 000000000000..b2d783b728aa --- /dev/null +++ b/media-gfx/pstoedit/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>tex@gentoo.org</email> + <name>Gentoo TeX Project</name> + </maintainer> + <maintainer type="project"> + <email>printing@gentoo.org</email> + <name>Gentoo Printing Project</name> + </maintainer> + <use> + <flag name="emf">Enable <pkg>media-libs/libemf</pkg> support</flag> + <flag name="flash">Enable <pkg>media-libs/ming</pkg> SWF support</flag> + <flag name="pptx">Enable support for generating PowerPoint pptx files</flag> + </use> + <upstream> + <remote-id type="sourceforge">pstoedit</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild b/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild new file mode 100644 index 000000000000..6ce7a5d378cd --- /dev/null +++ b/media-gfx/pstoedit/pstoedit-3.70-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Translate PostScript and PDF graphics into other vector formats" +HOMEPAGE="https://sourceforge.net/projects/pstoedit/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="emf flash imagemagick plotutils pptx static-libs" + +RDEPEND=" + >=media-libs/gd-2.0.35-r1:= + >=app-text/ghostscript-gpl-8.71-r1 + emf? ( >=media-libs/libemf-1.0.3 ) + flash? ( >=media-libs/ming-0.4.3 ) + imagemagick? ( >=media-gfx/imagemagick-6.6.1.2[cxx] ) + plotutils? ( media-libs/plotutils ) + pptx? ( dev-libs/libzip ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.60-libdl.patch + "${FILESDIR}"/${PN}-3.70-pkgconfig.patch +) + +src_prepare() { + default + + sed -i \ + -e '/CXXFLAGS="-g"/d' \ + -e 's:-pedantic::' \ + configure.ac || die + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_with emf) \ + $(use_with imagemagick magick) \ + $(use_with plotutils libplot) \ + $(use_with flash swf) \ + $(use_with pptx) +} + +src_install() { + default + doman doc/pstoedit.1 + dodoc doc/*.txt + docinto html + dodoc doc/*.htm + + find "${ED}" -name '*.la' -delete +} |