summaryrefslogtreecommitdiff
path: root/media-libs/libzmf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /media-libs/libzmf
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'media-libs/libzmf')
-rw-r--r--media-libs/libzmf/Manifest4
-rw-r--r--media-libs/libzmf/libzmf-0.0.2-r1.ebuild (renamed from media-libs/libzmf/libzmf-0.0.2.ebuild)33
-rw-r--r--media-libs/libzmf/libzmf-9999.ebuild9
3 files changed, 24 insertions, 22 deletions
diff --git a/media-libs/libzmf/Manifest b/media-libs/libzmf/Manifest
index 457a40a909c1..974afa3f3eb8 100644
--- a/media-libs/libzmf/Manifest
+++ b/media-libs/libzmf/Manifest
@@ -1,4 +1,4 @@
DIST libzmf-0.0.2.tar.xz 320952 BLAKE2B 0fb3a88da7e37f32c46a8c5d388e235ffdb61edaa9dfbd810fe88160c5a19be78a32c537d4953f8b86dd250d4f753c3d7c472bb74613291873f6dee452d546f6 SHA512 ad4a8e65e85434e43caa239ff2a3f358c6db6411235c4bb73d8d2aa1527a4f411433370706db391f8f8110a36759249ee19b27be75bae5f361c491006d1b9aa2
-EBUILD libzmf-0.0.2.ebuild 1052 BLAKE2B d1087b08a96fe57a0c160d7b908c4adc46af342ebcaee29d1c8fb39e5a69af22d88943ab64249f9d56723199a2224078865c89818b915236bb56e04c55bb9b3e SHA512 45373d76969b5acc9a589d09d17dcd1695c596c1d07ae8e32f9d93ae07374b6257c94c3644b6bae36f1d04a91f76c6e917cf9448592c6d09e85a4d5f5c6c63c0
-EBUILD libzmf-9999.ebuild 1067 BLAKE2B ab5d5058ac4d0621fb946575660abebbb7b38b6a40e81ccc47eaffb24a91669a0d4317f36fc86a86ad222aac96097a2fecd5317c4ef272624a3249d2703a084d SHA512 1feffc1087522b915ae254e4a80f257adc0bdfbfd77ad66d85124914b036a723babeaf9e7fdd58fa28dd258cccb2ae544882e9bf2b3b11abf29cb6b331b55798
+EBUILD libzmf-0.0.2-r1.ebuild 1066 BLAKE2B 2e0db2a3ecb2862593402939dd17058ce7da5d4b155385ea69e1bcaf7f5763b1e76e6879d5315c9a4ced568b7e011e2bee183fa027c26d991aebfe53c0c4f1de SHA512 98ebd43a747ffadaf7ac04cbff7a705813006ad2dd2c7cb1a42488b04320e82faf6400ddc5be021f79f039ce5985015eae8156005fd027e8514fcf8d3f3dd9f6
+EBUILD libzmf-9999.ebuild 1071 BLAKE2B 9dbf63c2985da407c7a3dac1051614597fcbe72f6c9ea6310b49db38b3fe12b27c6d4640085b91b3782e11ce5f99cf89487804f7d951a5b5b3a137e16a54fe9e SHA512 e00024dab07f0d0f835c474834d6eb8a5f226f075b9357470025a2e44a1442e3b18dab1324b16e5421cf950ef42e09ee614d4b2e2c2a5ff1dc56a3b74b4676c8
MISC metadata.xml 322 BLAKE2B 0f262709cb2e7bae511e2293ce646d183680f79a62bbe2f13faf443108720231b11435e337dfad4612171c53c90cb3667c7f074eac2e86ce2e62344488c7d8d5 SHA512 df2c04a9977852a49b1023627ee5a28eca154d6b276bc72f8b47957d73b1f745fad4dc0208aa0a1c7e7b76aad74cba0aa7360434711ec19f33b0976748b53ecf
diff --git a/media-libs/libzmf/libzmf-0.0.2.ebuild b/media-libs/libzmf/libzmf-0.0.2-r1.ebuild
index 4d3dc28e21a3..f20a76d51b4a 100644
--- a/media-libs/libzmf/libzmf-0.0.2.ebuild
+++ b/media-libs/libzmf/libzmf-0.0.2-r1.ebuild
@@ -1,20 +1,21 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
-EGIT_REPO_URI="git://gerrit.libreoffice.org/libzmf"
-[[ ${PV} == 9999 ]] && inherit git-r3 autotools
+if [[ ${PV} == *9999 ]]; then
+ EGIT_REPO_URI="https://git.libreoffice.org/libzmf"
+ inherit git-r3 autotools
+else
+ SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
+ KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv x86"
+fi
DESCRIPTION="Library for parsing Zoner Callisto/Draw documents"
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libzmf"
-[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
LICENSE="MPL-2.0"
SLOT="0"
-[[ ${PV} == 9999 ]] || \
-KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv x86"
-
IUSE="debug doc test tools"
RESTRICT="!test? ( test )"
@@ -26,25 +27,27 @@ RDEPEND="
"
DEPEND="${RDEPEND}
dev-libs/boost
- doc? ( app-doc/doxygen )
test? ( dev-util/cppunit )
"
+BDEPEND="doc? ( app-doc/doxygen )"
src_prepare() {
default
- [[ ${PV} == 9999 ]] && eautoreconf
+ [[ ${PV} == *9999 ]] && eautoreconf
}
src_configure() {
- econf \
- --disable-werror \
- $(use_enable debug) \
- $(use_with doc docs) \
- $(use_enable test tests) \
+ local myeconfargs=(
+ --disable-werror
+ $(use_enable debug)
+ $(use_with doc docs)
+ $(use_enable test tests)
$(use_enable tools)
+ )
+ econf "${myeconfargs[@]}"
}
src_install() {
default
- find "${D}" -name '*.la' -delete || die
+ find "${ED}" -name '*.la' -delete || die
}
diff --git a/media-libs/libzmf/libzmf-9999.ebuild b/media-libs/libzmf/libzmf-9999.ebuild
index 5979e0f48940..b6008d5e0134 100644
--- a/media-libs/libzmf/libzmf-9999.ebuild
+++ b/media-libs/libzmf/libzmf-9999.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-if [[ ${PV} == *9999* ]]; then
+if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://git.libreoffice.org/libzmf"
inherit git-r3 autotools
else
SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
fi
DESCRIPTION="Library for parsing Zoner Callisto/Draw documents"
@@ -17,7 +17,6 @@ HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libzmf"
LICENSE="MPL-2.0"
SLOT="0"
IUSE="debug doc test tools"
-
RESTRICT="!test? ( test )"
RDEPEND="
@@ -34,7 +33,7 @@ BDEPEND="doc? ( app-doc/doxygen )"
src_prepare() {
default
- [[ ${PV} == *9999* ]] && eautoreconf
+ [[ ${PV} == *9999 ]] && eautoreconf
}
src_configure() {