Skip to content

Commit 05e5cad

Browse files
authored
upd(yad): 14.1 -> 14.2 (pacstall#8631)
1 parent 12ac79d commit 05e5cad

File tree

4 files changed

+31
-73
lines changed

4 files changed

+31
-73
lines changed

packages/yad/.SRCINFO

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
pkgbase = yad
2-
gives = yad
3-
pkgver = 14.1
2+
pkgver = 14.2
43
pkgdesc = Yet Another Dialog
54
arch = any
65
depends = libc6
76
depends = libcairo2
8-
depends = libgdk-pixbuf2.0-0
7+
depends = libgdk-pixbuf-2.0-0 | libgdk-pixbuf2.0-0
98
depends = libglib2.0-0
109
depends = libgtk-3-0
1110
depends = libpango-1.0-0
1211
depends = libpangocairo-1.0-0
12+
depends = libwebkit2gtk-4.1-dev | libwebkit2gtk-4.0-dev
13+
depends = libgtksourceview-3.0-dev
14+
depends = libgspell-1-dev
1315
makedepends = autotools-dev
14-
makedepends = intltool
1516
makedepends = libgtk-3-dev
1617
makedepends = automake
17-
optdepends = libwebkit2gtk-4.0-dev: for supporting HTML dialog
18-
optdepends = libgtksourceview-3.0-dev: for enabling syntax highlighting in text-info dialog
19-
optdepends = libgspell-1-dev: for support spell checking in text fields
18+
makedepends = autopoint
2019
breaks = yad
2120
breaks = yad-bin
2221
breaks = yad-app
@@ -25,8 +24,7 @@ pkgbase = yad
2524
maintainer = echometerain <echometer@disroot.org>
2625
maintainer = xdavius <xdavius@github.com>
2726
repology = project: yad
28-
source = @yad~14.1::https://github.com/v1cont/yad/releases/download/v14.1/yad-14.1.tar.xz
29-
source = debian12.patch
30-
sha256sums = dde047a915cd8d3892c32b6ba031876f5cda673e01882c99613f043867c88133
27+
source = @yad~14.2::https://github.com/v1cont/yad/releases/download/v14.2/yad-14.2.tar.xz
28+
sha256sums = 5cab399af8d9a10b76d477f848180d00addba38f4f1272a05b153a393bba3038
3129

3230
pkgname = yad

packages/yad/debian12.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.

packages/yad/yad.pacscript

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,37 @@
11
pkgname="yad"
2+
pkgver="14.2"
23
arch=("any")
3-
pkgver="14.1"
4-
source=("@${pkgname}~${pkgver}::https://github.com/v1cont/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"
5-
"debian12.patch")
6-
makedepends=("autotools-dev" "intltool" "libgtk-3-dev" "automake")
7-
depends=("libc6" "libcairo2" "libgdk-pixbuf2.0-0" "libglib2.0-0" "libgtk-3-0" "libpango-1.0-0" "libpangocairo-1.0-0")
4+
source=("@${pkgname}~${pkgver}::https://github.com/v1cont/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
5+
makedepends=("autotools-dev" "libgtk-3-dev" "automake" "autopoint")
6+
depends=("libc6" "libcairo2" "libgdk-pixbuf-2.0-0 | libgdk-pixbuf2.0-0" "libglib2.0-0" "libgtk-3-0" "libpango-1.0-0" "libpangocairo-1.0-0" "libwebkit2gtk-4.1-dev | libwebkit2gtk-4.0-dev" "libgtksourceview-3.0-dev" "libgspell-1-dev")
87
breaks=("${pkgname}" "${pkgname}-bin" "${pkgname}-app" "${pkgname}-git" "${pkgname}-deb")
9-
gives="yad"
108
pkgdesc="Yet Another Dialog"
11-
sha256sums=("dde047a915cd8d3892c32b6ba031876f5cda673e01882c99613f043867c88133")
12-
optdepends=("libwebkit2gtk-4.0-dev: for supporting HTML dialog"
13-
"libgtksourceview-3.0-dev: for enabling syntax highlighting in text-info dialog"
14-
"libgspell-1-dev: for support spell checking in text fields")
9+
sha256sums=("5cab399af8d9a10b76d477f848180d00addba38f4f1272a05b153a393bba3038")
1510
maintainer=("echometerain <echometer@disroot.org>"
1611
"xdavius <xdavius@github.com>")
1712
repology=("project: yad")
1813

1914
prepare() {
2015
cd "${pkgname}~${pkgver}"
21-
patch -p1 < ../debian12.patch
22-
autoreconf -ivf && intltoolize
2316

24-
FLAGS=" --enable-icon-browser"
25-
if dpkg-query -W libwebkit2gtk-4.0-dev > /dev/null 2>&1; then
26-
FLAGS+=" --enable-html"
27-
fi
28-
if dpkg-query -W libgspell-1-dev > /dev/null 2>&1; then
29-
FLAGS+=" --enable-spell"
30-
fi
31-
if dpkg-query -W libgtksourceview-4-dev > /dev/null 2>&1; then
32-
FLAGS+=" --enable-sourceview"
33-
fi
17+
autoreconf -ivf
3418
}
3519

3620
build() {
3721
cd "${pkgname}~${pkgver}"
38-
./configure "${FLAGS}"
22+
23+
./configure \
24+
--prefix=/usr \
25+
--enable-icon-browser \
26+
--enable-html \
27+
--enable-spell \
28+
--enable-sourceview
29+
3930
make -j"${NCPU}"
4031
}
4132

4233
package() {
4334
cd "${pkgname}~${pkgver}"
44-
make install DESTDIR="${pkgdir}"
45-
}
4635

47-
post_install() {
48-
sudo "/usr/bin/glib-compile-schemas" "/usr/local/share/glib-2.0/schemas"
49-
gtk-update-icon-cache
36+
make install DESTDIR="${pkgdir}"
5037
}

srclist

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17620,24 +17620,23 @@ pkgbase = yabridge
1762017620
pkgname = yabridge
1762117621
---
1762217622
pkgbase = yad
17623-
gives = yad
17624-
pkgver = 14.1
17623+
pkgver = 14.2
1762517624
pkgdesc = Yet Another Dialog
1762617625
arch = any
1762717626
depends = libc6
1762817627
depends = libcairo2
17629-
depends = libgdk-pixbuf2.0-0
17628+
depends = libgdk-pixbuf-2.0-0 | libgdk-pixbuf2.0-0
1763017629
depends = libglib2.0-0
1763117630
depends = libgtk-3-0
1763217631
depends = libpango-1.0-0
1763317632
depends = libpangocairo-1.0-0
17633+
depends = libwebkit2gtk-4.1-dev | libwebkit2gtk-4.0-dev
17634+
depends = libgtksourceview-3.0-dev
17635+
depends = libgspell-1-dev
1763417636
makedepends = autotools-dev
17635-
makedepends = intltool
1763617637
makedepends = libgtk-3-dev
1763717638
makedepends = automake
17638-
optdepends = libwebkit2gtk-4.0-dev: for supporting HTML dialog
17639-
optdepends = libgtksourceview-3.0-dev: for enabling syntax highlighting in text-info dialog
17640-
optdepends = libgspell-1-dev: for support spell checking in text fields
17639+
makedepends = autopoint
1764117640
breaks = yad
1764217641
breaks = yad-bin
1764317642
breaks = yad-app
@@ -17646,9 +17645,8 @@ pkgbase = yad
1764617645
maintainer = echometerain <echometer@disroot.org>
1764717646
maintainer = xdavius <xdavius@github.com>
1764817647
repology = project: yad
17649-
source = @yad~14.1::https://github.com/v1cont/yad/releases/download/v14.1/yad-14.1.tar.xz
17650-
source = debian12.patch
17651-
sha256sums = dde047a915cd8d3892c32b6ba031876f5cda673e01882c99613f043867c88133
17648+
source = @yad~14.2::https://github.com/v1cont/yad/releases/download/v14.2/yad-14.2.tar.xz
17649+
sha256sums = 5cab399af8d9a10b76d477f848180d00addba38f4f1272a05b153a393bba3038
1765217650

1765317651
pkgname = yad
1765417652
---

0 commit comments

Comments
 (0)