mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
gnome-extra/gnome-calculator: drop 44.0
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST gnome-calculator-44.0.tar.xz 1075480 BLAKE2B a4e7af52e06a59a1a07baf3e34dbfc90dc8852cab3f44fe2018e3279cf7dab7c9cffe23bff2d7cc8b9b3708b652b9b8ae2fa65ff403c559fc1bfd060e4645575 SHA512 7c1428873c00a2052b966a0687f2a944dce67e889c8e113a794a7d5f0bafe9ff52562e2b1985bcf48d05a5a0a2f4ff97e490a43810b5243367fce9c6ada79fa6
|
||||
DIST gnome-calculator-45.0.2.tar.xz 1100744 BLAKE2B a013985dc6227ae1a3bff30d92740ea4b18765ce5486171a0d0aaf3feae89357f1fe47ede26175a546a01e5b49206a2768de9f5cd62de8f1ee01645bae213614 SHA512 93248846f285badd4ef4303a31cfa6926deb1d37b0ba8ef7b1971795e092c115004c6bb666469a9e8e02a8e55e8f44d34cff6b88c0816888dc42c36fa1148b2e
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2023 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://wiki.gnome.org/Apps/Calculator"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="+introspection test"
|
||||
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
|
||||
|
||||
# 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.0
|
||||
>=dev-libs/libgee-0.20.0:0.8
|
||||
dev-libs/mpc:=
|
||||
dev-libs/mpfr:0=
|
||||
>=gui-libs/gtk-4.4.1:4
|
||||
>=gui-libs/libadwaita-1.2.0: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/libhandy:1[vala]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
vala_setup
|
||||
}
|
||||
|
||||
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() {
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user