Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/mdbtools/
Date: Thu, 11 Feb 2021 03:04:29
Message-Id: 1613012607.4f442daa2d5eb4c98007640358a7127a0b83403b.sam@gentoo
1 commit: 4f442daa2d5eb4c98007640358a7127a0b83403b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 11 03:03:17 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 11 03:03:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f442daa
7
8 app-office/mdbtools: bump to 0.9.1
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 app-office/mdbtools/Manifest | 1 +
14 app-office/mdbtools/mdbtools-0.9.1.ebuild | 53 +++++++++++++++++++++++++++++++
15 app-office/mdbtools/metadata.xml | 3 ++
16 3 files changed, 57 insertions(+)
17
18 diff --git a/app-office/mdbtools/Manifest b/app-office/mdbtools/Manifest
19 index e214dcc490b..d732992432c 100644
20 --- a/app-office/mdbtools/Manifest
21 +++ b/app-office/mdbtools/Manifest
22 @@ -1 +1,2 @@
23 DIST mdbtools-0.7.1.tar.gz 277257 BLAKE2B 3740c543b1ea2e898a96dc1a560fd83cf079d37f5d02805891c5902b75a417c9efbf421346902766017113d447b088656afbfd0297b26655aa07fce973adc216 SHA512 bbad415c59a3f54c11bcd04971220b1370046c5dfd7300d1f23e597615a1df6af850c6f767e78033676d486d87a11c72dfdb141abbee8378337c3fda9a450b75
24 +DIST mdbtools-0.9.1.tar.gz 158762 BLAKE2B a730c1ea4efceebb494fc69eac5b94ab23088e0c496684fe027b005492168b6639ec3ebc950e09f643e4a1b50017150caee639255e5e1deb5f9a46c0969077ff SHA512 d8383c20c062a759386e80927337f8ed526914fb53095480dfe791d80fe4cc3e19e83627ca9d34986968b282b16b4c43a6302f76c55d3c2545b6e7b625d47966
25
26 diff --git a/app-office/mdbtools/mdbtools-0.9.1.ebuild b/app-office/mdbtools/mdbtools-0.9.1.ebuild
27 new file mode 100644
28 index 00000000000..ee7607cd007
29 --- /dev/null
30 +++ b/app-office/mdbtools/mdbtools-0.9.1.ebuild
31 @@ -0,0 +1,53 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit autotools
38 +
39 +DESCRIPTION="Set of libraries and utilities for reading Microsoft Access database (MDB) files"
40 +HOMEPAGE="https://github.com/mdbtools/mdbtools"
41 +SRC_URI="https://github.com/brianb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-2 LGPL-2.1"
44 +SLOT="0/3"
45 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE="glib odbc"
47 +
48 +BDEPEND="
49 + app-text/txt2man
50 + sys-devel/flex
51 + virtual/pkgconfig
52 + virtual/yacc
53 +"
54 +RDEPEND="
55 + sys-libs/ncurses:0=
56 + sys-libs/readline:0=
57 + odbc? ( >=dev-db/unixODBC-2.0 )
58 + glib? ( dev-libs/glib:2 )
59 +"
60 +DEPEND="${RDEPEND}"
61 +
62 +DOCS=( AUTHORS HACKING NEWS README TODO )
63 +
64 +src_prepare() {
65 + default
66 +
67 + eautoreconf
68 +}
69 +
70 +src_configure() {
71 + local myeconfargs=(
72 + --disable-static
73 + $(use_enable glib)
74 + $(use odbc && echo "--with-unixodbc=${EPREFIX}/usr")
75 + )
76 +
77 + econf "${myeconfargs[@]}"
78 +}
79 +
80 +src_install() {
81 + default
82 +
83 + find "${ED}" -name '*.la' -delete || die
84 +}
85
86 diff --git a/app-office/mdbtools/metadata.xml b/app-office/mdbtools/metadata.xml
87 index 26b6d5f18c9..7ed01d875ad 100644
88 --- a/app-office/mdbtools/metadata.xml
89 +++ b/app-office/mdbtools/metadata.xml
90 @@ -2,6 +2,9 @@
91 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
92 <pkgmetadata>
93 <!-- maintainer-needed -->
94 + <use>
95 + <flag name="glib">Use functions provided by <pkg>dev-libs/glib</pkg>, not built-in</flag>
96 + </use>
97 <upstream>
98 <remote-id type="github">brianb/mdbtools</remote-id>
99 </upstream>