mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
Co-authored-by: OscarL <oscar.lesta@gmail.com> Co-authored-by: OscarL <oscar.lesta@gmail.com>
60 lines
1.4 KiB
Bash
60 lines
1.4 KiB
Bash
SUMMARY="A native calendar application"
|
|
DESCRIPTION="Features:
|
|
* Create, modify and delete events.
|
|
* Generate notifications for events.
|
|
* Day Calendar view.
|
|
* Event categorization.
|
|
* Set 'All day' long events.
|
|
* Fetching events from Google Calendar using Google Calendar API.
|
|
* SQLite backend for storing events.
|
|
* Setting preferences like 'First day of week', 'Display week number in \
|
|
Calendar'.
|
|
* App localization: DateTime strings are localised and updates with locale \
|
|
preferences change but GUI string still needs to be localized."
|
|
HOMEPAGE="https://github.com/HaikuArchives/Calendar"
|
|
COPYRIGHT="2017 Akshay Agarwal
|
|
2017-2021 HaikuArchives Team"
|
|
LICENSE="MIT"
|
|
REVISION="3"
|
|
SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="c3d42cbd4554dda4e65cd5d8bb234ccfa2659cf5405046049d8528d3f86165ee"
|
|
SOURCE_DIR="Calendar-$portVersion"
|
|
PATCHES="calendar-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
calendar$secondaryArchSuffix = $portVersion
|
|
app:Calendar = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make OBJ_DIR=objects $jobArgs
|
|
make OBJ_DIR=objects bindcatalogs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p "$appsDir"
|
|
|
|
cp objects/Calendar $appsDir
|
|
|
|
addAppDeskbarSymlink "$appsDir"/Calendar
|
|
}
|