aboutsummaryrefslogtreecommitdiff
path: root/labwc
diff options
context:
space:
mode:
Diffstat (limited to 'labwc')
-rw-r--r--labwc/.signature4
-rw-r--r--labwc/Pkgfile41
2 files changed, 24 insertions, 21 deletions
diff --git a/labwc/.signature b/labwc/.signature
index 4f940da..8bcd46a 100644
--- a/labwc/.signature
+++ b/labwc/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/xfce4.pub
-RWRSAbUnL7azFKPtJoSUDMlFPOxD/8MS05eEeo+ShVjRfjcAkFHObhhAc87YnVGNqazEPu/1+lJHw4CkG8G3IKGTmwWf0z0WLAc=
-SHA256 (Pkgfile) = 93288af75798f536382cfe0ecf47347b7b51e04752150e400bd6b462a2e959dd
+RWRSAbUnL7azFCtv9hNaDJ4ZAIuzgTy6KA+z6/OPc0cdQoRjvhyq6NpCqxcw7Pvt7QnsWewjCHoka192oPW88txn4BTDTlexWQQ=
+SHA256 (Pkgfile) = c815b9c798df085d4b77e04720b504bce9d969f0e311c2a8d7f6ad10be195b3a
SHA256 (.footprint) = 889b341c1819724a767dbfc18631d7a4b172d3e0af84fa44e89f029b681a4af6
SHA256 (labwc-0.9.3.tar.gz) = 38d273faa4e021b9f99e1bf1a5f4bf881cc6a592e00c7b3426b37c0a0b67d126
diff --git a/labwc/Pkgfile b/labwc/Pkgfile
index 3aecda2..7fff2e4 100644
--- a/labwc/Pkgfile
+++ b/labwc/Pkgfile
@@ -1,7 +1,8 @@
# Description: A Wayland window-stacking compositor
# URL: https://github.com/labwc/labwc
# Maintainer: Jay Lanagan, j at lngn dot net
-# Depends on: librsvg libsfdo wlroots xorg-xwayland scdoc
+# Depends on: librsvg libsfdo wlroots scdoc
+# Optional: xorg-wayland
name=labwc
version=0.9.3
@@ -10,24 +11,26 @@ source=(https://github.com/labwc/labwc/archive/$version/$name-$version.tar.gz)
build() {
- meson setup $name-$version build \
- --buildtype=release \
- --infodir=/usr/info \
- --libdir=/usr/lib \
- --localstatedir=/var \
- --prefix=/usr \
- --sysconfdir=/etc \
- -Dstrip=true \
- -Dxwayland=enabled \
- -Dnls=disabled \
- -Db_lto=true \
- -Db_pie=true
+ prt-get isinst xorg-xwayland && PKGMK_LABWC+='-Dxwayland=enabled ' || PKGMK_LABWC+=' -Dxwayland=disabled '
- meson compile -C build
- DESTDIR=$PKG meson install -C build
+ meson setup $name-$version build $PKGMK_LABWC \
+ --buildtype=release \
+ --infodir=/usr/info \
+ --libdir=/usr/lib \
+ --localstatedir=/var \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ -Dstrip=true \
+ -Dnls=disabled \
+ -Db_lto=true \
+ -Db_pie=true
+
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+
+ mkdir $PKG/usr/share/labwc
+ mv $PKG/usr/share/doc/* $PKG/usr/share
+ rm $PKG/usr/share/labwc/README
+ rmdir $PKG/usr/share/doc
- mkdir $PKG/usr/share/labwc
- mv $PKG/usr/share/doc/* $PKG/usr/share
- rm $PKG/usr/share/labwc/README
- rmdir $PKG/usr/share/doc
}