diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /app-text/libstaroffice | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'app-text/libstaroffice')
| -rw-r--r-- | app-text/libstaroffice/Manifest | 1 | ||||
| -rw-r--r-- | app-text/libstaroffice/libstaroffice-0.0.7.ebuild | 48 | ||||
| -rw-r--r-- | app-text/libstaroffice/libstaroffice-9999.ebuild | 48 | ||||
| -rw-r--r-- | app-text/libstaroffice/metadata.xml | 16 |
4 files changed, 113 insertions, 0 deletions
diff --git a/app-text/libstaroffice/Manifest b/app-text/libstaroffice/Manifest new file mode 100644 index 000000000000..dc2604772e8d --- /dev/null +++ b/app-text/libstaroffice/Manifest @@ -0,0 +1 @@ +DIST libstaroffice-0.0.7.tar.xz 707920 BLAKE2B f06786f600414a086f9b08b413ef1e028b15070ce90b4be03b18dd69787f4812b4ecbc245381e0ed464fabe0c1147149a3c4df248181b236e5d8bb766b398985 SHA512 fae873457a8018c1613667aa92771981503585513ab01bdbd2dd6d506ed4f72a7a8fdcfcb8953a46dfcb8fd902d2c9ef8ccd1a5ff15c83990a89847fb98009f8 diff --git a/app-text/libstaroffice/libstaroffice-0.0.7.ebuild b/app-text/libstaroffice/libstaroffice-0.0.7.ebuild new file mode 100644 index 000000000000..bb399894ed6d --- /dev/null +++ b/app-text/libstaroffice/libstaroffice-0.0.7.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/fosnola/libstaroffice.git" + inherit git-r3 autotools +else + SRC_URI="https://github.com/fosnola/${PN}/releases/download/${PV}/${P}.tar.xz" + KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86" +fi + +DESCRIPTION="Import filter for old StarOffice documents" +HOMEPAGE="https://github.com/fosnola/libstaroffice" + +LICENSE="|| ( LGPL-2.1+ MPL-2.0 )" +SLOT="0" +IUSE="debug doc tools +zlib" + +BDEPEND=" + doc? ( app-text/doxygen ) +" +DEPEND=" + dev-libs/librevenge + zlib? ( virtual/zlib:= ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + [[ ${PV} == *9999* ]] && eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_with doc docs) + $(use_enable tools) + $(use_enable zlib zip) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +} diff --git a/app-text/libstaroffice/libstaroffice-9999.ebuild b/app-text/libstaroffice/libstaroffice-9999.ebuild new file mode 100644 index 000000000000..3ec76912c9a6 --- /dev/null +++ b/app-text/libstaroffice/libstaroffice-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/fosnola/libstaroffice.git" + inherit git-r3 autotools +else + SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~x86" +fi + +DESCRIPTION="Import filter for old StarOffice documents" +HOMEPAGE="https://github.com/fosnola/libstaroffice" + +LICENSE="|| ( LGPL-2.1+ MPL-2.0 )" +SLOT="0" +IUSE="debug doc tools +zlib" + +BDEPEND=" + doc? ( app-text/doxygen ) +" +DEPEND=" + dev-libs/librevenge + zlib? ( virtual/zlib:= ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + [[ ${PV} == *9999* ]] && eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable debug) + $(use_with doc docs) + $(use_enable tools) + $(use_enable zlib zip) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -type f -delete || die +} diff --git a/app-text/libstaroffice/metadata.xml b/app-text/libstaroffice/metadata.xml new file mode 100644 index 000000000000..f76444ca04a3 --- /dev/null +++ b/app-text/libstaroffice/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>office@gentoo.org</email> + <name>Gentoo Office project</name> + </maintainer> + <use> + <flag name="tools">Build conversion tools</flag> + <flag name="zlib">Enable support for compressed data</flag> + </use> + <upstream> + <remote-id type="cpe">cpe:/a:libstaroffice_project:libstaroffice</remote-id> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
