aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/makepkg/PKGBUILD12
-rw-r--r--linux/poi.desktop.in8
-rw-r--r--linux/poi_firejail.desktop.in12
3 files changed, 16 insertions, 16 deletions
diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD
index 55eb000..3d75cf2 100644
--- a/linux/makepkg/PKGBUILD
+++ b/linux/makepkg/PKGBUILD
@@ -54,19 +54,15 @@ build() {
# --buildtype=plain - meson won't add any flags to the command line
# --prefix=... - install prefix
# --auto-features=disabled - features should be explicitly enabled
- meson --buildtype=plain --prefix=/usr/local --auto-features=disabled $srcdir/build
+ meson --buildtype=plain --prefix=/usr/local --auto-features=disabled \
+ -DPlasma=enabled -Dmanpage=enabled \
+ $srcdir/build
# Run menuconfig
#KCONFIG_CONFIG=linux/.config menuconfig
- cd $srcdir/build
-
- # Toggle features
- #meson configure -DBreakpad=enabled
- meson configure -DPlasma=enabled
- meson configure -Dmanpage=enabled
-
# Build
+ cd $srcdir/build
ninja
}
diff --git a/linux/poi.desktop.in b/linux/poi.desktop.in
index c6f77b2..a31a84c 100644
--- a/linux/poi.desktop.in
+++ b/linux/poi.desktop.in
@@ -1,6 +1,6 @@
[Desktop Entry]
Version=1.0
-Name=poi
+Name=smolbote
GenericName=Web Browser
Comment=yet another no-frills browser
Exec=@exec_poi@ %u
@@ -10,7 +10,7 @@ Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
Categories=Network;WebBrowser;
Keywords=web;browser;internet;
-Actions=configure;firejail
+Actions=pickSession;configure
[Desktop Action pickSession]
Name=Pick Session
@@ -19,7 +19,3 @@ Exec=@exec_poi@ --pick-session
[Desktop Action configure]
Name=Configure smolbote
Exec=@exec_poi@ configure
-
-[Desktop Action firejail]
-Name=Start instance in firejail
-Exec=/usr/bin/firejail --profile=@profile_path@ @exec_poi@
diff --git a/linux/poi_firejail.desktop.in b/linux/poi_firejail.desktop.in
index aab41b4..139ffde 100644
--- a/linux/poi_firejail.desktop.in
+++ b/linux/poi_firejail.desktop.in
@@ -1,13 +1,21 @@
[Desktop Entry]
Version=1.0
-Name=poi (in firejail)
+Name=smolbote (in firejail)
GenericName=Web Browser
Comment=yet another no-frills browser
-Exec=/usr/bin/firejail --profile=@profile_path@ @exec_poi@ %u
+Exec=@firejail@ --profile=@firejail_profile@ @exec_poi@ %u
Icon=poi
Terminal=false
Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
Categories=Network;WebBrowser;
Keywords=web;browser;internet;
+Actions=pickSession;configure
+[Desktop Action pickSession]
+Name=Pick Session
+Exec=@firejail@ --profile=@firejail_profile@ @exec_poi@ --pick-session
+
+[Desktop Action configure]
+Name=Configure smolbote
+Exec=@firejail@ --profile=@firejail_profile@ @exec_poi@ configure