Use 1.6 instead of master
This commit is contained in:
parent
065a8c3bcb
commit
84162c893f
27
PKGBUILD
27
PKGBUILD
@ -1,9 +1,8 @@
|
|||||||
# Maintainer: Antonin Décimo <antonin dot decimo at gmail dot com>
|
# Maintainer: Antonin Décimo <antonin dot decimo at gmail dot com>
|
||||||
# Contributor: Drew DeVault <sir@cmpwn.com>
|
# Contributor: Drew DeVault <sir@cmpwn.com>
|
||||||
pkgname=sway-hidpi-git
|
pkgname=sway-hidpi
|
||||||
_pkgname=sway-hidpi
|
pkgver=1.6
|
||||||
pkgver=r6539.1dbb6990
|
pkgrel=1
|
||||||
pkgrel=2
|
|
||||||
license=("MIT")
|
license=("MIT")
|
||||||
pkgdesc="Tiling Wayland compositor and replacement for the i3 window manager, with XWayland HiDPI (git version)"
|
pkgdesc="Tiling Wayland compositor and replacement for the i3 window manager, with XWayland HiDPI (git version)"
|
||||||
makedepends=(
|
makedepends=(
|
||||||
@ -20,9 +19,8 @@ depends=(
|
|||||||
"pango"
|
"pango"
|
||||||
"polkit"
|
"polkit"
|
||||||
"pcre"
|
"pcre"
|
||||||
"swaybg-git"
|
|
||||||
"ttf-font"
|
"ttf-font"
|
||||||
"wlroots-hidpi-git"
|
"wlroots-hidpi"
|
||||||
"xorg-xwayland-hidpi-git"
|
"xorg-xwayland-hidpi-git"
|
||||||
"xsettingsd"
|
"xsettingsd"
|
||||||
)
|
)
|
||||||
@ -41,28 +39,23 @@ optdepends=(
|
|||||||
backup=(etc/sway/config)
|
backup=(etc/sway/config)
|
||||||
arch=("i686" "x86_64")
|
arch=("i686" "x86_64")
|
||||||
url="https://swaywm.org"
|
url="https://swaywm.org"
|
||||||
source=("${pkgname%-*}::git+https://github.com/swaywm/sway.git"
|
source=("${pkgname}::git+https://github.com/swaywm/sway.git#tag=${pkgver}"
|
||||||
"50-systemd-user.conf"
|
"50-systemd-user.conf"
|
||||||
"xwayland_hidpi.diff::https://github.com/swaywm/sway/pull/5090.diff")
|
"xwayland_hidpi.diff::https://github.com/swaywm/sway/compare/${pkgver}...MisterDA:xwayland_hidpi.diff")
|
||||||
sha512sums=('SKIP'
|
sha512sums=('SKIP'
|
||||||
'57590bc0d14c87289a4a9cd67991c6a841e54244d2a6186b5da5a08e633de2e8631959fa8c77ede211b0a5f315d920f2c1350951a53d6f2e9e81859056cb3c9e'
|
'57590bc0d14c87289a4a9cd67991c6a841e54244d2a6186b5da5a08e633de2e8631959fa8c77ede211b0a5f315d920f2c1350951a53d6f2e9e81859056cb3c9e'
|
||||||
'813863fe8d391761770eb264b1c0a2d9442efde3e79fae6b78386ed7c041906eef60bbf9d9bc7d118494de8aba2cd4c45a13dcd2ca09f3f1cd1157e74f122667')
|
'c1786e978a63d0b6ca41ce78c508ab2541272bb9a8484c2f0c04ee463e3fe8cc318c9421e9381c391e40ccc7e45f116f6c73dc264aaaaf2809cd16d7a5db424e')
|
||||||
provides=("sway")
|
provides=("sway")
|
||||||
conflicts=("sway")
|
conflicts=("sway")
|
||||||
options=(debug)
|
options=(debug)
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$_pkgname"
|
cd "$pkgname"
|
||||||
patch --forward --strip=1 --input="${srcdir}/xwayland_hidpi.diff"
|
patch --forward --strip=1 --input="${srcdir}/xwayland_hidpi.diff"
|
||||||
}
|
}
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "$_pkgname"
|
|
||||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_pkgname"
|
cd "$pkgname"
|
||||||
meson \
|
meson \
|
||||||
-Dwerror=false \
|
-Dwerror=false \
|
||||||
--prefix /usr \
|
--prefix /usr \
|
||||||
@ -73,7 +66,7 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
install -Dm644 50-systemd-user.conf -t "$pkgdir/etc/sway/config.d/"
|
install -Dm644 50-systemd-user.conf -t "$pkgdir/etc/sway/config.d/"
|
||||||
|
|
||||||
cd "$_pkgname"
|
cd "$pkgname"
|
||||||
DESTDIR="$pkgdir" ninja -C "$srcdir/build" install
|
DESTDIR="$pkgdir" ninja -C "$srcdir/build" install
|
||||||
|
|
||||||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
|
Loading…
Reference in New Issue
Block a user