From d162ba1860a88062f4cd61f8b52fc303ba0b2991 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Aug 2021 00:16:33 +0100 Subject: gentoo resync : 07.08.2021 --- media-libs/libzmf/Manifest | 2 +- media-libs/libzmf/libzmf-9999.ebuild | 36 ++++++++++++++++++++---------------- 2 files changed, 21 insertions(+), 17 deletions(-) (limited to 'media-libs/libzmf') diff --git a/media-libs/libzmf/Manifest b/media-libs/libzmf/Manifest index fe4ca2f38214..a29d1b1f63fd 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 1045 BLAKE2B 5007b0ccc92ce90a80477557c2bf4ff0b3a74fb3ec006be97d63db78af7aa67887387fd4bbffa0942c3ae75e8d53b635beea19150f2b163672fec31fdc23d476 SHA512 3eef2082d76da8f828e88e15b1f011773d65cbff393fc9b4b3e66b592fc462bd4ab6cb49e35e8b29158cfb91e79b2cd9476dcf4bf001689185f359e44de4e837 -EBUILD libzmf-9999.ebuild 1038 BLAKE2B 59ff70c72dde0cbd532f574b09b088e4e6b39a842d351ea8369d8e99e5e1b5064c786d8de449791152de2bbebce9adb30c24dec5bd9ea44ccd98ae3236c64c20 SHA512 599b94e7651b8f64aab01e2ef78af5ff79197f2c252ab43d2de160a8658a65c29150bdd8b774f83b72070619a8a92c70835c9357117d1b87de3169238e438513 +EBUILD libzmf-9999.ebuild 1067 BLAKE2B ab5d5058ac4d0621fb946575660abebbb7b38b6a40e81ccc47eaffb24a91669a0d4317f36fc86a86ad222aac96097a2fecd5317c4ef272624a3249d2703a084d SHA512 1feffc1087522b915ae254e4a80f257adc0bdfbfd77ad66d85124914b036a723babeaf9e7fdd58fa28dd258cccb2ae544882e9bf2b3b11abf29cb6b331b55798 MISC metadata.xml 321 BLAKE2B 845e098f8136b178e62b70bb06d8ce26ed7e2b9aec93358180d36cc8de5d4436501fa13521dcc7b4a7f8e311603b25c9d30d23db216008d3d96af5e462611a9a SHA512 a9d2208bf93a05e3406aee66412b46e731ce5a858e3e5e4a6668568b3ccba863d540f3e6224bc7e5ed8c6ad22d330fc0e30ecc90df2f8a866280bb138040fc12 diff --git a/media-libs/libzmf/libzmf-9999.ebuild b/media-libs/libzmf/libzmf-9999.ebuild index f58ce3535bde..5979e0f48940 100644 --- a/media-libs/libzmf/libzmf-9999.ebuild +++ b/media-libs/libzmf/libzmf-9999.ebuild @@ -1,21 +1,23 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 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 ~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 ~x86" - IUSE="debug doc test tools" + RESTRICT="!test? ( test )" RDEPEND=" @@ -26,25 +28,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 } -- cgit v1.2.3