commit:     a3dbcfbf921c45270e79d212de867661d419718a
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 15:44:59 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 15:47:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3dbcfbf

dev-libs/xmlwrapp: Version bump to 0.8.1

Closes: https://bugs.gentoo.org/619804
Closes: https://bugs.gentoo.org/619354
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/xmlwrapp/Manifest              |  1 +
 dev-libs/xmlwrapp/xmlwrapp-0.8.1.ebuild | 50 +++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-libs/xmlwrapp/Manifest b/dev-libs/xmlwrapp/Manifest
index fe54604d937..8927c17497a 100644
--- a/dev-libs/xmlwrapp/Manifest
+++ b/dev-libs/xmlwrapp/Manifest
@@ -1 +1,2 @@
 DIST xmlwrapp-0.7.1.tar.gz 1453771 BLAKE2B 
33889ef53e8c154b10a1e8d3f0ff4ceaa6de9c68f61230028aeea86bb41be2eba9e464ad6717f57ee572297d218d1077108bb3fea5b54ce1d92a2620cadf8d70
 SHA512 
73aaa9821f861edaab8e83d97414c9525ae7f6281a4812d8df6239e10ec76dd941cc0a8ed4769469084f694642c2f0c978f6c7477c63f99735a8cc9d98d7b9a0
+DIST xmlwrapp-0.8.1.tar.gz 1470707 BLAKE2B 
213923b5e74f79a6d966ded4b9c9dfb5e6906bc44dd5d79099ee146f852233675d59f33908ee4a2c844332e1b3f7b064770ddcdcd2cea0745bdac6e1329ec3de
 SHA512 
f6415c7cbbe209f7ee148eff4ee5aca4f210b2ab420dbc89b2cdbca1f270097c362ecb456b0cc72cbebc8688fbc66ee3a94c1019d80e7211a9ebe44ddbd535eb

diff --git a/dev-libs/xmlwrapp/xmlwrapp-0.8.1.ebuild 
b/dev-libs/xmlwrapp/xmlwrapp-0.8.1.ebuild
new file mode 100644
index 00000000000..ed8327256b0
--- /dev/null
+++ b/dev-libs/xmlwrapp/xmlwrapp-0.8.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools flag-o-matic multilib-minimal
+
+DESCRIPTION="modern style C++ library that provides a simple and easy 
interface to libxml2"
+HOMEPAGE="http://vslavik.github.io/xmlwrapp/";
+SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0/6.4" # subslot = SONAME(libxmlwrapp.so) + SONAME(libxsltwrapp.so)
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND="
+       dev-libs/boost:=[${MULTILIB_USEDEP}]
+       dev-libs/libxml2:=[${MULTILIB_USEDEP}]
+       dev-libs/libxslt:=[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+       sys-devel/boost-m4"
+
+src_prepare() {
+       default
+
+       # Unbundle boost.m4, rely on
+       # sys-devel/boost-m4 instead
+       rm admin/boost.m4 || die
+
+       sed -i -e '/XMLWRAPP_VISIBILITY/d' configure.ac || die
+
+       eautoreconf
+}
+
+multilib_src_configure() {
+       # bug 619804
+       local -x CXXFLAGS="${CXXFLAGS}"
+       append-cxxflags -std=c++14
+
+       ECONF_SOURCE=${S} econf \
+               $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+       einstalldocs
+
+       # package installs .pc files
+       find "${D}" -name '*.la' -delete || die
+}

Reply via email to