From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-libs/raptor/Manifest | 7 ++++ media-libs/raptor/metadata.xml | 11 ++++++ media-libs/raptor/raptor-2.0.14.ebuild | 65 +++++++++++++++++++++++++++++++++ media-libs/raptor/raptor-2.0.15.ebuild | 67 ++++++++++++++++++++++++++++++++++ 4 files changed, 150 insertions(+) create mode 100644 media-libs/raptor/Manifest create mode 100644 media-libs/raptor/metadata.xml create mode 100644 media-libs/raptor/raptor-2.0.14.ebuild create mode 100644 media-libs/raptor/raptor-2.0.15.ebuild (limited to 'media-libs/raptor') diff --git a/media-libs/raptor/Manifest b/media-libs/raptor/Manifest new file mode 100644 index 000000000000..728e8d864e83 --- /dev/null +++ b/media-libs/raptor/Manifest @@ -0,0 +1,7 @@ +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 1656 SHA256 fd820bcd1226f5dd92324c8bbe11a40de859430c111a5058c4a8c4e993c3955c SHA512 1d1ef2c5efea26b8b608603448a2378f5ef5b1cb1214c62044c2f46edf7f13e93bad241eafe5062acc58b26c065c5cee7838f9369d811eb6bfd836a918aefd09 WHIRLPOOL 61d7e64915f49580958c10f88a34bf51dd219f176e51b26abb12ae63575aa8c219ff292c08717a396f6ccf6d02fce8f72d756a43d57f8c4fa933856acb36f36b +EBUILD raptor-2.0.15.ebuild 1725 SHA256 9593545140980e6d9234634e381b16ada2a18dcabd938406974cfc26334fcdce SHA512 4d2326a6649d4600125c7a0d4befe0c47adf0d77fc788252b3ee725a5f520dd2280f5418ae0c9ab7cc52f64816c8ab1092dc2d4f2dc949443a13251ac5954d15 WHIRLPOOL 431fc84933926dd9fd7a0c5673da553c24163642cbb35aa353c2e1b9e17bf84da3ede8039ccb0b68c694deb8c63dd5d04222ef56cfd0f1023880b36a5cfb2b5b +MISC ChangeLog 3460 SHA256 b3d239366d37ca1a7481a1486861e434f9f70df23d1b44546eb8720db318f55a SHA512 8b4ae8fd7cd61ea3e10277508133c6900c5981e6d5c61612aa61ae713b66a13f919e6db4132afa54c31a2f650a8157888c57f63c5ae5f4d801def518cb926588 WHIRLPOOL 0910e16e923120259353079ba1de76ef7072b5b6a78aecc7e42cb4f79225a6bb0d1bbcad4eb365ce35af1ff60705d8d377b094e57a5148388176966f27bc51ec +MISC ChangeLog-2015 19279 SHA256 a12dfd378b22ad334b5da03f071baf939d47ba2042e81988a6a18104bb51153d SHA512 ff9779a58c04d1874d89bec87ad8256687411cd35e31fd70e6b2e9e81f372bcab1e85269048fc93a6d47b7581d5c81aeb64fb29117c06ecb37d27a1e4fd9626c WHIRLPOOL 498a22e56251932f7701a8879a6d42abe9a88f0d2f0f7d404087c4ee294702a1f01cf157632666fe1f979fa9c1b923d415f7e74e2737d3e399bde930d27980f2 +MISC metadata.xml 337 SHA256 831c612595993d3136158b1087c3ee9bdff3dc0f8bc50f39126485f8c7d52c9b SHA512 3a2c420495274cfca80f0103066b282b9f1301786a8cbde76b894fac721030bee949fc468c92841698038b991b07fa66f15891392784041a87f655d1860fd11c WHIRLPOOL 60a3271cd346df3bb17438302b77f5f2534ed462e4ea0a752627bd749492cc723c7ff8acba68ceb76af75265e34adce42551b5a772800eb8257c8d5e8ba0e160 diff --git a/media-libs/raptor/metadata.xml b/media-libs/raptor/metadata.xml new file mode 100644 index 000000000000..cea856a17a31 --- /dev/null +++ b/media-libs/raptor/metadata.xml @@ -0,0 +1,11 @@ + + + + + sound@gentoo.org + Gentoo Sound project + + + Enable support for JSON parsing + + diff --git a/media-libs/raptor/raptor-2.0.14.ebuild b/media-libs/raptor/raptor-2.0.14.ebuild new file mode 100644 index 000000000000..ee0d8343793b --- /dev/null +++ b/media-libs/raptor/raptor-2.0.14.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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} +} diff --git a/media-libs/raptor/raptor-2.0.15.ebuild b/media-libs/raptor/raptor-2.0.15.ebuild new file mode 100644 index 000000000000..6cc7c0b3cd51 --- /dev/null +++ b/media-libs/raptor/raptor-2.0.15.ebuild @@ -0,0 +1,67 @@ +# 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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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} +} -- cgit v1.2.3