Modified raptor not needed for hydrogen-9999

pull/4/head
Audiodef 7 years ago
parent 9ebfa4c8b8
commit e8cb5648c6

@ -1,5 +0,0 @@
DIST raptor2-2.0.14.tar.gz 1877454 SHA256 cb447b7c684cbe60f1266d622691fd20fdcf7b91f4a470c6de5fc8e8961df1b2 SHA512 399e23f2c549df8f1d709d67129d3fcf7899a8cdcdd8071c165f2b4106f397cce05fc69a6d7b176857011bf95723c0909b6510eded12f82217f89925bc1ba7c2 WHIRLPOOL dae2b80f3c0e82a9340b096ca52e89b8ccc6c849a98a7744d648f68b75dec1ff615e008a334bc7c0cc54259c9dcc07dfd6079805a0345aa7d89c9058cfd1656b
DIST raptor2-2.0.15.tar.gz 1886657 SHA256 ada7f0ba54787b33485d090d3d2680533520cd4426d2f7fb4782dd4a6a1480ed SHA512 563dd01869eb4df8524ec12e2c0a541653874dcd834bd1eb265bc2943bb616968f624121d4688579cdce11b4f00a8ab53b7099f1a0850e256bb0a2c16ba048ee WHIRLPOOL f66c885f52731b9e4175772e64825cfb8432ddbd215cbcdf0fa5afbc55741c074fc03f89ac791636b9ef6db18ebd93291bcaa756c770426596b7189eab4c8799
EBUILD raptor-2.0.14.ebuild 1638 SHA256 ebb7107577b6ba73fe4081a33685be4d72d5988042fb50f7e3b72dfbe5de4c66 SHA512 30e20172b2a31182350e7c99d3ffb6465fefc0c16ea756691130104fb918bcfbe997128341ec4359ce26589d53c67fd88721ad399e99223aa2fdbad80f645002 WHIRLPOOL 266a3398ea83d203e5b1345b157ac12033e7cc9ca20d210a53c89adec0d873e6e738c88ca03a92c0a3884c818ab42c9c413f185fbda9027213bb3b9ae0894221
EBUILD raptor-2.0.15.ebuild 1691 SHA256 c63754ef890ccc86f18d3fc57674f94937aba7dac5f9bdf1f3d3a1516359f4df SHA512 c79cbf31581445b30140808b932b4274e078c0073453e996df1d1496633c78edee0af0a522ba78f2e1805592528b2073abb2861a029a9fe398d9479fd63ccafb WHIRLPOOL 1b5cbb92ea5b81e549a5dc809745266fed791348b78e8e92e52909875c77a0a0e021ad40c77e8f2a5c9c11ce66cab74d1b00b2e45c7b418ef3a4f3e1801b0471
MISC metadata.xml 337 SHA256 831c612595993d3136158b1087c3ee9bdff3dc0f8bc50f39126485f8c7d52c9b SHA512 3a2c420495274cfca80f0103066b282b9f1301786a8cbde76b894fac721030bee949fc468c92841698038b991b07fa66f15891392784041a87f655d1860fd11c WHIRLPOOL 60a3271cd346df3bb17438302b77f5f2534ed462e4ea0a752627bd749492cc723c7ff8acba68ceb76af75265e34adce42551b5a772800eb8257c8d5e8ba0e160

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>sound@gentoo.org</email>
<name>Gentoo Sound project</name>
</maintainer>
<use>
<flag name="json">Enable support for JSON parsing</flag>
</use>
</pkgmetadata>

@ -1,69 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils libtool
MY_PN=${PN}2
MY_P=${MY_PN}-${PV}
DESCRIPTION="The RDF Parser Toolkit"
HOMEPAGE="http://librdf.org/raptor/"
SRC_URI="http://download.librdf.org/source/${MY_P}.tar.gz"
LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
SLOT="2"
KEYWORDS="~amd64"
IUSE="+curl debug json static-libs unicode"
RDEPEND="dev-libs/libxml2
dev-libs/libxslt
curl? ( net-misc/curl )
json? ( dev-libs/yajl )
unicode? ( dev-libs/icu:= )
!media-libs/raptor:0"
DEPEND="${RDEPEND}
>=sys-devel/bison-3
>=sys-devel/flex-2.5.36
virtual/pkgconfig"
S=${WORKDIR}/${MY_P}
DOCS="AUTHORS ChangeLog NEWS NOTICE README"
src_prepare() {
elibtoolize # Keep this for ~*-fbsd
}
src_configure() {
# FIXME: It should be possible to use net-nntp/inn for libinn.h and -linn!
local myconf='--with-www=xml'
use curl && myconf='--with-www=curl'
econf \
$(use_enable static-libs static) \
$(use_enable debug) \
$(use unicode && echo --with-icu-config="${EPREFIX}"/usr/bin/icu-config) \
$(use_with json yajl) \
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \
${myconf}
}
src_test() {
emake -j1 test
}
src_install() {
default
dohtml {NEWS,README,RELEASE,UPGRADING}.html
prune_libtool_files --all
# https://bugs.gentoo.org/467768
local _rdocdir=/usr/share/doc/${PF}/html/${MY_PN}
[[ -d ${ED}/${_rdocdir} ]] && dosym ${_rdocdir} /usr/share/gtk-doc/html/${MY_PN}
#Needed by packages expecting this:
dosym /usr/include/raptor2/raptor.h /usr/include/raptor.h
dosym /usr/include/raptor2/raptor2.h /usr/include/raptor2.h
}

@ -1,71 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit libtool
MY_PN=${PN}2
MY_P=${MY_PN}-${PV}
DESCRIPTION="The RDF Parser Toolkit"
HOMEPAGE="http://librdf.org/raptor/"
SRC_URI="http://download.librdf.org/source/${MY_P}.tar.gz"
LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
SLOT="2"
KEYWORDS="~amd64"
IUSE="+curl debug json static-libs unicode"
RDEPEND="dev-libs/libxml2
dev-libs/libxslt
curl? ( net-misc/curl )
json? ( dev-libs/yajl )
unicode? ( dev-libs/icu:= )
!media-libs/raptor:0"
DEPEND="${RDEPEND}
>=sys-devel/bison-3
>=sys-devel/flex-2.5.36
virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
DOCS="AUTHORS ChangeLog NEWS NOTICE README"
src_prepare() {
default
elibtoolize # Keep this for ~*-fbsd
}
src_configure() {
# FIXME: It should be possible to use net-nntp/inn for libinn.h and -linn!
local myconf='--with-www=xml'
use curl && myconf='--with-www=curl'
econf \
$(use_enable static-libs static) \
$(use_enable debug) \
$(usex unicode "--with-icu-config=\"${EPREFIX}\"/usr/bin/icu-config" '') \
$(use_with json yajl) \
--with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \
${myconf}
}
src_test() {
emake -j1 test
}
src_install() {
default
docinto html
dodoc {NEWS,README,RELEASE,UPGRADING}.html
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
# https://bugs.gentoo.org/467768
local _rdocdir=/usr/share/doc/${PF}/html/${MY_PN}
[[ -d ${ED}/${_rdocdir} ]] && dosym ${_rdocdir} /usr/share/gtk-doc/html/${MY_PN}
#Needed by packages expecting this:
dosym /usr/include/raptor2/raptor.h /usr/include/raptor.h
dosym /usr/include/raptor2/raptor2.h /usr/include/raptor2.h
}
Loading…
Cancel
Save