dev-cpp/pangomm: add 2.56.2

Introduce USE=dot since upstream made it optional when building
documentation. Copied the exact use flag description from
dev-libs/cutlass's metadata.xml file.

Signed-off-by: Lukas Schmelting <lschmelting@posteo.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1373
Merges: https://codeberg.org/gentoo/gentoo/pulls/1373
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Lukas Schmelting
2026-07-09 22:41:04 +02:00
committed by Sam James
parent 4024923409
commit 4483fc8f4a
3 changed files with 58 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST pangomm-2.46.4.tar.xz 695088 BLAKE2B bee14400ead5d81ca99b94c8ffad1eae8191255d0c032acb3f8b91a53cbf1c135d91cc986779d0d2c74f261337e320e3efd27c81ceebd9bed126f925ce79f42b SHA512 e4e57b835af270af9b98ae3feb25087cb8f8ab9b0028195db3d2dbf48df360de1f92c4e7c9dfba9a80d4a6aa47234b3112eea52586328386bbc0eb0d5cc09856
DIST pangomm-2.50.2.tar.xz 775356 BLAKE2B 5557f45de57a6a6b9622ac210792c0b4957c4442dfc621db6df005a619e4be5854fb96a6c33a53b9cce889ab7747d941399c084f3aa290ce58088c52e84c3216 SHA512 a1b478450cd1fb415b238b69843d75bbcc01c62ed123ccab388d0b667efb6f7c7e9aa5ec6e0a6e0dcba2d76c52f3ecb42ddb5cf8e12e819731bc0b4f613cc0c7
DIST pangomm-2.56.1.tar.xz 741708 BLAKE2B b76caf3e2c2283badb4eb3f4b81f4621f9059fa5cdb9986e64fc23e7c1a7a9d99c8489c3211570d4cca050edfb4bc1a6402bd15edca4813d8f4dcc48702bc656 SHA512 3000126cdf538f43c131a186999fd39d81ec471f5770d8dfd721ff84cb3f5ad44d17cdcc732299ee9d9f34f2dd1279959cf6e1b863c3a0afc32e49b453db782b
DIST pangomm-2.56.2.tar.xz 784648 BLAKE2B 2f4464d2a83b8baac14b119ad75cdff9f1a512bc41beed3d946f0c2d47a1fb43aafecf4349412386f81960991a35517373b6568fe33bccd2086036504b908d1a SHA512 13a16903b3a63b83c0f3e61f857835d61a8c38757ac6992de208fd473994bc33f68238ce714ec3fd55e5585307fd78d794cfbbf8131095cd62e4eab64910b529

View File

@@ -8,4 +8,7 @@
<upstream>
<remote-id type="gnome-gitlab">GNOME/pangomm</remote-id>
</upstream>
<use>
<flag name="dot">Use dot to generate graphs in the doxygen documentation via <pkg>media-gfx/graphviz</pkg></flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,54 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
inherit gnome.org meson-multilib python-any-r1
DESCRIPTION="C++ interface for pango"
HOMEPAGE="https://gtkmm.gnome.org/en/index.html"
LICENSE="LGPL-2.1+"
SLOT="2.48"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="dot gtk-doc"
RDEPEND="
>=dev-cpp/cairomm-1.16.0:1.16[gtk-doc?,${MULTILIB_USEDEP}]
>=dev-cpp/glibmm-2.68.0:2.68[gtk-doc?,${MULTILIB_USEDEP}]
>=dev-libs/libsigc++-3:3[gtk-doc?,${MULTILIB_USEDEP}]
>=x11-libs/pango-1.56.0[${MULTILIB_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
gtk-doc? (
>=dev-cpp/mm-common-1.0.4
app-text/doxygen
dot? ( app-text/doxygen[dot] )
dev-libs/libxslt
)
${PYTHON_DEPS}
"
multilib_src_configure() {
local emesonargs=(
-Dmaintainer-mode=false
$(meson_native_use_bool gtk-doc build-documentation)
)
meson_src_configure
}
multilib_src_install(){
meson_src_install
if use gtk-doc; then
mkdir -p "${ED}"/usr/share/gtk-doc/ || die
mv "${ED}"/usr/share/doc/pangomm-*/reference/html/ "${ED}"/usr/share/gtk-doc/ || die
# remove leftovers in doc folder:
# - pangomm-${SLOT}/images contains multiple gif files
# - pangomm-${SLOT}/reference contains compressed pango-${SLOT}.tag file
# - pangomm-${PV} contains compressed Changelog, NEWS, README.md, README.win32.md
rm -r "${ED}"/usr/share/doc/* || die
fi
}