49 lines
1.2 KiB
Python
49 lines
1.2 KiB
Python
from lib import cpp
|
|
from lib.make import *
|
|
|
|
|
|
version("1.28.0")
|
|
description("A fast, lightweight and minimalistic Wayland terminal emulator")
|
|
maintainer("sisungo <[email protected]>")
|
|
source_managed("gitea://codeberg.org/dnkl/foot#1.28.0")
|
|
|
|
builddep("shortcut/c")
|
|
builddep("shortcut/meson")
|
|
builddep("ncurses-tools @target")
|
|
builddep("libncurses-dev @target")
|
|
builddep("libwayland-dev @target")
|
|
builddep("wayland-protocols @target")
|
|
builddep("libpixman-dev @target")
|
|
builddep("libxkbcommon-dev @target")
|
|
builddep("libfontconfig-dev @target")
|
|
builddep("tllist-dev @target")
|
|
builddep("libfcft-dev @target")
|
|
builddep("gnu-sed")
|
|
builddep("linux-dev @target")
|
|
|
|
|
|
def build():
|
|
cpp.meson_setup([f"--prefix={get_prefix('foot')}"])
|
|
cpp.meson_compile()
|
|
cpp.meson_install()
|
|
|
|
on_build(build)
|
|
|
|
|
|
def pack(composer):
|
|
composer.add("bin")
|
|
composer.makedir("share")
|
|
composer.add("share/applications")
|
|
composer.add("share/icons")
|
|
composer.add("share/foot")
|
|
|
|
package("foot")
|
|
dep("semi-libc @same-arch")
|
|
dep("libxkbcommon @same-arch")
|
|
dep("xkeyboard-config")
|
|
dep("libpixman @same-arch")
|
|
dep("libfontconfig @same-arch")
|
|
dep("libwayland @same-arch")
|
|
dep("libfcft @same-arch")
|
|
on_pack(pack)
|