mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
gui-apps/railway: Bump to 2.9.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
DIST railway-2.8.2-crates.tar.xz 31739372 BLAKE2B 53d89c490c183d8c687393a844c341138fe3c4896b6d5e3ce5a287f402d2dcd2090e69cb2eac5a3e332bc3df692034cd2364327b1a21e21ae10799d20c3caa3e SHA512 1dbb0a94e1225f0c1efeddaae428d40ad121bc712c4adb163d461fc7e9dcb314a1e1a5c3b9283c3b55d24cd3c7a87d16c7e59ba8320857ec0f8fd97276516dd1
|
||||
DIST railway-2.8.2.tar.bz2 346492 BLAKE2B 2893e82d1b86e86375fdff84bad3e2db89d9623cf160744b1f44e61d51c6a81d1e7fa8367169e4321c8ff5bbf8e531ff04adf97ec3604a6bbe6716acfcba34cc SHA512 5038e53c47cb64f45b8da5a16c7b32380fdefd8ec2439de8250aa6d8f63ecd2d9728dd931fce6e21c9ebeb293feb77799cd61914a7f784937593b2d051fa099f
|
||||
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
|
||||
|
||||
79
gui-apps/railway/railway-2.9.4.ebuild
Normal file
79
gui-apps/railway/railway-2.9.4.ebuild
Normal file
@@ -0,0 +1,79 @@
|
||||
# Copyright 2024-2025 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
|
||||
|| ( 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
|
||||
}
|
||||
Reference in New Issue
Block a user