Add HiDPI support.
This commit is contained in:
parent
c7e9044317
commit
befe812438
17
.SRCINFO
17
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = sway-git
|
pkgbase = sway-hidpi-git
|
||||||
pkgdesc = i3-compatible Wayland compositor
|
pkgdesc = i3-compatible Wayland compositor, with XWayland HiDPI
|
||||||
pkgver = r5942.3f77591b
|
pkgver = r6341.ae3ec745
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://swaywm.org
|
url = https://swaywm.org
|
||||||
arch = i686
|
arch = i686
|
||||||
@ -13,13 +13,14 @@ pkgbase = sway-git
|
|||||||
makedepends = ninja
|
makedepends = ninja
|
||||||
depends = json-c
|
depends = json-c
|
||||||
depends = pcre
|
depends = pcre
|
||||||
depends = wlroots-git
|
depends = wlroots-hidpi-git
|
||||||
depends = cairo
|
depends = cairo
|
||||||
depends = pango
|
depends = pango
|
||||||
depends = gdk-pixbuf2
|
depends = gdk-pixbuf2
|
||||||
depends = pam
|
depends = pam
|
||||||
depends = xorg-server-xwayland
|
depends = xorg-server-xwayland-hidpi-git
|
||||||
depends = swaybg-git
|
depends = swaybg-git
|
||||||
|
depends = xsettingsd
|
||||||
optdepends = alacritty: Default terminal emulator.
|
optdepends = alacritty: Default terminal emulator.
|
||||||
optdepends = dmenu: Default for launching applications.
|
optdepends = dmenu: Default for launching applications.
|
||||||
optdepends = i3status: To display system information with a bar.
|
optdepends = i3status: To display system information with a bar.
|
||||||
@ -29,8 +30,10 @@ pkgbase = sway-git
|
|||||||
conflicts = sway
|
conflicts = sway
|
||||||
options = debug
|
options = debug
|
||||||
options = !strip
|
options = !strip
|
||||||
source = sway::git+https://github.com/swaywm/sway.git
|
source = sway-hidpi::git+https://github.com/swaywm/sway.git
|
||||||
|
source = https://github.com/swaywm/sway/pull/5090.diff
|
||||||
|
sha512sums = SKIP
|
||||||
sha512sums = SKIP
|
sha512sums = SKIP
|
||||||
|
|
||||||
pkgname = sway-git
|
pkgname = sway-hidpi-git
|
||||||
|
|
||||||
|
20
PKGBUILD
20
PKGBUILD
@ -1,14 +1,15 @@
|
|||||||
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
||||||
pkgname=sway-git
|
# Maintainer: Antonin Décimo <antonin dot decimo at gmail dot com>
|
||||||
_pkgname=sway
|
pkgname=sway-hidpi-git
|
||||||
pkgver=r5942.3f77591b
|
_pkgname=sway-hidpi
|
||||||
|
pkgver=r6341.ae3ec745
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
license=("MIT")
|
license=("MIT")
|
||||||
pkgdesc="i3-compatible Wayland compositor"
|
pkgdesc="i3-compatible Wayland compositor, with XWayland HiDPI"
|
||||||
makedepends=("meson" "git" "scdoc" "wayland-protocols" "ninja")
|
makedepends=("meson" "git" "scdoc" "wayland-protocols" "ninja")
|
||||||
depends=(
|
depends=(
|
||||||
"json-c" "pcre" "wlroots-git" "cairo" "pango" "gdk-pixbuf2" "pam"
|
"json-c" "pcre" "wlroots-hidpi-git" "cairo" "pango" "gdk-pixbuf2" "pam"
|
||||||
"xorg-server-xwayland" "swaybg-git"
|
"xorg-server-xwayland-hidpi-git" "swaybg-git" "xsettingsd"
|
||||||
)
|
)
|
||||||
optdepends=(
|
optdepends=(
|
||||||
"alacritty: Default terminal emulator."
|
"alacritty: Default terminal emulator."
|
||||||
@ -19,8 +20,10 @@ optdepends=(
|
|||||||
)
|
)
|
||||||
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"
|
||||||
sha512sums=('SKIP')
|
"https://github.com/swaywm/sway/pull/5090.diff")
|
||||||
|
sha512sums=('SKIP'
|
||||||
|
'SKIP')
|
||||||
provides=("sway")
|
provides=("sway")
|
||||||
conflicts=("sway")
|
conflicts=("sway")
|
||||||
options=(debug !strip)
|
options=(debug !strip)
|
||||||
@ -32,6 +35,7 @@ pkgver() {
|
|||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$_pkgname"
|
cd "$_pkgname"
|
||||||
|
patch -Np1 -i ../5090.diff
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
Loading…
Reference in New Issue
Block a user