Skip to content

Instantly share code, notes, and snippets.

@denisoster
Last active August 14, 2022 19:33
Show Gist options
  • Save denisoster/2340359c2e492b1c1b3f2cc91cdd0356 to your computer and use it in GitHub Desktop.
Save denisoster/2340359c2e492b1c1b3f2cc91cdd0356 to your computer and use it in GitHub Desktop.
Standalone X session manager for systemd-logind
# Maintainer: Denis Oster <[email protected]>
pkgname=sessiond
pkgver=0.6.1
pkgrel=1
pkgdesc="Standalone X session manager for systemd-logind"
arch=("x86_64")
url="https://sessiond.org/"
license=("GPL" 'custom:GPL3 or any later version')
depends=(dbus-python wireplumber python-pyqt5)
makedepends=(
git
systemd
meson
perl
glib2
libx11
libxi
libxext
python-setuptools
)
source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/jcrd/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz"
"https://gist.github.com/denisoster/2340359c2e492b1c1b3f2cc91cdd0356/raw/d5298aabd1b4746a13bbf03d72ea837b30e863c0/pod2man.patch"
)
sha256sums=(
d2b8e81eb33c0cbce1e9fcdd37db03b1ec93afb984479f2ab4d7e9ce25d0c5ae
fe0708f9eada5d72d472ed110e8c53b236746fdca9be8598b89edfa41bdaab09
)
_srcdir="${pkgname}-${pkgver}"
_pydir="python-${pkgname}"
prepare() {
patch --directory="${_srcdir}" --forward --strip=1 --input="${srcdir}/pod2man.patch"
}
build() {
arch-meson "${_srcdir}" builddir -Ddpms=enabled -Dwireplumb=enabled -Dbacklight_helper=enabled
meson compile -C builddir
}
package() {
meson install -C builddir --destdir "${pkgdir}"
cd "${_srcdir}/${_pydir}"
python setup.py install --root "${pkgdir}" --optimize=1
install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Index: meson.build
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/meson.build b/meson.build
--- a/meson.build (revision 618d2ad6cde986f01a2c0332c49d5418ef56821b)
+++ b/meson.build (date 1660462661668)
@@ -110,7 +110,7 @@
# install manpages built with pod2man
mandir = get_option('mandir')
-pod2man = find_program('pod2man')
+pod2man = find_program('/usr/bin/core_perl/pod2man')
foreach name, section : manpages
manpage = '.'.join([name, section])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment