Compare commits
1
Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
3f42dbcc8c |
@@ -0,0 +1,28 @@
|
||||
import os
|
||||
import shutil
|
||||
|
||||
from lib import rust
|
||||
from lib.make import *
|
||||
|
||||
version("0.17.0")
|
||||
description("A cross-platform, OpenGL terminal emulator.")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://github.com/alacritty/alacritty/archive/refs/tags/v0.17.0.tar.gz")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/cmake")
|
||||
builddep("shortcut/rust")
|
||||
builddep("libfreetype-dev @target")
|
||||
builddep("libfontconfig-dev @target")
|
||||
builddep("libxkbcommon-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
rust.build(["--no-default-features", "--features", "wayland"])
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("alacritty")
|
||||
dep("semi-libc @same-arch")
|
||||
rust.use_auto_pack(["bin"])
|
||||
@@ -0,0 +1,31 @@
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
version("0.3.1")
|
||||
description("A Wayland kiosk")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://github.com/cage-kiosk/cage/releases/download/v0.3.1/cage-0.3.1.tar.gz")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/meson")
|
||||
builddep("libwlr-dev @target")
|
||||
builddep("linux-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.meson_setup([
|
||||
"--prefix=/",
|
||||
f"--bindir={get_prefix('cage')}/bin",
|
||||
])
|
||||
cpp.meson_compile()
|
||||
cpp.meson_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("cage")
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libwayland @same-arch")
|
||||
dep("libwlr @same-arch")
|
||||
dep("libxkbcommon @same-arch")
|
||||
cpp.use_auto_pack(["bin"])
|
||||
Reference in New Issue
Block a user