mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
gnome-extra/gnome-calculator: add 47.3
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
parent
d0239bd598
commit
a066e1ace4
@ -1,2 +1,3 @@
|
||||
DIST gnome-calculator-46.1.tar.xz 1121236 BLAKE2B b6dbd7b0d7cb38f0f9081fcf409b5e7df0d45cfcee5220880d9971066ac9984cb439e74ebc8fa6c73c6c9b7e2ece6aa4db3503da4f5ecab7c5d6fd5b5ca452a3 SHA512 b859a35e614ea5415fbb7a03663f1bf184e7f108882c2093511142d8c067e42f6dd11973cc047552bdd9a74d8ee7e39a00ca42009bea739d2b088b2f90affde1
|
||||
DIST gnome-calculator-47.1.tar.xz 1107576 BLAKE2B 9a14df81609c6cd4c002761ea27acbf0e4c64443c9e2b786886fff981eccf1f582bd4c20b5f519036a536b472b832e7b19e816fba8281ea69f8e97b0ea8b6cf2 SHA512 674e34ab29fb18c98a1db3391ab0e95bbb81fac4692bff6d69c4aea3678cfcea65bbbd903ef937d3eba30148124de73c07a5e41d67d40571a2ab1f1287739a13
|
||||
DIST gnome-calculator-47.3.tar.xz 1107920 BLAKE2B 923f80f0e37f5e31e72f6352da593e06f87e7ac0a3bef6b8be8457819e86cc8cfb54da75ae30502341767ed219705ad940c5fa219ab8f3ac971cd733c4940d5a SHA512 07cc7a012fbaa317e26336a0716e75bb7152b86f454b77023d2c8867b48f6f8ff611aa7b80e7b69872d3d5be36362b9de3c68d885fcdac6a5d5e72338f63fbb1
|
||||
|
||||
74
gnome-extra/gnome-calculator/gnome-calculator-47.3.ebuild
Normal file
74
gnome-extra/gnome-calculator/gnome-calculator-47.3.ebuild
Normal file
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome.org gnome2-utils meson vala virtualx xdg
|
||||
|
||||
DESCRIPTION="A calculator application for GNOME"
|
||||
HOMEPAGE="https://apps.gnome.org/Calculator/"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="+introspection test"
|
||||
|
||||
# gtksourceview vapi definitions in dev-lang/vala itself are too old, and newer vala removes them
|
||||
# altogether, thus we need them installed by gtksourceview[vala]
|
||||
RDEPEND="
|
||||
>=dev-libs/glib-2.40.0:2
|
||||
dev-libs/libxml2:2
|
||||
>=net-libs/libsoup-3.4.0:3.0
|
||||
>=dev-libs/libgee-0.20.0:0.8=
|
||||
dev-libs/mpc:=
|
||||
dev-libs/mpfr:0=
|
||||
>=gui-libs/gtk-4.15.2:4
|
||||
>=gui-libs/libadwaita-1.6_beta:1
|
||||
>=gui-libs/gtksourceview-5.3.0:5
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.58:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-libs/appstream-glib
|
||||
dev-util/itstool
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
$(vala_depend)
|
||||
net-libs/libsoup:3.0[vala]
|
||||
gui-libs/gtksourceview:5[vala]
|
||||
gui-libs/libadwaita:1[vala]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
vala_setup
|
||||
xdg_environment_reset
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Ddisable-ui=false
|
||||
#-Dvala-version # doesn't do anything in 3.34
|
||||
$(meson_use !introspection disable-introspection)
|
||||
$(meson_use test ui-tests)
|
||||
-Dgcalc=true
|
||||
-Dgci=true
|
||||
-Dapp=true
|
||||
-Ddoc=false
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
XDG_SESSION_TYPE=x11 virtx dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user