diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/liblouis | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/liblouis')
-rw-r--r-- | dev-libs/liblouis/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/liblouis/liblouis-2.5.3.ebuild | 65 | ||||
-rw-r--r-- | dev-libs/liblouis/metadata.xml | 5 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-libs/liblouis/Manifest b/dev-libs/liblouis/Manifest new file mode 100644 index 000000000000..4e73edf6c9bf --- /dev/null +++ b/dev-libs/liblouis/Manifest @@ -0,0 +1 @@ +DIST liblouis-2.5.3.tar.gz 3785311 SHA256 19ed3c31e11cc53d51bb7bc1d6868ad57e6966c0512b74c716d94298fca2e548 SHA512 5aa65f3a0b7cef37fe7cd8ccf09df8c40f38d183a88d1be9f1251b40406204e57a8d95716bf1de3569b09b640be613cc3e0bd0e05dc4d544face00bfc8d75ac7 WHIRLPOOL ab21ce69e5cdd9a7bb3e6d3f50d0ac64c9d7818c6e47ee5d2898ee7e0ba3fa1a8b4b032a226f83098fe45f3bde815feca4baa358f44b50f37d24a67396e9ae3a 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..afaa126a1bd8 --- /dev/null +++ b/dev-libs/liblouis/liblouis-2.5.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +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="alpha amd64 ~arm ia64 ppc ppc64 sparc 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..b723de1dbba2 --- /dev/null +++ b/dev-libs/liblouis/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>accessibility</herd> +</pkgmetadata> |