summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Brannon <teiresias@gentoo.org>2013-10-02 04:26:59 +0000
committerChristopher Brannon <teiresias@gentoo.org>2013-10-02 04:26:59 +0000
commit76f91da185203631dc3a580d20719c89337212b6 (patch)
tree5f3fd63306162afe4dd161cb129431a23c28259a /dev-libs/liblouis
parentStable for HPPA (bug #475480). (diff)
downloadhistorical-76f91da185203631dc3a580d20719c89337212b6.tar.gz
historical-76f91da185203631dc3a580d20719c89337212b6.tar.bz2
historical-76f91da185203631dc3a580d20719c89337212b6.zip
Add liblouis from the sunrise overlay. Closes bug #305899.
Thanks to Angelo D'Autilia <sydro@salug.it> for the initial ebuild. Package-Manager: portage-2.2.1/cvs/Linux x86_64 Manifest-Sign-Key: 0x6521E06D
Diffstat (limited to 'dev-libs/liblouis')
-rw-r--r--dev-libs/liblouis/ChangeLog11
-rw-r--r--dev-libs/liblouis/Manifest18
-rw-r--r--dev-libs/liblouis/liblouis-2.5.3.ebuild65
-rw-r--r--dev-libs/liblouis/metadata.xml9
4 files changed, 103 insertions, 0 deletions
diff --git a/dev-libs/liblouis/ChangeLog b/dev-libs/liblouis/ChangeLog
new file mode 100644
index 000000000000..ac34d54cdad9
--- /dev/null
+++ b/dev-libs/liblouis/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-libs/liblouis
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblouis/ChangeLog,v 1.1 2013/10/02 04:26:57 teiresias Exp $
+
+*liblouis-2.5.3 (01 Oct 2013)
+
+ 01 Oct 2013; Christopher Brannon <teiresias@gentoo.org>
+ +liblouis-2.5.3.ebuild, +metadata.xml:
+ Add liblouis from the sunrise overlay. Closes bug #305899.
+ Thanks to Angelo D'Autilia <sydro@salug.it> for the initial ebuild.
+
diff --git a/dev-libs/liblouis/Manifest b/dev-libs/liblouis/Manifest
new file mode 100644
index 000000000000..b05c00da41b4
--- /dev/null
+++ b/dev-libs/liblouis/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST liblouis-2.5.3.tar.gz 3785311 SHA256 19ed3c31e11cc53d51bb7bc1d6868ad57e6966c0512b74c716d94298fca2e548 SHA512 5aa65f3a0b7cef37fe7cd8ccf09df8c40f38d183a88d1be9f1251b40406204e57a8d95716bf1de3569b09b640be613cc3e0bd0e05dc4d544face00bfc8d75ac7 WHIRLPOOL ab21ce69e5cdd9a7bb3e6d3f50d0ac64c9d7818c6e47ee5d2898ee7e0ba3fa1a8b4b032a226f83098fe45f3bde815feca4baa358f44b50f37d24a67396e9ae3a
+EBUILD liblouis-2.5.3.ebuild 1502 SHA256 3d322d3296663f42bef53b6d783aec9aa9a1d67c0961643c1877cd45aeee849d SHA512 d65ad3a05c32471a1fd3b0cb6f710166f22acc8f0fa022696667121eb402724920909c83c0e8bfec1b50e4797b917567ffb3a663d213a2a90dfbafc43ae26427 WHIRLPOOL 7ab427e5aac91003ca5b452fcee45082c1b45874d4bec3572fdb2ba13d22114ee114a150f12e4c285f91658f13036686c5b4e60837542d1ddc39c2d9d55a05ae
+MISC ChangeLog 472 SHA256 27de91236f1630637b9bba6f0734f08a5b8b1910eb0e094ad898fc1fb76ec3f7 SHA512 607dac330cce159e1f10e0939267d31bcb9152199c9f48b0f01108ca4e2f3c8ea4893c977ed3719385f5ab06efdab9e9f95f42f165a7fcdcefbd25244273eec7 WHIRLPOOL 0ee7da47d4e8bae47317b7c51864ad2502fbccac3d6e35c0f2978824638dced6372dbdfd939943817c51e5010a6cb51eb52ae6e57ad1f1237b7f28c8ef124c0f
+MISC metadata.xml 260 SHA256 6c0573cf4f0f6043be320da2dc5a9a5bd19b045b24f9fd29963803476285e0c7 SHA512 d9e2f64f6963a2fdc516ff3504abc131c4bf97e9d737a92c7b478fe46841c911882a6bc1ad6f3acde2e14bbb8819484f33a30b5b2f24a52444a4ca1e2b0325db WHIRLPOOL f52f0280eb686317a4b7b3da1dd6f8121fc8e6e6c30fe0db31d0b7203841b2e1be0f0720d404c0bf534d6228061d36a8ead4a01f252114b53a0a0d6345276b77
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iQEcBAEBCAAGBQJSS6CSAAoJEH8qFnJlIeBtiQwH/3xTgcDmQKzYW491eJqeSNnu
+3D121SKUEFEnkvcq1ePASVlNiYoL7NLc75zRmR8IYdRmDtJspDe7LTtXHUhuYa7X
+tWWxSk1XtQTLB64ZOV77HWv/+MONwvcJmhKQqm8FNzqjtRhFGnpdYVEm8K99QZGl
+XQU5Kbrk087d7lmo/9n4ltXc33YzxYniqA2CILGczp69gczq2JFJnTwU+0Eo+GJK
+YbXzkv2jMOOvEs02QIiCAbWWiH3WaPp+JBisNLXpG1BucHNkizhAVv450uKjaJXk
+1nxvGXG53TD7xmYS8ec/59s4y2JFIla0M+MChvJ+yXArirlSfs4Qg+fnTPNIVHo=
+=0JpH
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/liblouis/liblouis-2.5.3.ebuild b/dev-libs/liblouis/liblouis-2.5.3.ebuild
new file mode 100644
index 000000000000..ed4389dfaa4e
--- /dev/null
+++ b/dev-libs/liblouis/liblouis-2.5.3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/liblouis/liblouis-2.5.3.ebuild,v 1.1 2013/10/02 04:26:57 teiresias Exp $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+PYTHON_REQ_USE='wide-unicode(+)'
+DISTUTILS_OPTIONAL=1
+inherit distutils-r1
+
+DESCRIPTION="An open-source braille translator and back-translator"
+HOMEPAGE="http://code.google.com/p/liblouis/"
+SRC_URI="http://liblouis.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python"
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+src_prepare() {
+ default
+
+ if use python; then
+ pushd python > /dev/null
+ distutils-r1_src_prepare
+ popd > /dev/null
+ fi
+}
+
+src_configure() {
+ econf --enable-ucs4
+}
+
+src_compile() {
+ default
+
+ if use python; then
+ pushd python > /dev/null
+ # setup.py imports liblouis to get the version number,
+ # and this causes the shared library to be dlopened
+ # at build-time. Hack around it with LD_PRELOAD.
+ # Thanks ArchLinux.
+ LD_PRELOAD+=':../liblouis/.libs/liblouis.so'
+ distutils-r1_src_compile
+ popd > /dev/null
+ fi
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+
+ if use python; then
+ pushd python > /dev/null
+ LD_PRELOAD+=':../liblouis/.libs/liblouis.so' \
+ distutils-r1_src_install
+ popd > /dev/null
+ fi
+
+ dodoc README AUTHORS NEWS ChangeLog || die
+ dohtml doc/liblouis.html
+}
diff --git a/dev-libs/liblouis/metadata.xml b/dev-libs/liblouis/metadata.xml
new file mode 100644
index 000000000000..d030e2893d9b
--- /dev/null
+++ b/dev-libs/liblouis/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>accessibility</herd>
+<maintainer>
+ <email>teiresias@gentoo.org</email>
+ <name>Chris Brannon</name>
+</maintainer>
+</pkgmetadata>