diff --git a/pkg.info b/pkg.info index aa51c1d..a086a56 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,9 @@ name: vte description: Virtual terminal emulator widget library -version: 0.80.3 -revision: 2 +version: 0.81.90 url: https://wiki.gnome.org/Apps/Terminal/VTE license: GPL3-or-later,LGPL3-or-later architecture: any -depends: ["at-spi2-core", "cairo", "fribidi", "gcc-libs", "gdk-pixbuf", "glib", "glibc", "gnutls", "gtk3", "icu", "lz4", "pango", "pcre2"] -make_depends: ["gobject-introspection", "gperf", "gtk3", "meson", "vala"] +depends: ["at-spi2-core", "cairo", "fribidi", "gcc-libs", "gdk-pixbuf", "glib", "glibc", "gnutls", "gtk3", "gtk4", "icu", "lz4", "pango", "pcre2"] +make_depends: ["gobject-introspection", "gperf", "meson", "vala"] type: source diff --git a/source.sh b/source.sh index b7cd12c..7219317 100644 --- a/source.sh +++ b/source.sh @@ -18,23 +18,28 @@ build() { mkdir build cd build - meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -D_systemd=false -Dgtk4=false .. - ninja + meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -D_systemd=false .. + meson compile } # The check function is executed in the source directory # This function is used to run tests to verify the package has been compiled correctly check() { cd build - ninja test + + meson test } # The package function is executed in the source directory # This function is used to move the compiled files into the output directory package() { cd build - DESTDIR="$BPM_OUTPUT" ninja install + + meson install --destdir="$BPM_OUTPUT" + # Remove etc/profile scripts rm "$BPM_OUTPUT"/etc/profile.d/vte.* + + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING.{,L}GPL3 -t "$BPM_OUTPUT"/usr/share/licenses/vte/ }