blob: e2028aecaf78cc94bbee3724a46abfb3f52a9c57 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
# Maintainer: Jason Edson <jaysonedson _AT_ gmail.com>
# Contributor: Davi da Silva Böger <dsboger _AT_ gmail.com>
# Contributor: Manuel Hüsers <manuel.huesers _AT_ uni-ol.de>
# Contributor: Fernando Fernandez <fernando _AT_ softwareperonista.com.ar>
# Contributor: Jan de Groot <jgc _AT_ archlinux.org>
pkgbase=vte3-notification
pkgname=(
${pkgbase}
vte-notification-common
)
pkgver=0.68.0
pkgrel=2
pkgdesc='Virtual Terminal Emulator widget for use with GTK3 with Fedora patches'
url='https://wiki.gnome.org/Apps/Terminal/VTE'
license=(LGPL)
arch=(
'i686'
'x86_64'
)
depends=(
'gtk3'
'pcre2'
'gnutls'
'fribidi'
'systemd-libs'
)
makedepends=(
'gobject-introspection'
'vala'
'git'
'gtk-doc'
'gperf'
'meson'
'gi-docgen'
)
options=('!emptydirs')
# Fedora patches: https://pkgs.fedoraproject.org/cgit/rpms/vte291.git/tree/
_frepourl='https://src.fedoraproject.org/rpms/vte291'
_frepobranch='rawhide'
_fpatchfile100='vte291-cntnr-precmd-preexec-scroll.patch'
_fcommit='80f531b220afc73b1d36ff10546993d50c22895b'
source=(
"git+https://gitlab.gnome.org/GNOME/vte#tag=${pkgver}"
"${_fpatchfile100}-${_fcommit}::${_frepourl}/raw/${_fcommit}/f/${_fpatchfile100}"
)
sha256sums=(
'SKIP'
'52ac9f2e6116d40701d89d342336d6533cec78a512835a8c72d947b4db1c60f3'
)
prepare () {
cd vte
# Apply patches
patch -p1 -i "${srcdir}/${_fpatchfile100}-${_fcommit}"
}
build() {
arch-meson vte build \
-D b_lto=false \
-D docs=true
meson compile -C build
}
_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
}
package_vte3-notification(){
depends+=(vte-notification-common)
provides+=(
"vte3=${pkgver}"
'libvte-2.91.so'
)
conflicts=('vte3')
meson install -C build --destdir "${pkgdir}"
_pick vte-common "${pkgdir}"/etc/profile.d
_pick vte-common "${pkgdir}"/usr/lib/{systemd,vte-urlencode-cwd}
}
package_vte-notification-common() {
pkgdesc='Common files used by vte and vte3'
depends=('sh')
arch=('any')
provides=("vte-common=${pkgver}")
conflicts=('vte-common')
mv vte-common/* "${pkgdir}"
}
|