1 |
commit: 4c0fb90e550f472a8ad3bd4d9338469287cd60a4 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 28 13:20:37 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 28 13:20:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0fb90e |
7 |
|
8 |
media-libs/libcdr: 0.1.7 version bump |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
media-libs/libcdr/Manifest | 1 + |
14 |
media-libs/libcdr/libcdr-0.1.7.ebuild | 57 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/libcdr/Manifest b/media-libs/libcdr/Manifest |
18 |
index 55ed4a4dd28..a2591d52618 100644 |
19 |
--- a/media-libs/libcdr/Manifest |
20 |
+++ b/media-libs/libcdr/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST libcdr-0.1.6.tar.xz 612068 BLAKE2B ec5226a28f101472ea3044e9e5b87dba57b584fc813dfda29e00281182d067126bf8a5740c32bc5cb545f230f6f96163aac2fdf08879ec64379b7845839bc88a SHA512 629d55da71c7333f41f60a32e2880deffcf80088096af1bbc8c572b80ef21d851102fdebce56f77245ed60822ca98e02c0867b192abef496a2313fde54a97bb6 |
23 |
+DIST libcdr-0.1.7.tar.xz 618528 BLAKE2B 7e74b1936f80078f4b0a07e2e37f9d59489ad27acee66175032ba7250ab492310e4042c7b6d7995b1ffffee7da1c7562f5c2fc24457c3efe0b19fe7e00d8e42b SHA512 9af327fcf9f3f3ef1c446e92f4d2ff06ebaccb54d4c65b021960a212bf416f7098006324625f3e1c00500597eaa9da39832cc27b83a6cd593e97b76b1eb63d38 |
24 |
|
25 |
diff --git a/media-libs/libcdr/libcdr-0.1.7.ebuild b/media-libs/libcdr/libcdr-0.1.7.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..fb7137dfd9b |
28 |
--- /dev/null |
29 |
+++ b/media-libs/libcdr/libcdr-0.1.7.ebuild |
30 |
@@ -0,0 +1,57 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+if [[ ${PV} = 9999 ]]; then |
37 |
+ EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libcdr.git" |
38 |
+ inherit autotools git-r3 |
39 |
+else |
40 |
+ SRC_URI="https://dev-www.libreoffice.org/src/libcdr/${P}.tar.xz" |
41 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
42 |
+fi |
43 |
+ |
44 |
+DESCRIPTION="Library parsing the Corel cdr documents" |
45 |
+HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libcdr" |
46 |
+ |
47 |
+LICENSE="MPL-2.0" |
48 |
+SLOT="0" |
49 |
+IUSE="doc test" |
50 |
+ |
51 |
+RESTRICT="!test? ( test )" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-libs/icu:= |
55 |
+ dev-libs/librevenge |
56 |
+ media-libs/lcms:2 |
57 |
+ sys-libs/zlib |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ dev-libs/boost |
61 |
+" |
62 |
+BDEPEND=" |
63 |
+ sys-devel/libtool |
64 |
+ virtual/pkgconfig |
65 |
+ doc? ( app-doc/doxygen ) |
66 |
+ test? ( dev-util/cppunit ) |
67 |
+" |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ [[ -d m4 ]] || mkdir "m4" |
72 |
+ [[ ${PV} == 9999 ]] && eautoreconf |
73 |
+} |
74 |
+ |
75 |
+src_configure() { |
76 |
+ local myeconfargs=( |
77 |
+ --disable-static |
78 |
+ $(use_with doc docs) |
79 |
+ $(use_enable test tests) |
80 |
+ ) |
81 |
+ econf "${myeconfargs[@]}" |
82 |
+} |
83 |
+ |
84 |
+src_install() { |
85 |
+ default |
86 |
+ find "${D}" -name '*.la' -delete || die |
87 |
+} |