From 2812da2d879f18e8b7cac8c5fae7cfd2b186a12e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 6 May 2026 19:20:04 +0200 Subject: [PATCH] gui-apps/railway: Bump to 2.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- gui-apps/railway/Manifest | 2 + gui-apps/railway/railway-2.10.0.ebuild | 80 ++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 gui-apps/railway/railway-2.10.0.ebuild diff --git a/gui-apps/railway/Manifest b/gui-apps/railway/Manifest index 2d62372fb6d38..e320811358948 100644 --- a/gui-apps/railway/Manifest +++ b/gui-apps/railway/Manifest @@ -1,2 +1,4 @@ +DIST railway-2.10.0-crates.tar.xz 29922348 BLAKE2B ec135264ffa03848782734c2de1b971f1307d4f2f81fac1fe4ac2b68bfe61da361d1427f6db2c1f64a3d6a1f0de7ffaa894f598e02d8e2ffbe55709b099da990 SHA512 4f8894cdac28958b09cc1b48fec43b8888535491554a7b26398a64df7131e58668808a17371eeb27e8e1e4df194e95ce2ac2b1822095c2735e54a1c3a7ab90fe +DIST railway-2.10.0.tar.bz2 379720 BLAKE2B 2965e8fec14b5f657a7f73b833fb3565c73a325a5b74a9a9d9bb9ee978fea56855df35c9aef404fe3e2b026ffc599b027499bedeb829292b7497ac668f5263f7 SHA512 fb5d91cf9ee84a2ff9266918dab1cbb71e06d0cc786511bedefd800559af0248d321fcf7c3a7856221d916c6d21fbff8b8564b6af17e00e63c2d626beb67fc59 DIST railway-2.9.4-crates.tar.xz 30259580 BLAKE2B ed4b898fa59957f0ff77ff6cc354212906bd7ca6dff431a645741f13fe5cf9f6a08847a7e2551e84ec27d7450be93f6d59e1a634410bcb6c74e031f113f05438 SHA512 69e570d2b0cb6133e001b93f108ce343d197844715ae7c989f0757d3c441a5445b48507f7266dd5181044f12d3729fb7e37c94633d7477f49219cb1e9ab84b31 DIST railway-2.9.4.tar.bz2 376525 BLAKE2B 788b47e9bd24b283128a814decbfb8b75fc9a75d00ec64d4af8a88fc2025fc661f77c613171fd72cef313b05143b57fbf553beefb7fd686e7150df55ab8ec18f SHA512 baa32895f7fdb5530e9c0b7057f7c1b277d5dfb20032587e3874ec77b2ef441c0b19591a05d9087e96e95fdf85c7b26aa8dff2687d28eb49a020e225eee6a85a diff --git a/gui-apps/railway/railway-2.10.0.ebuild b/gui-apps/railway/railway-2.10.0.ebuild new file mode 100644 index 0000000000000..c8fe28aa972af --- /dev/null +++ b/gui-apps/railway/railway-2.10.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" +" +RUST_MIN_VER="1.85.0" + +inherit cargo gnome2-utils meson xdg-utils + +DESCRIPTION="Travel with all your train information in one place" +HOMEPAGE=" + https://mobile.schmidhuberj.de/railway/ + https://gitlab.com/schmiddi-on-mobile/railway/ +" +SRC_URI=" + https://gitlab.com/schmiddi-on-mobile/railway/-/archive/${PV}/${P}.tar.bz2 + ${CARGO_CRATE_URIS} +" +if [[ ${PKGBUMPING} != ${PVR} ]]; then + SRC_URI+=" + https://github.com/gentoo-crate-dist/railway/releases/download/${PV}/${P}-crates.tar.xz + " +fi + +LICENSE="GPL-3+" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT Unicode-3.0 + ZLIB + || ( AGPL-3+ EUPL-1.2 ) +" +# ring +LICENSE+=" openssl" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + >=dev-libs/glib-2.66 + dev-libs/openssl:= + >=gui-libs/gtk-4.14:4 + >=gui-libs/libadwaita-1.8 + media-libs/graphene +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-libs/glib + dev-util/blueprint-compiler + sys-devel/gettext +" + +BUILD_DIR=${S}/build +ECARGO_HOME=${BUILD_DIR}/cargo-home + +QA_PREBUILT=usr/bin/diebahn + +src_prepare() { + default + + sed -e "s:get_option('profile.*:$(usex debug false true):" \ + -i src/meson.build || die +} + +src_install() { + meson_src_install + dosym diebahn /usr/bin/railway +} + +pkg_postinst() { + gnome2_schemas_update + xdg_icon_cache_update +} + +pkg_postrm() { + gnome2_schemas_update + xdg_icon_cache_update +}