swaybg added into sway
This commit is contained in:
1 parent
83b3de5894
commit
ad80991ecf
1 file changed
+11
-1
+11
-1
@@ -2,16 +2,19 @@
|
|||||||
name='sway'
|
name='sway'
|
||||||
release='2'
|
release='2'
|
||||||
version='1.9'
|
version='1.9'
|
||||||
|
bg_version='1.2.1'
|
||||||
url='https://github.com/swaywm/sway'
|
url='https://github.com/swaywm/sway'
|
||||||
description=='i3-compatible Wayland window manager'
|
description=='i3-compatible Wayland window manager'
|
||||||
email='aliriza.keskin@pardus.org.tr'
|
email='aliriza.keskin@pardus.org.tr'
|
||||||
maintainer='aliriza'
|
maintainer='aliriza'
|
||||||
license=('GPLv3')
|
license=('GPLv3')
|
||||||
source=("https://github.com/swaywm/sway/archive/refs/tags/$version.zip"
|
source=("https://github.com/swaywm/sway/archive/refs/tags/$version.zip"
|
||||||
|
"https://github.com/swaywm/swaybg/archive/refs/tags/v${bg_version}.tar.gz"
|
||||||
"sway.desktop")
|
"sway.desktop")
|
||||||
depends=(wlroots json-c xorg-xwayland)
|
depends=(wlroots json-c xorg-xwayland gdk-pixbuf cairo)
|
||||||
makedepends=()
|
makedepends=()
|
||||||
sha256sums=('ee978ecb92d10ea799d746e9e73df7cd1b8138aed5361d55abfc6f59d82587f4'
|
sha256sums=('ee978ecb92d10ea799d746e9e73df7cd1b8138aed5361d55abfc6f59d82587f4'
|
||||||
|
'45c4a1a3b83c86ddc321a6136402b708f195a022d0ccee4641b23d14c3a3c25e'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
group=(gui.wm)
|
group=(gui.wm)
|
||||||
uses=()
|
uses=()
|
||||||
@@ -24,14 +27,21 @@ setup(){
|
|||||||
--libdir=/usr/lib64/ \
|
--libdir=/usr/lib64/ \
|
||||||
-Dwerror=true \
|
-Dwerror=true \
|
||||||
-Dtray=enabled
|
-Dtray=enabled
|
||||||
|
cd ..
|
||||||
|
cd swaybg-${bg_version}
|
||||||
|
meson setup build --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
-Dgdk-pixbuf=enabled
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
ninja -C build
|
ninja -C build
|
||||||
|
ninja -C ../swaybg-${bg_version}/build
|
||||||
}
|
}
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
ninja -C build install
|
ninja -C build install
|
||||||
|
ninja -C ../swaybg-${bg_version}/build install
|
||||||
install -D -m644 ../sway.desktop \
|
install -D -m644 ../sway.desktop \
|
||||||
-t "$DESTDIR"/usr/share/wayland-sessions/
|
-t "$DESTDIR"/usr/share/wayland-sessions/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user