From f1af93971b7490792d8541bc790e0d8c6d787059 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Sep 2019 10:28:05 +0100 Subject: gentoo resync : 06.08.2019 --- dev-libs/liblouis/Manifest | 4 +- dev-libs/liblouis/liblouis-2.5.3.ebuild | 64 ------------------------------ dev-libs/liblouis/liblouis-3.10.0.ebuild | 67 ++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 66 deletions(-) delete mode 100644 dev-libs/liblouis/liblouis-2.5.3.ebuild create mode 100644 dev-libs/liblouis/liblouis-3.10.0.ebuild (limited to 'dev-libs/liblouis') diff --git a/dev-libs/liblouis/Manifest b/dev-libs/liblouis/Manifest index a4fac95f596b..626d6598c791 100644 --- a/dev-libs/liblouis/Manifest +++ b/dev-libs/liblouis/Manifest @@ -1,3 +1,3 @@ -DIST liblouis-2.5.3.tar.gz 3785311 BLAKE2B 15130dfa6c32b9c12b6ffccf4a8b2185bcc8fe483e8822d4fdd9f1c1cd0c3e8f33325419f75a9eb23e1414743fe01b44041c836a06e4ff040708b95998251854 SHA512 5aa65f3a0b7cef37fe7cd8ccf09df8c40f38d183a88d1be9f1251b40406204e57a8d95716bf1de3569b09b640be613cc3e0bd0e05dc4d544face00bfc8d75ac7 -EBUILD liblouis-2.5.3.ebuild 1418 BLAKE2B 038a99116882249aa70912948a915b418fe37f29a9e57d2f86e801e3c86f62275c5beafa70d14c820c31140991fa5e4cb56f7489f9a22360163045095c700bfe SHA512 0811310f33eca3c289f6704de1a00a27a02e82853594d7dadb68c7f3c39e45f1ad5e9c1b79d858b57250a2e975f85b64c0c51949883f09cf2d15ecbb6ad5308c +DIST liblouis-3.10.0.tar.gz 13335626 BLAKE2B a4c7f81f15c202c0e1030119f805e218dd51852af57065c441241f4e182828036372750231726802adbb835a7af05ccbf029316da376f3f89dd62ae9d833f838 SHA512 e05d42ba352b1336b10ecd3d320c2bed33250cd636767ecd77837530577c537de4f4e806ddaf1ed7e8b9ec766c84adf6ab045595235c1020f2bb31ba791f3833 +EBUILD liblouis-3.10.0.ebuild 1522 BLAKE2B 4a15773925c9e1c105d9ed44ea8ec5704e4d1a6c3c0f6b6ea79f5ea28c0ceadcff578a21df9391a461da13ea58d60f1e87a1d5d07fd9d1fac1a75a5acc8ee0e7 SHA512 e44c85038780a8b527620f3d9b8399cac1e82832eef546510eba5b253bbbb0e1865c83a393c1f8d8465f26dd096a40f02e3e8af48b768993937c6ef52f5cfcb5 MISC metadata.xml 351 BLAKE2B 0fa7c957682fe363ddd29442ae153152469cc64ebf9005361c4b82f180c380485adf0b04467b147a441c6656ddcc9e44967fd692ed9f835d70653dbae9b9be1a SHA512 377a2d9ea4bc6007a60fcaf0284bd47af78b6fe2c901916f9cd7d6ab0f7a5225baf7314b47b0c3b00cd162278f910206bd99469bdef0165cd6e19c1eff73714d diff --git a/dev-libs/liblouis/liblouis-2.5.3.ebuild b/dev-libs/liblouis/liblouis-2.5.3.ebuild deleted file mode 100644 index d1c9eb1331eb..000000000000 --- a/dev-libs/liblouis/liblouis-2.5.3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -PYTHON_COMPAT=( python{2_7,3_5,3_6} ) -PYTHON_REQ_USE='wide-unicode(+)' -DISTUTILS_OPTIONAL=1 -inherit distutils-r1 - -DESCRIPTION="An open-source braille translator and back-translator" -HOMEPAGE="https://github.com/liblouis/liblouis" -SRC_URI="https://liblouis.googlecode.com/files/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 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/liblouis-3.10.0.ebuild b/dev-libs/liblouis/liblouis-3.10.0.ebuild new file mode 100644 index 000000000000..3f716c400def --- /dev/null +++ b/dev-libs/liblouis/liblouis-3.10.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_5,3_6} ) +PYTHON_REQ_USE='wide-unicode(+)' +DISTUTILS_OPTIONAL=1 +inherit autotools distutils-r1 + +DESCRIPTION="An open-source braille translator and back-translator" +HOMEPAGE="https://github.com/liblouis/liblouis" +SRC_URI="https://github.com/liblouis/liblouis/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="alpha amd64 ~arm ~arm64 ia64 ppc ppc64 ~sparc x86" +IUSE="python" +BDEPEND="sys-apps/help2man" +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 + eautoreconf +} + +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 DESTDIR="${D}" install + + if use python; then + pushd python > /dev/null + LD_PRELOAD+=':../liblouis/.libs/liblouis.so' \ + distutils-r1_src_install + popd > /dev/null + fi + + DOCS=( README AUTHORS NEWS ChangeLog doc/liblouis.txt ) + HTML_DOCS=( doc/liblouis.html ) + einstalldocs +} -- cgit v1.2.3