From e3fe083bf241f987c0395901df62311ad017e4b7 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Thu, 29 Jun 2023 09:04:45 +0200 Subject: [PATCH] notes, small fixes to recipe (#8902) --- app-text/notes/notes-2.1.0.recipe | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/app-text/notes/notes-2.1.0.recipe b/app-text/notes/notes-2.1.0.recipe index d2f1b1a9e..f766ade0c 100644 --- a/app-text/notes/notes-2.1.0.recipe +++ b/app-text/notes/notes-2.1.0.recipe @@ -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 }