From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-libs/liblouis/Manifest | 1 + dev-libs/liblouis/liblouis-2.5.3.ebuild | 65 +++++++++++++++++++++++++++++++++ dev-libs/liblouis/metadata.xml | 5 +++ 3 files changed, 71 insertions(+) create mode 100644 dev-libs/liblouis/Manifest create mode 100644 dev-libs/liblouis/liblouis-2.5.3.ebuild create mode 100644 dev-libs/liblouis/metadata.xml (limited to 'dev-libs/liblouis') 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 @@ + + + +accessibility + -- cgit v1.2.3-65-gdbad