x11/swaysettings: update to 0.4.0
Changes: https://github.com/ErikReider/SwaySettings/compare/709b482...v0.4.0 Reported by: GitHub (watch releases)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
PORTNAME= swaysettings
|
||||
PORTVERSION= s20220227
|
||||
PORTREVISION= 2
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.4.0
|
||||
CATEGORIES= x11
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
@@ -10,18 +10,19 @@ WWW= https://github.com/ErikReider/SwaySettings
|
||||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
|
||||
LIB_DEPENDS= libpulse.so:audio/pulseaudio \
|
||||
libjson-glib-1.0.so:devel/json-glib \
|
||||
libgee-0.8.so:devel/libgee \
|
||||
libaccountsservice.so:sysutils/accountsservice \
|
||||
libgranite.so:x11-toolkits/granite \
|
||||
libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \
|
||||
libhandy-1.so:x11-toolkits/libhandy
|
||||
|
||||
USES= compiler:c11 gettext gnome meson pkgconfig python:build shebangfix vala:build
|
||||
USES= compiler:c11 gettext gnome localbase:ldflags meson pkgconfig \
|
||||
python:build shebangfix vala:build
|
||||
USE_GITHUB= yes
|
||||
USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2
|
||||
GH_ACCOUNT= ErikReider
|
||||
GH_PROJECT= SwaySettings
|
||||
GH_TAGNAME= 709b482
|
||||
SHEBANG_FILES= build-aux/meson/postinstall.py
|
||||
|
||||
post-patch:
|
||||
@@ -30,5 +31,20 @@ post-patch:
|
||||
${WRKSRC}/src/Page/Input_Page.vala \
|
||||
${WRKSRC}/src/Pages/Background/Background_Page.vala \
|
||||
${WRKSRC}/src/Pages/Users/Users.vala
|
||||
# Drop unused dependency
|
||||
@${REINPLACE_CMD} -e 's/granite/gio-unix-2.0/' \
|
||||
${WRKSRC}/src/meson.build
|
||||
# Disable Linux-only bluez and rfkill
|
||||
@${REINPLACE_CMD} -e '/Bluetooth/d; /Rfkill/d' \
|
||||
${WRKSRC}/src/meson.build \
|
||||
${WRKSRC}/src/${PORTNAME}.gresource.xml
|
||||
@${REINPLACE_CMD} -e '/bluetooth-symbolic/d' \
|
||||
-e 's/new Bluetooth_Page.*/null;/' \
|
||||
${WRKSRC}/src/Window/Window.vala
|
||||
|
||||
post-configure:
|
||||
# XXX https://github.com/ErikReider/SwaySettings/issues/36
|
||||
@${REINPLACE_CMD} -e '/pkg/s/accountsservice/AccountsService-1.0/' \
|
||||
${BUILD_WRKSRC}/build.ninja
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1645972935
|
||||
SHA256 (ErikReider-SwaySettings-s20220227-709b482_GH0.tar.gz) = 2ff80462f464890c55ac918f8087df4d4adfabe5c00d0a5e188da831589a4487
|
||||
SIZE (ErikReider-SwaySettings-s20220227-709b482_GH0.tar.gz) = 74947
|
||||
TIMESTAMP = 1655322556
|
||||
SHA256 (ErikReider-SwaySettings-v0.4.0_GH0.tar.gz) = c04b7fcd4d9e1a9c2535609c63efad6bd1ccc4242aebdea9eb680a4e3a82df58
|
||||
SIZE (ErikReider-SwaySettings-v0.4.0_GH0.tar.gz) = 110423
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
bin/sway-autostart
|
||||
bin/sway-wallpaper
|
||||
bin/swaysettings
|
||||
share/appdata/org.erikreider.swaysettings.appdata.xml
|
||||
share/applications/org.erikreider.swaysettings.desktop
|
||||
|
||||
Reference in New Issue
Block a user