Compare commits

..
4 Commits
2 changed files with 66 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
from lib.make import *
from lib import cpp
version("3.5.2")
description("an interactive process viewer")
maintainer("sisungo <[email protected]>")
source_url("https://github.com/htop-dev/htop/releases/download/3.5.2/htop-3.5.2.tar.xz")
builddep("shortcut/autotools")
builddep("shortcut/c")
builddep(f"libncurses-dev @{arch.get_target()}")
builddep(f"linux-dev @{arch.get_target()}")
def build():
cpp.configure([
f"--prefix={get_prefix('htop')}",
"--enable-unicode",
])
cpp.make()
cpp.make_install()
on_build(build)
package("htop")
dep("libncurses @same-arch")
dep("semi-libc @same-arch")
cpp.use_auto_pack(["bin"])
+36
View File
@@ -0,0 +1,36 @@
from lib.make import *
from lib import cpp, arch
version("2.24.1")
description("an implementation for VA-API")
maintainer("sisungo <[email protected]>")
source_url("https://github.com/intel/libva/releases/download/2.24.1/libva-2.24.1.tar.bz2")
builddep("shortcut/c")
builddep("shortcut/autotools")
builddep(f"libwayland-dev @{arch.get_target()}")
builddep(f"libdrm-dev @{arch.get_target()}")
builddep(f"libffi-dev @{arch.get_target()}")
builddep(f"pkgconf @{arch.get_target()}")
builddep(f"linux-dev @{arch.get_target()}")
def build():
cpp.configure([
f"--libdir={get_prefix('libva')}/lib",
f"--includedir={get_prefix('libva-dev')}/include",
"--enable-wayland",
])
cpp.make()
cpp.make_install()
on_build(build)
package("libva")
cpp.use_auto_pack(["lib"])
package("libva-dev")
dep("libva (same)")
cpp.use_auto_pack(["dev"])