Skip to content

Commit

Permalink
x11/swaysettings: add new port
Browse files Browse the repository at this point in the history
SwaySettings is a GUI for configuring your Sway desktop.

Features:
- Set and remove auto start apps
- Change default apps
- Change GTK theme (GTK 3 and potentially GTK 2)
- Mouse and trackpad settings
- Keyboard layout settings
- Switch Wallpaper (selected wallpaper will be located at .cache/wallpaper)
- Configure Sway Notification Center

https://github.com/ErikReider/SwaySettings
  • Loading branch information
jbeich committed Dec 19, 2021
1 parent a225f1c commit 9d8965f
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions x11/Makefile
Expand Up @@ -351,6 +351,7 @@
SUBDIR += swaylock-effects
SUBDIR += swaync
SUBDIR += swayr
SUBDIR += swaysettings
SUBDIR += sxhkd
SUBDIR += sxpc
SUBDIR += tabbed
Expand Down
33 changes: 33 additions & 0 deletions x11/swaysettings/Makefile
@@ -0,0 +1,33 @@
PORTNAME= swaysettings
PORTVERSION= s20211118
CATEGORIES= x11

MAINTAINER= jbeich@FreeBSD.org
COMMENT= GUI for setting Sway wallpaper, default apps, GTK themes, etc.

LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING

BUILD_DEPENDS= valac:lang/vala
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
libgee-0.8.so:devel/libgee \
libaccountsservice.so:sysutils/accountsservice \
libgranite.so:x11-toolkits/granite \
libhandy-1.so:x11-toolkits/libhandy

USES= compiler:c11 gettext gnome meson pkgconfig python:build shebangfix
USE_GITHUB= yes
USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2
GH_ACCOUNT= ErikReider
GH_PROJECT= SwaySettings
GH_TAGNAME= 13212aa
SHEBANG_FILES= build-aux/meson/postinstall.py

post-patch:
# Respect PREFIX for images and XKB layouts
@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
${WRKSRC}/src/Page/Input_Page.vala \
${WRKSRC}/src/Pages/Background/Background_Page.vala \
${WRKSRC}/src/Pages/Users/Users.vala

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions x11/swaysettings/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1637244061
SHA256 (ErikReider-SwaySettings-s20211118-13212aa_GH0.tar.gz) = 33732a0c13981eb8c1116aef4f4c8e7c6a7c9511a660bb7f58ca11fb212a52a2
SIZE (ErikReider-SwaySettings-s20211118-13212aa_GH0.tar.gz) = 74436
12 changes: 12 additions & 0 deletions x11/swaysettings/pkg-descr
@@ -0,0 +1,12 @@
SwaySettings is a GUI for configuring your Sway desktop.

Features:
- Set and remove auto start apps
- Change default apps
- Change GTK theme (GTK 3 and potentially GTK 2)
- Mouse and trackpad settings
- Keyboard layout settings
- Switch Wallpaper (selected wallpaper will be located at .cache/wallpaper)
- Configure Sway Notification Center

WWW: https://github.com/ErikReider/SwaySettings
7 changes: 7 additions & 0 deletions x11/swaysettings/pkg-plist
@@ -0,0 +1,7 @@
bin/sway-autostart
bin/swaysettings
share/appdata/org.erikreider.swaysettings.appdata.xml
share/applications/org.erikreider.swaysettings.desktop
share/glib-2.0/schemas/org.erikreider.swaysettings.gschema.xml
share/icons/hicolor/scalable/apps/org.erikreider.swaysettings.svg
share/icons/hicolor/symbolic/apps/org.erikreider.swaysettings-symbolic.svg

0 comments on commit 9d8965f

Please sign in to comment.