summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoraynilay2021-08-17 21:33:02 +0200
committerkoraynilay2021-08-17 21:33:02 +0200
commit80ec3af1cec451b8eb227044d387a8588d6bc96a (patch)
treebc2e81052c831b3411e791a05c7b58ce07c2a4ab
parent8031ec798ac92d9d94e1b8afb60a260894735d92 (diff)
downloadaur-80ec3af1cec451b8eb227044d387a8588d6bc96a.tar.gz
changed how it detects videos, now it uses dbus to check for the presence of org.mpris.MediaPlayer2.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
2 files changed, 3 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ca3e5094fb72..fa5355b68b1f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -13,6 +13,8 @@ pkgbase = scrnsvr
depends = procps-ng
depends = libxss
depends = pcre
+ depends = libdbus
+ depends = python
optdepends = dunst: dunstify for notifications
optdepends = libnotify: for notifications
optdepends = libxinerama: for multi-monitor with xinerama fullscreen check support
diff --git a/PKGBUILD b/PKGBUILD
index c80c6f9e55ee..1f96b8c2ee76 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgdesc="Yet Another X Screensaver/locker"
arch=('x86_64')
url="https://github.com/koraynilay/scrnsvr"
license=('WTFPL')
-depends=('pulseaudio' 'grep' 'procps-ng' 'libxss' 'pcre')
+depends=('pulseaudio' 'grep' 'procps-ng' 'libxss' 'pcre' 'libdbus' 'python')
makedepends=('git' 'gcc')
conflicts=('scrnsvr-bin')
source=("$pkgname-$pkgver::git+https://github.com/koraynilay/scrnsvr")