Skip to content
Snippets Groups Projects
Commit 9f44027d authored by Mark Wagie's avatar Mark Wagie
Browse files

[pkg-upd] 0.66.0-1

parent 5039835a
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
pkgbase=vte3-notification
pkgname=("${pkgbase}" 'vte-notification-common')
pkgver=0.64.2
pkgver=0.66.0
pkgrel=1
pkgdesc="Virtual Terminal Emulator widget with Fedora patches"
arch=('x86_64')
......@@ -18,61 +18,70 @@ url="https://wiki.gnome.org/Apps/Terminal/VTE"
license=('LGPL')
depends=('gtk3' 'pcre2' 'gnutls' 'fribidi' 'systemd')
makedepends=('gobject-introspection' 'vala' 'git' 'gtk-doc' 'gperf' 'meson')
_commit=956d3bbd265279c296c56d9fb5ada1fee94768ee # tags/0.66.0^0
# Fedora patches: https://src.fedoraproject.org/rpms/vte291/tree/
_frepourl='https://src.fedoraproject.org/rpms/vte291'
_frepobranch='rawhide'
_fpatchfile0='vte-0.66.0-prompt-command.patch'
_fpatchfile100='vte291-cntnr-precmd-preexec-scroll.patch'
_fcommit='d2277d0702dcc901aaeb23b7c04512d4a1424575'
_fcommit='daec9cae9f51c723ffc7cd35ae3a3a01bf25c86a'
# VTE source ref
_vtetag=${pkgver}
source=(
"git+https://git.gnome.org/browse/vte#tag=$_vtetag"
"${_fpatchfile100}-${_fcommit}::${_frepourl}/raw/${_fcommit}/f/${_fpatchfile100}")
"git+https://gitlab.gnome.org/GNOME/vte.git#commit=$_commit"
"${_fpatchfile0}-${_fcommit}::${_frepourl}/raw/${_fcommit}/f/${_fpatchfile0}"
"${_fpatchfile100}-${_fcommit}::${_frepourl}/raw/${_fcommit}/f/${_fpatchfile100}")
sha256sums=('SKIP'
'9a0ed5e07108a760c00c9d451316529e91852ea8798dd39cd0b3081e477c2ce5')
'ea8b5384374817a00940cd3c3a64f2da08b55a995a3f992caa0089e98d42b3e3'
'58acc72f083a48fea11b04c29b254e7ea411996a3ecda1621002a4730fde6c08')
prepare () {
cd vte
patch -p1 -i "../${_fpatchfile100}-${_fcommit}"
cd vte
patch -p1 -i "../${_fpatchfile0}-${_fcommit}"
patch -p1 -i "../${_fpatchfile100}-${_fcommit}"
}
build() {
arch-meson vte build \
-D b_lto=false \
-D docs=true
meson compile -C build
arch-meson vte build \
-D b_lto=false \
-D docs=true
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
_pick() {
local p="$1" f d; shift
for f; do
d="$srcdir/$p/${f#$pkgdir/}"
mkdir -p "$(dirname "$d")"
mv "$f" "$d"
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
done
local p="$1" f d; shift
for f; do
d="$srcdir/$p/${f#$pkgdir/}"
mkdir -p "$(dirname "$d")"
mv "$f" "$d"
rmdir -p --ignore-fail-on-non-empty "$(dirname "$f")"
done
}
package_vte3-notification(){
depends+=('vte-notification-common')
provides=("vte3=${pkgver}" 'libvte-2.91.so')
conflicts=('vte3')
depends+=('vte-notification-common')
provides=("vte3=${pkgver}" 'libvte-2.91.so')
conflicts=('vte3')
meson install -C build --destdir "$pkgdir"
meson install -C build --destdir "$pkgdir"
### Split vte-common
_pick vte-common "$pkgdir"/etc/profile.d
_pick vte-common "$pkgdir"/usr/lib/{systemd,vte-urlencode-cwd}
### Split vte-common
_pick vte-common "$pkgdir"/etc/profile.d
_pick vte-common "$pkgdir"/usr/lib/{systemd,vte-urlencode-cwd}
}
package_vte-notification-common() {
pkgdesc="Files shared by VTE libraries"
depends=('sh')
provides=("vte-common=${pkgver}")
conflicts=('vte-common')
pkgdesc="Files shared by VTE libraries"
depends=('sh')
provides=("vte-common=${pkgver}")
conflicts=('vte-common')
mv vte-common/* "$pkgdir"
mv vte-common/* "$pkgdir"
}
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