@@ -0,0 +1,6 @@
|
|||||||
|
--- a/gudev/meson.build
|
||||||
|
+++ b/gudev/meson.build
|
||||||
|
36c36
|
||||||
|
< '-export-dynamic',
|
||||||
|
---
|
||||||
|
> '-Wl,-export-dynamic',
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
from lib import cpp
|
||||||
|
from lib.make import *
|
||||||
|
|
||||||
|
version("238")
|
||||||
|
description("Input device management and event handling library")
|
||||||
|
maintainer("sisungo <[email protected]>")
|
||||||
|
source_url("https://gitlab.gnome.org/GNOME/libgudev/-/archive/238/libgudev-238.tar.gz")
|
||||||
|
|
||||||
|
builddep("shortcut/c")
|
||||||
|
builddep("shortcut/meson")
|
||||||
|
builddep("gobject-introspection @target")
|
||||||
|
builddep("glib-dev @target")
|
||||||
|
builddep("lxdeviced-libudev-dev @target")
|
||||||
|
builddep("glib-tools")
|
||||||
|
builddep("libexpat")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cpp.meson_setup([
|
||||||
|
"--prefix=/",
|
||||||
|
f"--libdir={get_prefix('libgudev')}/lib",
|
||||||
|
f"--includedir={get_prefix('libgudev-dev')}/include",
|
||||||
|
"-Dintrospection=enabled",
|
||||||
|
])
|
||||||
|
cpp.meson_compile()
|
||||||
|
cpp.meson_install()
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
|
||||||
|
package("libgudev")
|
||||||
|
dep("semi-libc @same-arch")
|
||||||
|
dep("lxdeviced-libudev @same-arch")
|
||||||
|
dep("libglib @same-arch")
|
||||||
|
dep("libgobject @same-arch")
|
||||||
|
cpp.use_auto_pack(["lib"])
|
||||||
|
|
||||||
|
package("libgudev-dev")
|
||||||
|
dep("libgudev (same)")
|
||||||
|
dep("lxdeviced-libudev-dev @same-arch")
|
||||||
|
dep("glib-dev @same-arch")
|
||||||
|
cpp.use_auto_pack(["dev"])
|
||||||
Reference in New Issue
Block a user