forked from semios/semios-packages
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9365bc285d |
@@ -0,0 +1,48 @@
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("2.18.3")
|
||||
description("a library for configuring and customizing font access")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_git("https://gitlab.freedesktop.org/fontconfig/fontconfig.git", "2.18.3")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/meson")
|
||||
builddep("gettext")
|
||||
builddep("pkgconf")
|
||||
builddep("gperf")
|
||||
builddep(f"libintl-dev @{arch.get_target()}")
|
||||
builddep(f"libfreetype-dev @{arch.get_target()}")
|
||||
builddep(f"libexpat-dev @{arch.get_target()}")
|
||||
builddep(f"libpng-dev @{arch.get_target()}")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.meson_setup([
|
||||
f"--datadir={get_prefix('libfontconfig')}/share",
|
||||
"--sysconfdir=/var/config",
|
||||
"-Dnls=enabled",
|
||||
"-Dtools=enabled",
|
||||
"-Dcache-build=disabled",
|
||||
"-Dxml-backend=expat",
|
||||
"-Ddefault-fonts-dirs=/share/fonts",
|
||||
])
|
||||
cpp.meson_compile()
|
||||
cpp.meson_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("libfontconfig")
|
||||
dep("libexpat @same-arch")
|
||||
dep("libfreetype @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("fontconfig")
|
||||
dep("libfontconfig (same)")
|
||||
cpp.use_auto_pack(["bin"])
|
||||
|
||||
package("libfontconfig-dev")
|
||||
dep("libfontconfig (same)")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
@@ -1,22 +0,0 @@
|
||||
from lib.make import *
|
||||
from lib import python
|
||||
|
||||
|
||||
python.version("3.0")
|
||||
description("C parser in Python")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://files.pythonhosted.org/packages/1b/7d/92392ff7815c21062bea51aa7b87d45576f649f16458d78b7cf94b9ab2e6/pycparser-3.0.tar.gz")
|
||||
|
||||
python.builddep("$shortcut")
|
||||
|
||||
|
||||
def build():
|
||||
python.build()
|
||||
python.install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("pycparser.py")
|
||||
python.dep("python")
|
||||
python.use_auto_pack()
|
||||
Reference in New Issue
Block a user