summaryrefslogtreecommitdiff
path: root/app-text/unrtf
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/unrtf')
-rw-r--r--app-text/unrtf/Manifest5
-rw-r--r--app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch6
-rw-r--r--app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch10
-rw-r--r--app-text/unrtf/metadata.xml7
-rw-r--r--app-text/unrtf/unrtf-0.21.9.ebuild25
5 files changed, 53 insertions, 0 deletions
diff --git a/app-text/unrtf/Manifest b/app-text/unrtf/Manifest
new file mode 100644
index 000000000000..f43d82d4e09d
--- /dev/null
+++ b/app-text/unrtf/Manifest
@@ -0,0 +1,5 @@
+AUX unrtf-0.21.8-automake-fix.patch 191 BLAKE2B ca81dbbebd8ab2ae786e6291018ecae848ee79a0193c0c176e15052712363f196776b2014a83a2f294d718528588251087c896c87f24335dc4f1fcaf76b926a3 SHA512 7df52c8bc5a6955096fdb3a0e2c151ecec8226c4f703a7d6095f9ca4e4507084b0b0a97b10d853b5da0e27b01bb4e73a6080aec35e5fef14fb015c36bed222ad
+AUX unrtf-0.21.8-iconv-detection.patch 301 BLAKE2B 53d3125d59e44da9c539a13f76d99828be94261e61e367c3582da17cb8625caa75accdd38bfb59b6a7e15a3879ed8ecaf62df3ff26d5e757a86f963ef6c3094f SHA512 57d51baa1160b772896a7fa2ce88c5ea70110d2d7edf6cac121d86849e7352e34ff0cb684161ef9a68e96e886beb6072323c9a66517691e42dce852e04035ca0
+DIST unrtf-0.21.9.tar.gz 828590 BLAKE2B 832ab672265efa8f1ed5dfdcc73e310ef920199db57cc2be5303c7d0c502a15e7027cb9539ee5a27df66e2589d9dce88aac40d465f87d39770de9c4b5d886b8f SHA512 56d279ba8c8c20b8e39705dd4313c2b1607273d02ca2cdaeca5771bdbb3d99c338b816671dba1037961879be8ac6efddcd1af4cecb5c337f899575cae2989c03
+EBUILD unrtf-0.21.9.ebuild 735 BLAKE2B bccc2ee4512c901399b519aea8ebdf0d6de2a5dc6999d15ce2110715d5322b614d804d1815919827b56aeae1737604e848e92f71ca23329ecb788757734ae1e8 SHA512 00130f5ad9a8ea05bd87c1ae43cefe47a5842215dd69d3195fe33af033ffdef6e719b9945e8523189acebe78d2eaddacc1d56f5b441ff730048cf5274c656a8f
+MISC metadata.xml 216 BLAKE2B 20531789dc11e43feee7ec315a0c1c7249fdf73764e29cb7d6db439826e9ff72f24a5cdb8eb7f1ab99bbb41fb6e4226874a1d1fa4185de52598602bb3b0479a3 SHA512 e881b59fe49746eb25ad66c258b41aba501e4eb563129093a3898ea970a20506e7898f7c355cfcf99605234962bf2c77c1309c258b9a2b84ee4302ccb71c9dbd
diff --git a/app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch b/app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch
new file mode 100644
index 000000000000..fdfb52a4637b
--- /dev/null
+++ b/app-text/unrtf/files/unrtf-0.21.8-automake-fix.patch
@@ -0,0 +1,6 @@
+--- unrtf-0.21.8/charmaps/Makefile.am
++++ unrtf-0.21.8/charmaps/Makefile.am
+@@ -1,2 +1,2 @@
+-outputsdir = ${libdir}/${PACKAGE}
++outputsdir = ${pkgdatadir}
+ dist_outputs_DATA = SYMBOL.charmap
diff --git a/app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch b/app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch
new file mode 100644
index 000000000000..d5bb142ce558
--- /dev/null
+++ b/app-text/unrtf/files/unrtf-0.21.8-iconv-detection.patch
@@ -0,0 +1,10 @@
+--- unrtf-0.21.8/configure.ac
++++ unrtf-0.21.8/configure.ac
+@@ -46,6 +46,7 @@
+ *-*-cygwin*) AC_SUBST(LIBS, ["-liconv"]);;
+ *aix*) AC_SUBST(LIBS, ["-liconv"]);;
+ *-*-darwin*) AC_SUBST(LIBS, ["-liconv"]);;
++ *-*-solaris*) AC_SUBST(LIBS, ["-liconv"]);;
+ esac
+
+ AC_CONFIG_FILES([Makefile
diff --git a/app-text/unrtf/metadata.xml b/app-text/unrtf/metadata.xml
new file mode 100644
index 000000000000..79d462e85571
--- /dev/null
+++ b/app-text/unrtf/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/app-text/unrtf/unrtf-0.21.9.ebuild b/app-text/unrtf/unrtf-0.21.9.ebuild
new file mode 100644
index 000000000000..39b505eb8e6d
--- /dev/null
+++ b/app-text/unrtf/unrtf-0.21.9.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="Converts RTF files to various formats"
+HOMEPAGE="https://www.gnu.org/software/unrtf/unrtf.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
+IUSE=""
+
+src_prepare() {
+ # eautoreconf fails when automake-1.14* is installed. Please check with
+ # next version bump if we still need this workaround.
+ rm aclocal.m4 || die
+
+ epatch "${FILESDIR}"/unrtf-0.21.8-automake-fix.patch
+ epatch "${FILESDIR}"/${PN}-0.21.8-iconv-detection.patch
+ eautoreconf
+}