mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
notes, small fixes to recipe (#8902)
This commit is contained in:
@@ -20,7 +20,7 @@ needs to be done there).
|
||||
HOMEPAGE="https://get-notes.com"
|
||||
COPYRIGHT="2023 nuttyartist et all"
|
||||
LICENSE="MPL v2.0"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/nuttyartist/notes/archive/refs/tags/v2.1.0.tar.gz"
|
||||
CHECKSUM_SHA256="8a8ae079fad6d9d5e9206acf5f4d19e1e73e1196e6c27408072b5cccf8778b95"
|
||||
srcGitRev_2="efdb2e5a25e5646390f8658e3321f6e9a4c3561a"
|
||||
@@ -42,7 +42,7 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
notes$secondaryArchSuffix = $portVersion
|
||||
cmd:notes = $portVersion
|
||||
app:Notes = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -82,19 +82,21 @@ BUILD()
|
||||
cp -rf $sourceDir4/* 3rdParty/QSimpleUpdater
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DUPDATE_CHECKER=OFF -L
|
||||
-DUPDATE_CHECKER=OFF
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make -C build install
|
||||
mkdir -p $appsDir
|
||||
mv $prefix/bin/notes $appsDir/Notes
|
||||
rm -rf $dataDir
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local APP_NAME="Mednaffe"
|
||||
local APP_NAME="Notes"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
local APP_SIGNATURE="application/x-vnd.notes"
|
||||
sed \
|
||||
@@ -106,7 +108,7 @@ INSTALL()
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
$portDir/additional-files/notes.rdef.in > notes.rdef
|
||||
|
||||
addResourcesToBinaries notes.rdef $prefix/bin/notes
|
||||
addResourcesToBinaries notes.rdef $appsDir/Notes
|
||||
|
||||
addAppDeskbarSymlink $prefix/bin/notes Notes
|
||||
addAppDeskbarSymlink $appsDir/Notes Notes
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user