2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
|
PYTHON_COMPAT=( python3_{10..12} )
|
6 |
|
inherit gnome.org meson-multilib python-any-r1 virtualx
|
|
5 |
|
|
6 |
PYTHON_COMPAT=( python3_{9..11} )
|
|
7 |
inherit gnome.org meson python-any-r1 virtualx
|
7 |
8 |
|
8 |
9 |
DESCRIPTION="C++ interface for GTK+"
|
9 |
|
HOMEPAGE="https://www.gtkmm.org https://gitlab.gnome.org/GNOME/gtkmm"
|
|
10 |
HOMEPAGE="https://www.gtkmm.org"
|
10 |
11 |
|
11 |
12 |
LICENSE="LGPL-2.1+"
|
12 |
|
SLOT="3.0"
|
13 |
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
|
|
13 |
SLOT="4.0"
|
|
14 |
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
|
|
15 |
IUSE="gtk-doc test"
|
14 |
16 |
|
15 |
|
IUSE="aqua gtk-doc test wayland X"
|
16 |
|
REQUIRED_USE="|| ( aqua wayland X )"
|
17 |
17 |
RESTRICT="!test? ( test )"
|
18 |
18 |
|
19 |
19 |
RDEPEND="
|
20 |
|
>=dev-cpp/atkmm-2.24.2:0[gtk-doc?,${MULTILIB_USEDEP}]
|
21 |
|
>=dev-cpp/cairomm-1.12.0:0[gtk-doc?,${MULTILIB_USEDEP}]
|
22 |
|
>=dev-cpp/glibmm-2.54.0:2[gtk-doc?,${MULTILIB_USEDEP}]
|
23 |
|
>=dev-cpp/pangomm-2.38.2:1.4[gtk-doc?,${MULTILIB_USEDEP}]
|
24 |
|
>=dev-libs/libsigc++-2.3.2:2[gtk-doc?,${MULTILIB_USEDEP}]
|
25 |
|
>=media-libs/libepoxy-1.2[${MULTILIB_USEDEP}]
|
26 |
|
>=x11-libs/gdk-pixbuf-2.35.5:2[${MULTILIB_USEDEP}]
|
27 |
|
>=x11-libs/gtk+-3.24.0:3[aqua?,wayland?,X=,${MULTILIB_USEDEP}]
|
|
20 |
>=dev-cpp/glibmm-2.68.0:2.68[gtk-doc?]
|
|
21 |
>=gui-libs/gtk-4.10.0:4
|
|
22 |
>=dev-cpp/cairomm-1.15.4:1.16[gtk-doc?]
|
|
23 |
>=dev-cpp/pangomm-2.50.0:2.48[gtk-doc?]
|
|
24 |
>=x11-libs/gdk-pixbuf-2.35.5:2
|
|
25 |
>=media-libs/libepoxy-1.2
|
|
26 |
"
|
|
27 |
DEPEND="
|
|
28 |
${RDEPEND}
|
|
29 |
gtk-doc? ( dev-libs/libsigc++:3 )
|
28 |
30 |
"
|
29 |
|
DEPEND="${RDEPEND}"
|
30 |
31 |
BDEPEND="
|
31 |
32 |
virtual/pkgconfig
|
32 |
33 |
gtk-doc? (
|
... | ... | |
37 |
38 |
${PYTHON_DEPS}
|
38 |
39 |
"
|
39 |
40 |
|
40 |
|
multilib_src_configure() {
|
|
41 |
src_configure() {
|
41 |
42 |
local emesonargs=(
|
42 |
|
-Dbuild-atkmm-api=true
|
43 |
43 |
-Dbuild-demos=false
|
44 |
|
$(meson_native_use_bool gtk-doc build-documentation)
|
|
44 |
$(meson_use gtk-doc build-documentation)
|
45 |
45 |
$(meson_use test build-tests)
|
46 |
|
$(meson_use X build-x11-api)
|
47 |
46 |
)
|
48 |
47 |
meson_src_configure
|
49 |
48 |
}
|
50 |
49 |
|
51 |
|
multilib_src_test() {
|
|
50 |
src_test() {
|
52 |
51 |
virtx meson_src_test
|
53 |
52 |
}
|