Use 0.13.0 instead of master

This commit is contained in:
Arti Zirk 2021-04-09 14:42:41 +03:00
parent e46a520445
commit ad89110247

View File

@ -1,7 +1,7 @@
# Maintainer: Antonin Décimo <antonin dot decimo at gmail dot com>
# Contributor: Adrian Perez de Castro <aperez@igalia.com>
pkgname=wlroots-hidpi-git
pkgver=0.12.0.r378.g00bee2a6
pkgname=wlroots-hidpi
pkgver=0.13.0
pkgrel=1
license=(custom:MIT)
pkgdesc='Modular Wayland compositor library, with XWayland HiDPI (git version)'
@ -10,7 +10,7 @@ arch=(x86_64)
provides=("wlroots-hidpi=${pkgver%%.r*}"
"wlroots=${pkgver%%.r*}"
"wlroots-git")
conflicts=(wlroots wlroots-git)
conflicts=(wlroots wlroots-git wlroots-hidpi-git)
options=(debug)
depends=(
libinput
@ -28,21 +28,12 @@ makedepends=(
meson
wayland-protocols
xorgproto)
source=("${pkgname}::git+${url}"
source=("${pkgname}::git+${url}#tag=${pkgver}"
# "xwayland_hidpi.diff::https://github.com/swaywm/wlroots/pull/2064.diff"
"xwayland_hidpi.diff::https://github.com/swaywm/wlroots/compare/master...MisterDA:xwayland_hidpi.diff"
"xwayland_hidpi.diff::https://github.com/swaywm/wlroots/compare/${pkgver}...MisterDA:xwayland_hidpi.diff"
)
sha512sums=('SKIP'
'3f72a84ffdbdcafb40a28c563fabac9d231441cf17304121f2c083a35bdd477ea95a0baf26a08f77907d2d4e99f1c510d2d7f60b1896fb10fe1ce7164ae04c9e')
pkgver () {
cd "${pkgname}"
(
set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
'516a6ba1a840803784b9b4786e570f5564cb82e1feee6d14fd7c9e9bf852840a497d94fc3ba70c713994fa5278f0ff40b8cef81fe56fc75f880d89d138a9ef72')
prepare () {
cd "${pkgname}"