1SUMMARY="An open source client for Evernote" 2DESCRIPTION="Evernote is a suite of software and services, designed for \ 3notetaking and archiving. 4A 'note' can be a piece of formatted text, a full webpage or webpage excerpt, \ 5a photograph, a voice memo, or a handwritten 'ink' note. Notes can also have \ 6file attachments. Notes can be sorted into folders, then tagged, annotated, \ 7edited, given comments, searched, and exported as part of a notebook. 8 9The application currently support: 10 11* Synchronization with Evernote servers 12* Local data caching 13* Embbeded PDF documents preview with poppler 14* Note printing and export to PDF, html or text file" 15HOMEPAGE="https://github.com/Vytax/hippo/" 16COPYRIGHT="2015-2018 Vytax" 17LICENSE="GNU GPL v2" 18REVISION="7" 19srcGitRev="b62e1530f5c87611918168eef1f2071aed0c7e95" 20SOURCE_URI="https://github.com/Vytax/hippo/archive/$srcGitRev.tar.gz" 21CHECKSUM_SHA256="ba3829daed1ed0b8f8a5e32adbe601311ca0ee3d9b596e7bc47f519d63a9c521" 22SOURCE_DIR="hippo-$srcGitRev" 23srcGitRev_2="866da331087c62dc4ff413535379ee5c6c763156" 24SOURCE_URI_2="https://github.com/Vytax/CuteLogger/archive/$srcGitRev_2.tar.gz" 25CHECKSUM_SHA256_2="d3ddcad99e060fd3bb395f26f0df7b1c77d88c3f2de3ecdba1d43734fba48d2b" 26SOURCE_DIR_2="CuteLogger-$srcGitRev_2" 27ADDITIONAL_FILES="hippo.rdef.in" 28 29ARCHITECTURES="all !x86_gcc2" 30SECONDARY_ARCHITECTURES="x86" 31 32PROVIDES=" 33 hippo$secondaryArchSuffix = $portVersion 34 app:Hippo$secondaryArchSuffix = $portVersion 35 " 36REQUIRES=" 37 haiku$secondaryArchSuffix 38 lib:libGl$secondaryArchSuffix 39 lib:libhunspell_1.7$secondaryArchSuffix 40 lib:libpoppler$secondaryArchSuffix 41 lib:libpoppler_qt5$secondaryArchSuffix 42 lib:libQt5Core$secondaryArchSuffix 43 lib:libQt5Gui$secondaryArchSuffix 44 lib:libQt5PrintSupport$secondaryArchSuffix 45 lib:libQt5Sql$secondaryArchSuffix 46 lib:libQt5WebKit$secondaryArchSuffix 47 lib:libQt5WebKitWidgets$secondaryArchSuffix 48 lib:libQt5Widgets$secondaryArchSuffix 49 lib:libz$secondaryArchSuffix 50 " 51 52BUILD_REQUIRES=" 53 haiku${secondaryArchSuffix}_devel 54 devel:libGl$secondaryArchSuffix 55 devel:libhunspell_1.7$secondaryArchSuffix 56 devel:libpoppler$secondaryArchSuffix 57 devel:libpoppler_qt5$secondaryArchSuffix 58 devel:libQt5Core$secondaryArchSuffix 59 devel:libQt5Gui$secondaryArchSuffix 60 devel:libQt5PrintSupport$secondaryArchSuffix 61 devel:libQt5Sql$secondaryArchSuffix 62 devel:libQt5WebKit$secondaryArchSuffix 63 devel:libQt5WebKitWidgets$secondaryArchSuffix 64 devel:libQt5Widgets$secondaryArchSuffix 65 devel:libz$secondaryArchSuffix 66 " 67BUILD_PREREQUIRES=" 68 cmd:gcc$secondaryArchSuffix 69 cmd:lrelease$secondaryArchSuffix >= 5 70 cmd:make 71 cmd:pkg_config$secondaryArchSuffix 72 cmd:qmake$secondaryArchSuffix >= 5 73 " 74 75BUILD() 76{ 77 rm -rf $sourceDir/3rdparty/Cutelogger 78 ln -s $sourceDir2 $sourceDir/3rdparty/Cutelogger 79 80 sed -i "s|/usr/include/poppler/qt5|/system/$relativeIncludeDir/poppler/qt5|" $sourceDir/hippo.pro 81 sed -i "s|-lhunspell|-lhunspell-1.7|" $sourceDir/3rdparty/spellcheck.pri 82 sed -i "/QtWebKit/d" $sourceDir/mainwindow.ui 83 84 qmake . 85 make $jobArgs 86} 87 88INSTALL() 89{ 90 mkdir -p $appsDir 91 cp hippo "$appsDir/Hippo Notes" 92 93 local APP_SIGNATURE="application/x-vnd.hipponotes" 94 local MAJOR="`echo "$portVersion" | cut -d. -f1`" 95 local MIDDLE="`echo "$portVersion" | cut -d. -f2 | cut -d~ -f1`" 96 local MINOR="0" 97 local LONG_INFO="$SUMMARY" 98 sed \ 99 -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ 100 -e "s|@MAJOR@|$MAJOR|" \ 101 -e "s|@MIDDLE@|$MIDDLE|" \ 102 -e "s|@MINOR@|$MINOR|" \ 103 -e "s|@LONG_INFO@|$LONG_INFO|" \ 104 $portDir/additional-files/hippo.rdef.in > hippo.rdef 105 106 addResourcesToBinaries hippo.rdef \ 107 "$appsDir/Hippo Notes" 108 109 addAppDeskbarSymlink "$appsDir/Hippo Notes" 110} 111