Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/redland/
Date: Wed, 07 Sep 2022 03:37:59
Message-Id: 1662521866.600e7d00187ee55caf94fc7b601f3a1115b8db12.fordfrog@gentoo
1 commit: 600e7d00187ee55caf94fc7b601f3a1115b8db12
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 7 03:37:46 2022 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 7 03:37:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=600e7d00
7
8 dev-libs/redland: dropped obsolete 1.0.17-r2
9
10 Bug: https://bugs.gentoo.org/868525
11 Closes: https://bugs.gentoo.org/843074
12 Closes: https://bugs.gentoo.org/382691
13 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
14
15 dev-libs/redland/redland-1.0.17-r2.ebuild | 90 -------------------------------
16 1 file changed, 90 deletions(-)
17
18 diff --git a/dev-libs/redland/redland-1.0.17-r2.ebuild b/dev-libs/redland/redland-1.0.17-r2.ebuild
19 deleted file mode 100644
20 index 2e53e182c36d..000000000000
21 --- a/dev-libs/redland/redland-1.0.17-r2.ebuild
22 +++ /dev/null
23 @@ -1,90 +0,0 @@
24 -# Copyright 1999-2022 Gentoo Authors
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=7
28 -inherit db-use libtool
29 -
30 -DESCRIPTION="High-level interface for the Resource Description Framework"
31 -HOMEPAGE="http://librdf.org/"
32 -SRC_URI="http://download.librdf.org/source/${P}.tar.gz"
33 -
34 -LICENSE="Apache-2.0 GPL-2 LGPL-2.1"
35 -SLOT="0"
36 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
37 -IUSE="berkdb iodbc mysql odbc postgres sqlite static-libs"
38 -
39 -RDEPEND="dev-libs/libltdl:0
40 - mysql? ( dev-db/mysql-connector-c:0= )
41 - sqlite? ( =dev-db/sqlite-3* )
42 - berkdb? ( sys-libs/db )
43 - >=media-libs/raptor-2.0.14
44 - >=dev-libs/rasqal-0.9.32
45 - postgres? ( dev-db/postgresql )
46 - iodbc? ( dev-db/libiodbc )
47 - odbc? ( dev-db/unixODBC )"
48 -DEPEND="${RDEPEND}
49 - virtual/pkgconfig"
50 -
51 -PATCHES=( "${FILESDIR}"/${PN}-1.0.17-mysql-8-my_bool.patch )
52 -
53 -MAKEOPTS="${MAKEOPTS} -j1" #500574, required for both src_compile() and src_install()
54 -
55 -src_prepare() {
56 - default
57 - elibtoolize # NOTE: this is for fbsd .so version
58 -}
59 -
60 -src_configure() {
61 - local myconf=( --without-virtuoso )
62 - if use iodbc; then
63 - myconf=( --with-virtuoso --with-iodbc --without-unixodbc )
64 - elif use odbc; then
65 - myconf=( --with-virtuoso --with-unixodbc --without-iodbc )
66 - fi
67 -
68 - if use berkdb; then
69 - myconf+=(
70 - --with-bdb-include="$(db_includedir)"
71 - --with-bdb-lib="${EPREFIX}"/usr/$(get_libdir)
72 - --with-bdb-dbname="$(db_libname)"
73 - )
74 - fi
75 -
76 - # FIXME: upstream doesn't test with --with-threads and testsuite fails
77 - econf \
78 - $(use_enable static-libs static) \
79 - $(use_with berkdb bdb) \
80 - $(use_with mysql) \
81 - $(use_with sqlite) \
82 - $(use_with postgres postgresql) \
83 - --without-threads \
84 - --with-html-dir="${EPREFIX}"/usr/share/doc/${PF}/html \
85 - "${myconf[@]}"
86 -}
87 -
88 -src_test() {
89 - if ! use berkdb; then
90 - export REDLAND_TEST_CLONING_STORAGE_TYPE=hashes
91 - export REDLAND_TEST_CLONING_STORAGE_NAME=test
92 - export REDLAND_TEST_CLONING_STORAGE_OPTIONS="hash-type='memory',dir='.',write='yes',new='yes',contexts='yes'"
93 - fi
94 - default
95 -}
96 -
97 -src_install() {
98 - default
99 - docinto html
100 - dodoc {FAQS,NEWS,README,RELEASE,TODO}.html
101 - find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
102 -
103 - # !!! REMOVE THIS ON VERSION BUMP, see bug 468298 for proper fix !!!
104 - if [[ -n ${LDFLAGS} ]]; then
105 - sed -i \
106 - -e "s:${LDFLAGS} ::g" \
107 - "${ED}"/usr/$(get_libdir)/pkgconfig/${PN}.pc || die
108 - fi
109 -
110 - # https://bugs.gentoo.org/467768
111 - local _rdocdir=/usr/share/doc/${PF}/html/${PN}
112 - [[ -d ${ED}/${_rdocdir} ]] && dosym ${_rdocdir} /usr/share/gtk-doc/html/${PN}
113 -}