Skip to content

Commit

Permalink
app-misc/notion: slight cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredallard committed Jun 6, 2024
1 parent 805741f commit 2acd2c3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app-misc/notion/notion-3.9.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ EAPI=8
MY_PN="${PN/-bin/}"
MY_PV="${PV/-r*/}"

# Matches the version used by Notion.
ELECTRON_VERSION=v29.3.0
# Matches the versions used by Notion.
ELECTRON_VERSION="v29.3.0"
BETTER_SQLITE3_VERSION="9.4.5"

inherit chromium-2 desktop linux-info optfeature unpacker xdg

DESCRIPTION=""
DESCRIPTION="Your connected workspace for wiki, docs & projects"
HOMEPAGE="https://github.com/ArmCord/ArmCord"
SRC_URI="
https://desktop-release.notion-static.com/Notion-${MY_PV}.dmg
Expand Down Expand Up @@ -70,7 +70,8 @@ src_compile() {
# Rename "electron" to "notion" to avoid confusion.
mv "${BUILDDIR}/electron" "${BUILDDIR}/${MY_PN}"

# TODO
# Replace better_sqlite 3 with one for our architecture so that Notion
# is able to open.
cp better_sqlite3.node "$BUILDDIR/resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node" ||
die "Failed to copy better_sqlite3.node"
S="${BUILDDIR}"
Expand Down

0 comments on commit 2acd2c3

Please sign in to comment.