mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-27 06:18:57 +00:00
20 lines
847 B
Bash
20 lines
847 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/cheesecakeufo/komorebi
|
|
TERMUX_PKG_DESCRIPTION="Animated Wallpapers for Linux"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=2.1
|
|
TERMUX_PKG_SRCURL=https://github.com/cheesecakeufo/komorebi/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=66ee2fe21e16c3f9c18b824fa88a8b726812b1fdd81217cb53f7dad8d6dbae0f
|
|
TERMUX_PKG_DEPENDS="clutter, clutter-gst, clutter-gtk, gdk-pixbuf, glib, gstreamer, gtk3, komorebi-data, libgee, webkit2gtk-4.1"
|
|
TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, valac"
|
|
|
|
termux_step_post_get_source() {
|
|
sed -i 's/\(webkit2gtk-4.\)0/\11/g' CMakeLists.txt
|
|
find . -type f -name '*.vala' -o -name '*.desktop' | xargs -n 1 sed -i \
|
|
"s:/System/Resources/Komorebi:${TERMUX_PREFIX}/share/komorebi:g"
|
|
}
|
|
|
|
termux_step_pre_configure() {
|
|
termux_setup_gir
|
|
}
|