summaryrefslogtreecommitdiff
path: root/app-text/libmspub
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-18 03:01:55 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-18 03:01:55 -0500
commitbddf78c69012b9c1c06816f37d538d44d7877365 (patch)
tree3fc74b4dbb8c9348a6300843c7d65b9ee5bee0ff /app-text/libmspub
parent704b2332929c5ee3a704315e1b371a864f9f463e (diff)
downloadbaldeagleos-repo-bddf78c69012b9c1c06816f37d538d44d7877365.tar.gz
baldeagleos-repo-bddf78c69012b9c1c06816f37d538d44d7877365.tar.xz
baldeagleos-repo-bddf78c69012b9c1c06816f37d538d44d7877365.zip
Adding metadata
Diffstat (limited to 'app-text/libmspub')
-rw-r--r--app-text/libmspub/Manifest1
-rw-r--r--app-text/libmspub/libmspub-0.1.5.ebuild (renamed from app-text/libmspub/libmspub-9999-r1.ebuild)9
-rw-r--r--app-text/libmspub/libmspub-9999.ebuild58
3 files changed, 63 insertions, 5 deletions
diff --git a/app-text/libmspub/Manifest b/app-text/libmspub/Manifest
index a7a60bc8a861..3412f55f4b82 100644
--- a/app-text/libmspub/Manifest
+++ b/app-text/libmspub/Manifest
@@ -1 +1,2 @@
DIST libmspub-0.1.4.tar.xz 377472 BLAKE2B 89bd994a5aa2b3a22681dfe78fcea19561ea6057210e61630fa904ded12cca4694d715dd8f2fe8f687a91951bfa2f7aec1ff11d0b978a517476545bb07f654dd SHA512 7275f890645961b3fd56df4584788962e8c064fe3f99f5834c6ba6177ce76d00d544fbe9a25b7ab2f4180d2f3a90c609fe0bb68d61ea24e95b086190390fff31
+DIST libmspub-0.1.5.tar.xz 393340 BLAKE2B c4fed15545622f9857d5e63dbf96ef05cf821fe861c65ca487cd88acd7d3172f88dbd83a1d2c1804a15e1f227bb74893d428ae2593ecf490171df7c743770ab4 SHA512 4936aff75bc14f48f561ce7ab5d6a12da01b54a5c7fb2eb576641204439038237f57132aadfead7e137e7382886a1f6fffe8acea64ea2acf5cf8cb666ea96f5e
diff --git a/app-text/libmspub/libmspub-9999-r1.ebuild b/app-text/libmspub/libmspub-0.1.5.ebuild
index e17ab4163876..3236c8794443 100644
--- a/app-text/libmspub/libmspub-9999-r1.ebuild
+++ b/app-text/libmspub/libmspub-0.1.5.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=8
+EAPI=9
inherit autotools flag-o-matic
@@ -10,14 +10,14 @@ if [[ ${PV} = *9999* ]]; then
inherit git-r3
else
SRC_URI="https://dev-www.libreoffice.org/src/libmspub/${P}.tar.xz"
- KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
fi
DESCRIPTION="Library parsing Microsoft Publisher documents"
HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libmspub"
LICENSE="LGPL-2.1"
SLOT="0"
-IUSE="doc static-libs"
+IUSE="doc"
RDEPEND="
dev-libs/icu:=
@@ -48,7 +48,6 @@ src_configure() {
local myeconfargs=(
--disable-werror
$(use_with doc docs)
- $(use_enable static-libs static)
)
econf "${myeconfargs[@]}"
}
diff --git a/app-text/libmspub/libmspub-9999.ebuild b/app-text/libmspub/libmspub-9999.ebuild
new file mode 100644
index 000000000000..3236c8794443
--- /dev/null
+++ b/app-text/libmspub/libmspub-9999.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=9
+
+inherit autotools flag-o-matic
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="https://git.libreoffice.org/libmspub.git"
+ inherit git-r3
+else
+ SRC_URI="https://dev-www.libreoffice.org/src/libmspub/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+DESCRIPTION="Library parsing Microsoft Publisher documents"
+HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libmspub"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="doc"
+
+RDEPEND="
+ dev-libs/icu:=
+ dev-libs/librevenge
+ virtual/zlib:=
+"
+DEPEND="${RDEPEND}
+ dev-build/libtool
+ dev-libs/boost
+"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-text/doxygen )
+"
+
+src_prepare() {
+ default
+ [[ -d m4 ]] || mkdir "m4"
+
+ # Needed for Clang: stale libtool. bug #832764
+ eautoreconf
+}
+
+src_configure() {
+ # bug 619044, 932494
+ append-cxxflags -std=c++17
+
+ local myeconfargs=(
+ --disable-werror
+ $(use_with doc docs)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -type f -delete || die
+}