From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 532D215838C for ; Sat, 27 Jan 2024 00:48:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49624E29D9; Sat, 27 Jan 2024 00:48:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1CFCFE29D7 for ; Sat, 27 Jan 2024 00:48:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27BB6343386 for ; Sat, 27 Jan 2024 00:48:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D86414B4 for ; Sat, 27 Jan 2024 00:48:04 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1706316359.4e67154493bda9c09588d4b97dcc96803facfe94.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libetonyek/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/libetonyek/libetonyek-0.1.10-r2.ebuild X-VCS-Directories: app-text/libetonyek/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4e67154493bda9c09588d4b97dcc96803facfe94 X-VCS-Branch: master Date: Sat, 27 Jan 2024 00:48:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cb9b1d59-1bd2-41ab-b1c4-1e0d964e5954 X-Archives-Hash: 36df0d9cc632881232b64b11c493d858 commit: 4e67154493bda9c09588d4b97dcc96803facfe94 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Jan 26 23:02:30 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jan 27 00:45:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e671544 app-text/libetonyek: Support --with-mdds=2.1 Signed-off-by: Andreas Sturmlechner gentoo.org> app-text/libetonyek/libetonyek-0.1.10-r2.ebuild | 65 +++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/app-text/libetonyek/libetonyek-0.1.10-r2.ebuild b/app-text/libetonyek/libetonyek-0.1.10-r2.ebuild new file mode 100644 index 000000000000..b3efde34cbfa --- /dev/null +++ b/app-text/libetonyek/libetonyek-0.1.10-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libetonyek.git" + inherit autotools git-r3 +else + SRC_URI="https://dev-www.libreoffice.org/src/libetonyek/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="Library parsing Apple Keynote presentations" +HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" + +LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )" +SLOT="0" +IUSE="doc static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND=" + app-text/liblangtag + dev-libs/librevenge + dev-libs/libxml2 + >=dev-util/mdds-2.0:1= + sys-libs/zlib +" +DEPEND="${RDEPEND} + dev-libs/boost + media-libs/glm + dev-build/libtool + test? ( dev-util/cppunit ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/doxygen ) +" + +src_prepare() { + default + [[ -d m4 ]] || mkdir "m4" + [[ ${PV} == *9999* ]] && eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-werror + $(use_with doc docs) + $(use_enable static-libs static) + $(use_enable test tests) + ) + if has_version ">=dev-util/mdds-2.1"; then + myeconfargs+=( --with-mdds=2.1 ) + else + myeconfargs+=( --with-mdds=2.0 ) + fi + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +}