Skip to content

Commit

Permalink
app-office/obsidian: Add wayland USE flag
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bradbury <opensauce04@gmail.com>
Closes: #265
Signed-off-by: Julien Roy <julien@jroy.ca>
  • Loading branch information
OpenSauce04 authored and MrRoy committed Nov 26, 2024
1 parent 21ee994 commit 14847c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions app-office/obsidian/obsidian-1.6.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ S="${WORKDIR}"
LICENSE="Obsidian-EULA"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="appindicator"
IUSE="appindicator wayland"
RESTRICT="mirror strip bindist"

RDEPEND="
Expand Down Expand Up @@ -158,7 +158,9 @@ src_install() {
fi

domenu usr/share/applications/obsidian.desktop
domenu usr/share/applications/obsidian-wayland.desktop
if use wayland; then
domenu usr/share/applications/obsidian-wayland.desktop
fi

for size in 16 32 48 64 128 256 512; do
doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
Expand Down
6 changes: 4 additions & 2 deletions app-office/obsidian/obsidian-1.7.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ S="${WORKDIR}"
LICENSE="Obsidian-EULA"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="appindicator"
IUSE="appindicator wayland"
RESTRICT="mirror strip bindist"

RDEPEND="
Expand Down Expand Up @@ -158,7 +158,9 @@ src_install() {
fi

domenu usr/share/applications/obsidian.desktop
domenu usr/share/applications/obsidian-wayland.desktop
if use wayland; then
domenu usr/share/applications/obsidian-wayland.desktop
fi

for size in 16 32 48 64 128 256 512; do
doicon --size ${size} usr/share/icons/hicolor/${size}x${size}/apps/${PN}.png
Expand Down

0 comments on commit 14847c1

Please sign in to comment.