From 327f54b605b92a7b81a5a4de95f9f3741b786be5 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Tue, 4 Nov 2025 21:30:53 +0800 Subject: Remove meson related things. --- lib/meson-projects/meson.build | 26 -------------------------- lib/meson-projects/meson_options.txt | 11 ----------- lib/meson-projects/subprojects/.gitignore | 5 ----- lib/meson-projects/subprojects/cairo.wrap | 10 ---------- lib/meson-projects/subprojects/pango.wrap | 13 ------------- 5 files changed, 65 deletions(-) delete mode 100644 lib/meson-projects/meson.build delete mode 100644 lib/meson-projects/meson_options.txt delete mode 100644 lib/meson-projects/subprojects/.gitignore delete mode 100644 lib/meson-projects/subprojects/cairo.wrap delete mode 100644 lib/meson-projects/subprojects/pango.wrap (limited to 'lib') diff --git a/lib/meson-projects/meson.build b/lib/meson-projects/meson.build deleted file mode 100644 index 5efa46af..00000000 --- a/lib/meson-projects/meson.build +++ /dev/null @@ -1,26 +0,0 @@ -project('cru-deps', 'c', 'cpp') - -hello_word_test = ''' -#include - -int main() { - printf("Hello world!"); - return 0; -} -''' - -cc = meson.get_compiler('c') -hello_world_result = cc.run(hello_word_test, name: 'hello world') - -if hello_world_result.returncode() != 0 - error('Failed to hello world!') -endif - -if get_option('cairo').enabled() - subproject('cairo') -endif - -if get_option('pango').enabled() - subproject('pango') -endif - diff --git a/lib/meson-projects/meson_options.txt b/lib/meson-projects/meson_options.txt deleted file mode 100644 index b905968d..00000000 --- a/lib/meson-projects/meson_options.txt +++ /dev/null @@ -1,11 +0,0 @@ -option( - 'cairo', - type: 'feature', - value: 'auto', -) - -option( - 'pango', - type: 'feature', - value: 'auto' -) diff --git a/lib/meson-projects/subprojects/.gitignore b/lib/meson-projects/subprojects/.gitignore deleted file mode 100644 index a268818f..00000000 --- a/lib/meson-projects/subprojects/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -* -!.gitignore -!cairo.wrap -!pango.wrap - diff --git a/lib/meson-projects/subprojects/cairo.wrap b/lib/meson-projects/subprojects/cairo.wrap deleted file mode 100644 index fb8aa712..00000000 --- a/lib/meson-projects/subprojects/cairo.wrap +++ /dev/null @@ -1,10 +0,0 @@ -[wrap-git] -directory = cairo -url = https://gitlab.freedesktop.org/cairo/cairo.git -push-url = ssh://git@gitlab.freedesktop.org:cairo/cairo.git -revision = master -depth = 1 - -[provide] -cairo = libcairo_dep -cairo-gobject = libcairogobject_dep diff --git a/lib/meson-projects/subprojects/pango.wrap b/lib/meson-projects/subprojects/pango.wrap deleted file mode 100644 index b75c158b..00000000 --- a/lib/meson-projects/subprojects/pango.wrap +++ /dev/null @@ -1,13 +0,0 @@ -[wrap-git] -directory = pango -url = https://gitlab.gnome.org/GNOME/pango.git -push-url = ssh://git@ssh.gitlab.gnome.org:GNOME/pango.git -revision = main -depth = 1 - -[provide] -pango = libpango_dep -pangoft2 = libpangoft2_dep -pangoxft = libpangoxft_dep -pangowin32 = libpangowin32_dep -pangocairo = libpangocairo_dep -- cgit v1.2.3