Compare commits

..
1 Commits
Author SHA1 Message Date
sisungo 5ad59cee13 feat: add package pixman
Signed-off-by: sisungo <[email protected]>
2026-08-19 10:54:56 +08:00
2 changed files with 31 additions and 22 deletions
-22
View File
@@ -1,22 +0,0 @@
from lib.make import *
from lib import python
python.version("6.0.3")
description("YAML parser and emitter for Python")
maintainer("sisungo <[email protected]>")
source_url("https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz")
python.builddep("$shortcut")
def build():
python.build()
python.install()
on_build(build)
package("PyYAML.py")
python.dep("python")
python.use_auto_pack()
+31
View File
@@ -0,0 +1,31 @@
from lib import cpp
from lib.make import *
version("0.46.4")
description("a low-level software library for pixel manipulation")
maintainer("sisungo <[email protected]>")
source_url("https://cairographics.org/releases/pixman-0.46.4.tar.xz")
builddep("shortcut/c")
builddep("shortcut/meson")
def build():
cpp.meson_setup([
f"--libdir={get_prefix('libpixman')}/lib",
f"--includedir={get_prefix('libpixman-dev')}/include",
])
cpp.meson_compile()
cpp.meson_install()
on_build(build)
package("libpixman")
dep("semi-libc @same-arch")
cpp.use_auto_pack(["lib"])
package("libpixman-dev")
dep("libpixman (same)")
cpp.use_auto_pack(["dev"])