feat: add package libadwaita (and -only deps) #47
No files matched your search
@@ -0,0 +1,56 @@
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("1.10.0")
|
||||
description("Building blocks for modern GNOME applications")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitlab://gitlab.gnome.org/GNOME/libadwaita#1.10.0")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/meson")
|
||||
builddep("libgtk-dev (~4) @target")
|
||||
builddep("glib-tools")
|
||||
builddep("gobject-introspection @target")
|
||||
builddep("libministream-dev @target")
|
||||
builddep("libintl-dev @target")
|
||||
builddep("sassc")
|
||||
builddep("gettext")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.meson_setup([
|
||||
"--prefix=/",
|
||||
f"--libdir={get_prefix('libadwaita')}/lib",
|
||||
f"--includedir={get_prefix('libadwaita-dev')}/include",
|
||||
"-Dintrospection=enabled",
|
||||
"-Dvapi=false",
|
||||
])
|
||||
cpp.meson_compile()
|
||||
cpp.meson_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("libadwaita")
|
||||
dep("libglib @same-arch")
|
||||
dep("libfribidi @same-arch")
|
||||
dep("libgio @same-arch")
|
||||
dep("libgobject @same-arch")
|
||||
dep("libgtk (~4) @same-arch")
|
||||
dep("libpango @same-arch")
|
||||
dep("libgraphene @same-arch")
|
||||
dep("libministream @same-arch")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("libadwaita-dev")
|
||||
dep("libadwaita (same)")
|
||||
dep("glib-dev @same-arch")
|
||||
dep("libfribidi-dev @same-arch")
|
||||
dep("libgtk-dev (~4) @same-arch")
|
||||
dep("libpango-dev @same-arch")
|
||||
dep("libgraphene-dev @same-arch")
|
||||
dep("libministream-dev @same-arch")
|
||||
dep("semi-libc-dev @same-arch")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
@@ -0,0 +1,35 @@
|
||||
import os
|
||||
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("3.6.6")
|
||||
description("A C/C++ implementation of a Sass compiler")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://sass/libsass#3.6.6")
|
||||
|
||||
builddep("shortcut/c++")
|
||||
builddep("shortcut/autotools")
|
||||
|
||||
|
||||
def build():
|
||||
os.environ["PREFIX"] = "/"
|
||||
os.environ["DESTDIR"] = os.getcwd() + "/../cpp_install"
|
||||
cpp.make(["install-shared"])
|
||||
cpp.make(["install-static"])
|
||||
os.chdir("../cpp_install")
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("libsass")
|
||||
dep("libcxx @same-arch")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("libsass-dev")
|
||||
dep("libsass (same)")
|
||||
dep("libcxx-dev @same-arch")
|
||||
dep("semi-libc-dev @same-arch")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
@@ -0,0 +1,41 @@
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("0.99.1")
|
||||
description("a small subset of libappstream, intended to be used by libadwaita")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("gitlab://gitlab.gnome.org/GNOME/ministream#0.99.1")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/meson")
|
||||
builddep("glib-dev @target")
|
||||
builddep("glib-tools")
|
||||
builddep("gobject-introspection @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.meson_setup([
|
||||
"--prefix=/",
|
||||
f"--libdir={get_prefix('libministream')}/lib",
|
||||
f"--includedir={get_prefix('libministream-dev')}/include",
|
||||
"-Dintrospection=enabled",
|
||||
"-Das-compare=disabled",
|
||||
])
|
||||
cpp.meson_compile()
|
||||
cpp.meson_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("libministream")
|
||||
dep("libglib @same-arch")
|
||||
dep("libgobject @same-arch")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("libministream-dev")
|
||||
dep("libministream (same)")
|
||||
dep("glib-dev @same-arch")
|
||||
dep("semi-libc-dev @same-arch")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
@@ -0,0 +1,27 @@
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("3.6.2")
|
||||
description("libsass command line driver")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://sass/sassc#3.6.2", "autotools")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/autotools")
|
||||
builddep("libsass-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure()
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("sassc")
|
||||
dep("libsass @same-arch")
|
||||
dep("libcxx @same-arch")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["bin"])
|
||||
Reference in new issue
Block a user