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