summaryrefslogtreecommitdiffstats
path: root/gentoo/trinity-base/kghostview
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-11-19 17:45:28 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-11-19 17:45:28 +0100
commite6636bd5d6280d92996bd70b744e8a29e54c7e18 (patch)
tree014989bddcbc22c7a8d4dafa7b78f3e55b184718 /gentoo/trinity-base/kghostview
parent4b7471734323c7cb5bdc129857c94041418c81b5 (diff)
downloadtde-packaging-e6636bd5d6280d92996bd70b744e8a29e54c7e18.tar.gz
tde-packaging-e6636bd5d6280d92996bd70b744e8a29e54c7e18.zip
Gentoo: Initial import of an ebuilds tree
from Fat-Zer's (Alexander Golubev) repository. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'gentoo/trinity-base/kghostview')
-rw-r--r--gentoo/trinity-base/kghostview/Manifest1
-rw-r--r--gentoo/trinity-base/kghostview/files/tdegraphics-fix-kghostview-parallel-compilation.patch24
-rw-r--r--gentoo/trinity-base/kghostview/kghostview-3.5.13.1.ebuild16
-rw-r--r--gentoo/trinity-base/kghostview/kghostview-9999.ebuild14
-rw-r--r--gentoo/trinity-base/kghostview/metadata.xml8
5 files changed, 63 insertions, 0 deletions
diff --git a/gentoo/trinity-base/kghostview/Manifest b/gentoo/trinity-base/kghostview/Manifest
new file mode 100644
index 000000000..f0ba54e9a
--- /dev/null
+++ b/gentoo/trinity-base/kghostview/Manifest
@@ -0,0 +1 @@
+DIST kdegraphics-3.5.13.1.tar.gz 7526074 SHA256 19bd36e261bb6c5d2c9c1eba5f736c642b48422d917d44e576835f7ebb44906b SHA512 693e5ad70dbb00c587e588acfb81fc9475c3a4dbc86f41d6053c0584c533349a7564e34b870cb7bbc57361ac539da6f7d7f1b002ac3cfe8b0201db3eeb9147dd WHIRLPOOL fd2c46c517b3a0293880eaf35967295485555b936d0f1e80e0f2c261a1164cfcc5c4b2d943a12c073914d33b59974cc2dd92a78414614caa10f46dd048d518b4
diff --git a/gentoo/trinity-base/kghostview/files/tdegraphics-fix-kghostview-parallel-compilation.patch b/gentoo/trinity-base/kghostview/files/tdegraphics-fix-kghostview-parallel-compilation.patch
new file mode 100644
index 000000000..3aa8138a6
--- /dev/null
+++ b/gentoo/trinity-base/kghostview/files/tdegraphics-fix-kghostview-parallel-compilation.patch
@@ -0,0 +1,24 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c87ee85..09c3cfa 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -95,7 +95,8 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
+
+ ##### tdegraphics directories ###################
+
+-if( BUILD_KFILE_PLUGINS OR BUILD_GHOSTKVIEW )
++# kghostview/ps requires dscparse-static library
++if( BUILD_KFILE_PLUGINS AND NOT BUILD_KGHOSTVIEW )
+ add_subdirectory( kghostview/dscparse )
+ endif( )
+
+--- a/kghostview/CMakeLists.txt
++++ b/kghostview/CMakeLists.txt
+@@ -10,6 +10,7 @@
+ #################################################
+
+ add_subdirectory( data )
++add_subdirectory( dscparse )
+
+ include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
diff --git a/gentoo/trinity-base/kghostview/kghostview-3.5.13.1.ebuild b/gentoo/trinity-base/kghostview/kghostview-3.5.13.1.ebuild
new file mode 100644
index 000000000..32b936066
--- /dev/null
+++ b/gentoo/trinity-base/kghostview/kghostview-3.5.13.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="kdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity Viewer for PostScript (.ps, .eps) and PDF (.pdf) files"
+KEYWORDS="x86 amd64"
+IUSE=""
+
+DEPEND="x11-libs/libXft"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/tdegraphics-fix-${PN}-parallel-compilation.patch" )
diff --git a/gentoo/trinity-base/kghostview/kghostview-9999.ebuild b/gentoo/trinity-base/kghostview/kghostview-9999.ebuild
new file mode 100644
index 000000000..49c41a7b1
--- /dev/null
+++ b/gentoo/trinity-base/kghostview/kghostview-9999.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI="5"
+TRINITY_MODULE_NAME="tdegraphics"
+
+inherit trinity-meta
+
+DESCRIPTION="A Trinity Viewer for PostScript (.ps, .eps) and PDF (.pdf) files"
+KEYWORDS=
+IUSE=""
+
+DEPEND="x11-libs/libXft"
+RDEPEND="${DEPEND}"
diff --git a/gentoo/trinity-base/kghostview/metadata.xml b/gentoo/trinity-base/kghostview/metadata.xml
new file mode 100644
index 000000000..6e9f5e4a1
--- /dev/null
+++ b/gentoo/trinity-base/kghostview/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 type="person">
+ <email>fatzer2@gmail.com</email>
+ <name>Alexander Golubev</name>
+ </maintainer>
+</pkgmetadata>