diff options
Diffstat (limited to 'dev-libs/redland')
-rw-r--r-- | dev-libs/redland/Manifest | 8 | ||||
-rw-r--r-- | dev-libs/redland/metadata.xml | 8 | ||||
-rw-r--r-- | dev-libs/redland/redland-1.0.15.ebuild | 74 | ||||
-rw-r--r-- | dev-libs/redland/redland-1.0.16.ebuild | 91 | ||||
-rw-r--r-- | dev-libs/redland/redland-1.0.17-r1.ebuild | 86 | ||||
-rw-r--r-- | dev-libs/redland/redland-1.0.17.ebuild | 86 |
6 files changed, 353 insertions, 0 deletions
diff --git a/dev-libs/redland/Manifest b/dev-libs/redland/Manifest new file mode 100644 index 000000000000..7b39251e9ffc --- /dev/null +++ b/dev-libs/redland/Manifest @@ -0,0 +1,8 @@ +DIST redland-1.0.15.tar.gz 1600090 BLAKE2B e655860230459afafaad549d0403c0c439a744bc8f8168e8abf498d52988f716d1b719be25d8ef034008fda8194bcaaa4c0c46230d2bff84b6a046ff150b464b SHA512 94b8806d0c5b8ff5c394bc6825c1347efe609a2d7a72f9346fc88b15094938e69b482d28ca8a4eea64876a6afdf6c3b60275c987a617cc498cf19d6fbc53950b +DIST redland-1.0.16.tar.gz 1624112 BLAKE2B cee6c1b4ca07e2758be57b63a47a2d1b63e0db46ff26aad3a2779b7f64fe2bb147dbcd924142eb46614f249bce78f3b760f2dfc4b0de8f9c956f5696c5df6045 SHA512 16a57569d00f8bbfda9e90d93d686e6f51b14f066f013c9757f2b372d7b23c58fe0ba172953f8affe73c8d804e966566dc38401caca46cee2a8b091019828457 +DIST redland-1.0.17.tar.gz 1621566 BLAKE2B ec94cd456a771b97ab16fab63cf6beffe1ce3371c06213faa49162fe452b31a21dffe6c2cc631c10b137f44dc71c2c40c1d7fac0552bbe0169728427b1f47a36 SHA512 363323ffc9e75d4f0e3a3b40952f6241fd0d8b9f46bfd4dd86cf0a5162de35257a8b70ce408a6083c03ba7c388982231a3774e5e9024b262ebb02968f778b850 +EBUILD redland-1.0.15.ebuild 2123 BLAKE2B de7cac987266b6c74430bc0b7a265d4f3d4cec1f65abe27759806f640492154ff4cbcfeaf901566168fa3283d5a700106f7cf4ffadc07328d6196e3904fa7358 SHA512 2e6814699d4a0e995d71fa32b86fa7a5c5d088abd3fa8b665c3dfdc44310fc1cb6ef405f0de11b1900a1598ebe8c8fb145b1c1e770ac7442240d1ed8ffc1db3b +EBUILD redland-1.0.16.ebuild 2469 BLAKE2B 7ccce2f674c0d08a6dbd981182ed05579ce36bc0929bae0a842b712f632dd53c25351766cf0e1eb1bc7e54e4c8d626069ed4e88ba26a8cef89892624a04af7d7 SHA512 93977c197a2b6fe3bfe6a43d4583e41fa06b6cac58a866fc74a0d66556560796c2fbf9fd67ed20e7768996d876a5149644c35842b4945618aa608f204e703006 +EBUILD redland-1.0.17-r1.ebuild 2475 BLAKE2B 54eea53f5948006d6829586ddeb9bf66787c33d676a8d2bfa0588268b3d290ee005dbc2c48474d36b7c82fec706918bad23faae19c1884ef887b3bcb9be0a870 SHA512 762f99e78c11d5c1ff68b4ed8d5f956adade95e9fc359e5ef6bed3c9af7ba1136f46c0877f94e1d3048e5b92fb5e96e47c4c8f887bc0fe7354052efabfb86fb8 +EBUILD redland-1.0.17.ebuild 2468 BLAKE2B 1213656b2309c86f3e0a0122a6462c02183d8ea8e2b66c921b7cbefd16f27b2353ea510238b5c8171f83c1c4d63fe11a1cd37a5e6a8b18b142198cee1cd9f9db SHA512 157f178cdc5ab1af0a7bf5ed3b10017a01c3f4e11a9376b3d7414af02fb5b917943d310470acc7e816415c0fd34d3165d27f83093b7d6466174bc28aa65d6841 +MISC metadata.xml 249 BLAKE2B f7f8f071ecba933f3d39b0b60983281d59299b92de9375a60ab4109d7202800cb790bce0c426227f04b3e2624b1adb20876145741355abc6a4938b8b9698d144 SHA512 9a100fb26586365eda99724330a03a512f4d0be18d39c3a195ba02c2fc841edeee99d22512acf5a058a3b978d3a74f4d963a5aff9aa343b6cb4086cdfefe6343 diff --git a/dev-libs/redland/metadata.xml b/dev-libs/redland/metadata.xml new file mode 100644 index 000000000000..c870d0eef0ab --- /dev/null +++ b/dev-libs/redland/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> diff --git a/dev-libs/redland/redland-1.0.15.ebuild b/dev-libs/redland/redland-1.0.15.ebuild new file mode 100644 index 000000000000..bc0fbf29714c --- /dev/null +++ b/dev-libs/redland/redland-1.0.15.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit libtool + +DESCRIPTION="High-level interface for the Resource Description Framework" +HOMEPAGE="http://librdf.org/" +SRC_URI="http://download.librdf.org/source/${P}.tar.gz" + +LICENSE="Apache-2.0 GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="berkdb iodbc mysql odbc postgres sqlite ssl static-libs +xml" + +# Drop the libtool dep once libltdl goes stable. +RDEPEND="|| ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 ) + mysql? ( virtual/mysql ) + sqlite? ( =dev-db/sqlite-3* ) + berkdb? ( sys-libs/db ) + xml? ( dev-libs/libxml2 ) + !xml? ( >=dev-libs/expat-2 ) + ssl? ( dev-libs/openssl:0 ) + >=media-libs/raptor-2.0.7 + >=dev-libs/rasqal-0.9.28 + postgres? ( dev-db/postgresql ) + iodbc? ( dev-db/libiodbc ) + odbc? ( dev-db/unixODBC )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + elibtoolize # NOTE: this is for fbsd .so version +} + +src_configure() { + local parser=expat + use xml && parser=libxml + + local myconf="--without-virtuoso" + if use iodbc; then + myconf="--with-virtuoso --with-iodbc --without-unixodbc" + elif use odbc; then + myconf="--with-virtuoso --with-unixodbc --without-iodbc" + fi + + # FIXME: upstream doesn't test with --with-threads and testsuite fails + econf \ + $(use_enable static-libs static) \ + $(use_with berkdb bdb) \ + --with-xml-parser=${parser} \ + $(use_with ssl openssl-digests) \ + $(use_with mysql) \ + $(use_with sqlite) \ + $(use_with postgres postgresql) \ + --without-threads \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ + ${myconf} +} + +src_test() { + if ! use berkdb; then + export REDLAND_TEST_CLONING_STORAGE_TYPE=hashes + export REDLAND_TEST_CLONING_STORAGE_NAME=test + export REDLAND_TEST_CLONING_STORAGE_OPTIONS="hash-type='memory',dir='.',write='yes',new='yes',contexts='yes'" + fi + default +} + +src_install() { + default + dohtml {FAQS,NEWS,README,RELEASE,TODO}.html + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + +} diff --git a/dev-libs/redland/redland-1.0.16.ebuild b/dev-libs/redland/redland-1.0.16.ebuild new file mode 100644 index 000000000000..dc5933e75bc1 --- /dev/null +++ b/dev-libs/redland/redland-1.0.16.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit db-use libtool + +DESCRIPTION="High-level interface for the Resource Description Framework" +HOMEPAGE="http://librdf.org/" +SRC_URI="http://download.librdf.org/source/${P}.tar.gz" + +LICENSE="Apache-2.0 GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="berkdb iodbc mysql odbc postgres sqlite static-libs +xml" + +# Drop the libtool dep once libltdl goes stable. +RDEPEND="|| ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 ) + mysql? ( virtual/mysql ) + sqlite? ( =dev-db/sqlite-3* ) + berkdb? ( sys-libs/db ) + xml? ( dev-libs/libxml2 ) + !xml? ( >=dev-libs/expat-2 ) + >=media-libs/raptor-2.0.7 + >=dev-libs/rasqal-0.9.28 + postgres? ( dev-db/postgresql ) + iodbc? ( dev-db/libiodbc ) + odbc? ( dev-db/unixODBC )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + elibtoolize # NOTE: this is for fbsd .so version +} + +src_configure() { + local parser=expat + use xml && parser=libxml + + local myconf=( --without-virtuoso ) + if use iodbc; then + myconf=( --with-virtuoso --with-iodbc --without-unixodbc ) + elif use odbc; then + myconf=( --with-virtuoso --with-unixodbc --without-iodbc ) + fi + + if use berkdb; then + myconf+=( + --with-bdb-include="$(db_includedir)" + --with-bdb-lib="${EPREFIX}"/usr/$(get_libdir) + --with-bdb-dbname="$(db_libname)" + ) + fi + + # FIXME: upstream doesn't test with --with-threads and testsuite fails + econf \ + $(use_enable static-libs static) \ + $(use_with berkdb bdb) \ + --with-xml-parser=${parser} \ + $(use_with mysql) \ + $(use_with sqlite) \ + $(use_with postgres postgresql) \ + --without-threads \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ + "${myconf[@]}" +} + +src_compile() { + emake -j1 +} + +src_test() { + if ! use berkdb; then + export REDLAND_TEST_CLONING_STORAGE_TYPE=hashes + export REDLAND_TEST_CLONING_STORAGE_NAME=test + export REDLAND_TEST_CLONING_STORAGE_OPTIONS="hash-type='memory',dir='.',write='yes',new='yes',contexts='yes'" + fi + default +} + +src_install() { + default + dohtml {FAQS,NEWS,README,RELEASE,TODO}.html + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + + + # !!! REMOVE THIS ON VERSION BUMP, see bug 468298 for proper fix !!! + if [[ -n ${LDFLAGS} ]] ; then + sed -i \ + -e "s:${LDFLAGS} ::g" \ + "${ED}"/usr/$(get_libdir)/pkgconfig/redland.pc || die + fi +} diff --git a/dev-libs/redland/redland-1.0.17-r1.ebuild b/dev-libs/redland/redland-1.0.17-r1.ebuild new file mode 100644 index 000000000000..edb4204c79f9 --- /dev/null +++ b/dev-libs/redland/redland-1.0.17-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit db-use libtool + +DESCRIPTION="High-level interface for the Resource Description Framework" +HOMEPAGE="http://librdf.org/" +SRC_URI="http://download.librdf.org/source/${P}.tar.gz" + +LICENSE="Apache-2.0 GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="berkdb iodbc mysql odbc postgres sqlite static-libs" + +RDEPEND="dev-libs/libltdl:0 + mysql? ( virtual/mysql ) + sqlite? ( =dev-db/sqlite-3* ) + berkdb? ( sys-libs/db ) + >=media-libs/raptor-2.0.14 + >=dev-libs/rasqal-0.9.32 + postgres? ( dev-db/postgresql ) + iodbc? ( dev-db/libiodbc ) + odbc? ( dev-db/unixODBC )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +MAKEOPTS="${MAKEOPTS} -j1" #500574, required for both src_compile() and src_install() + +src_prepare() { + elibtoolize # NOTE: this is for fbsd .so version +} + +src_configure() { + local myconf=( --without-virtuoso ) + if use iodbc; then + myconf=( --with-virtuoso --with-iodbc --without-unixodbc ) + elif use odbc; then + myconf=( --with-virtuoso --with-unixodbc --without-iodbc ) + fi + + if use berkdb; then + myconf+=( + --with-bdb-include="$(db_includedir)" + --with-bdb-lib="${EPREFIX}"/usr/$(get_libdir) + --with-bdb-dbname="$(db_libname)" + ) + fi + + # FIXME: upstream doesn't test with --with-threads and testsuite fails + econf \ + $(use_enable static-libs static) \ + $(use_with berkdb bdb) \ + $(use_with mysql) \ + $(use_with sqlite) \ + $(use_with postgres postgresql) \ + --without-threads \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ + "${myconf[@]}" +} + +src_test() { + if ! use berkdb; then + export REDLAND_TEST_CLONING_STORAGE_TYPE=hashes + export REDLAND_TEST_CLONING_STORAGE_NAME=test + export REDLAND_TEST_CLONING_STORAGE_OPTIONS="hash-type='memory',dir='.',write='yes',new='yes',contexts='yes'" + fi + default +} + +src_install() { + default + dohtml {FAQS,NEWS,README,RELEASE,TODO}.html + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + + + # !!! REMOVE THIS ON VERSION BUMP, see bug 468298 for proper fix !!! + if [[ -n ${LDFLAGS} ]]; then + sed -i \ + -e "s:${LDFLAGS} ::g" \ + "${ED}"/usr/$(get_libdir)/pkgconfig/${PN}.pc || die + fi + + # https://bugs.gentoo.org/467768 + local _rdocdir=/usr/share/doc/${PF}/html/${PN} + [[ -d ${ED}/${_rdocdir} ]] && dosym ${_rdocdir} /usr/share/gtk-doc/html/${PN} +} diff --git a/dev-libs/redland/redland-1.0.17.ebuild b/dev-libs/redland/redland-1.0.17.ebuild new file mode 100644 index 000000000000..5558ad0e9032 --- /dev/null +++ b/dev-libs/redland/redland-1.0.17.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit db-use libtool + +DESCRIPTION="High-level interface for the Resource Description Framework" +HOMEPAGE="http://librdf.org/" +SRC_URI="http://download.librdf.org/source/${P}.tar.gz" + +LICENSE="Apache-2.0 GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="berkdb iodbc mysql odbc postgres sqlite static-libs" + +RDEPEND="dev-libs/libltdl:0 + mysql? ( virtual/mysql ) + sqlite? ( =dev-db/sqlite-3* ) + berkdb? ( sys-libs/db ) + >=media-libs/raptor-2.0.14 + >=dev-libs/rasqal-0.9.32 + postgres? ( dev-db/postgresql ) + iodbc? ( dev-db/libiodbc ) + odbc? ( dev-db/unixODBC )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +MAKEOPTS="${MAKEOPTS} -j1" #500574, required for both src_compile() and src_install() + +src_prepare() { + elibtoolize # NOTE: this is for fbsd .so version +} + +src_configure() { + local myconf=( --without-virtuoso ) + if use iodbc; then + myconf=( --with-virtuoso --with-iodbc --without-unixodbc ) + elif use odbc; then + myconf=( --with-virtuoso --with-unixodbc --without-iodbc ) + fi + + if use berkdb; then + myconf+=( + --with-bdb-include="$(db_includedir)" + --with-bdb-lib="${EPREFIX}"/usr/$(get_libdir) + --with-bdb-dbname="$(db_libname)" + ) + fi + + # FIXME: upstream doesn't test with --with-threads and testsuite fails + econf \ + $(use_enable static-libs static) \ + $(use_with berkdb bdb) \ + $(use_with mysql) \ + $(use_with sqlite) \ + $(use_with postgres postgresql) \ + --without-threads \ + --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \ + "${myconf[@]}" +} + +src_test() { + if ! use berkdb; then + export REDLAND_TEST_CLONING_STORAGE_TYPE=hashes + export REDLAND_TEST_CLONING_STORAGE_NAME=test + export REDLAND_TEST_CLONING_STORAGE_OPTIONS="hash-type='memory',dir='.',write='yes',new='yes',contexts='yes'" + fi + default +} + +src_install() { + default + dohtml {FAQS,NEWS,README,RELEASE,TODO}.html + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + + + # !!! REMOVE THIS ON VERSION BUMP, see bug 468298 for proper fix !!! + if [[ -n ${LDFLAGS} ]]; then + sed -i \ + -e "s:${LDFLAGS} ::g" \ + "${ED}"/usr/$(get_libdir)/pkgconfig/${PN}.pc || die + fi + + # https://bugs.gentoo.org/467768 + local _rdocdir=/usr/share/doc/${PF}/html/${PN} + [[ -d ${ED}/${_rdocdir} ]] && dosym ${_rdocdir} /usr/share/gtk-doc/html/${PN} +} |