Skip to content
Snippets Groups Projects
Commit 9d2cbcdb authored by Stefano Capitani's avatar Stefano Capitani
Browse files

Update to v0.58.0 and move to meson


Signed-off-by: default avatarStefano <stefano@manjaro.org>
parent 6510cad8
No related branches found
No related tags found
No related merge requests found
......@@ -6,21 +6,21 @@
pkgbase='vte3-notification'
pkgname=("${pkgbase}" 'vte-notification-common')
pkgver=0.56.3
pkgver=0.58.0
pkgrel=1
pkgdesc='Virtual Terminal Emulator widget for use with GTK3 with Fedora patches'
arch=('i686' 'x86_64')
url='https://wiki.gnome.org/Apps/Terminal/VTE'
license=('LGPL')
depends=('gtk3' 'pcre2' 'gnutls')
makedepends=('git' 'intltool' 'gobject-introspection' 'gtk-doc' 'vala' 'gperf' 'glade')
depends=('gtk3' 'pcre2' 'gnutls' 'fribidi')
makedepends=('git' 'gobject-introspection' 'gtk-doc' 'vala' 'gperf' 'meson')
options=('!emptydirs')
# Fedora patches: https://pkgs.fedoraproject.org/cgit/rpms/vte291.git/tree/
_frepourl='https://src.fedoraproject.org/rpms/vte291'
_frepobranch='f31'
_fpatchfile='vte291-command-notify-scroll-speed.patch'
_fcommit='a7cf96e18cd6bd7d6f25844296f089f8f39a66cd'
_frepobranch='f32'
_fpatchfile='vte291-cntnr-precmd-preexec-scroll.patch'
_fcommit='b067afd77f6dbc789b9844dbe4b455ed77540464'
# VTE source ref
#_vtecommit='837cce9ced6bfe317cb97aeca171001da92cb3a1'
......@@ -30,11 +30,9 @@ source=(
#"git+https://git.gnome.org/browse/vte#commit=$_vtecommit"
"git+https://git.gnome.org/browse/vte#tag=$_vtetag"
"${_fpatchfile}-${_fcommit}::${_frepourl}/raw/${_fcommit}/f/${_fpatchfile}"
'add-zsh-notfication-support.patch'
)
sha256sums=('SKIP'
'8e6cfb09fa7da4d44bb15667a4f25c1cb35db60212278d5446f49c8d08ef47f9'
'150a151404ca565f70259044661b2ef5cda43142ca677e7da324614eef8cf45a')
'9e2f27aad738d11226161f066c0eefc831a3aa1ec6f043d53104382a8e752d2d')
#pkgver() {
# cd vte
......@@ -45,30 +43,25 @@ prepare () {
cd "vte"
patch -p1 -i "../${_fpatchfile}-${_fcommit}"
#patch -p1 -i '../add-zsh-notfication-support.patch'
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd "vte"
./configure --prefix='/usr' --sysconfdir='/etc' \
--libexecdir='/usr/lib/vte' \
--localstatedir='/var' --disable-static \
--enable-introspection --enable-glade-catalogue --enable-gtk-doc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
arch-meson vte build -D docs=true
ninja -C build
}
check() {
meson test -C build --print-errorlogs
}
package_vte3-notification(){
depends+=('vte-notification-common')
provides=("vte3=${pkgver}")
conflicts=('vte3')
cd "vte"
make DESTDIR="${pkgdir}" install
rm "${pkgdir}/etc/profile.d/vte.sh"
DESTDIR="$pkgdir" meson install -C build
mv "${pkgdir}/etc/profile.d/vte.sh" "$srcdir"
}
package_vte-notification-common() {
......@@ -77,8 +70,7 @@ package_vte-notification-common() {
arch=('i686' 'x86_64')
provides=("vte-common=${pkgver}")
conflicts=('vte-common')
cd "vte"
install -Dm644 'src/vte.sh' "${pkgdir}/etc/profile.d/vte.sh"
install -Dt "$pkgdir/etc/profile.d" -m644 vte.sh
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment