string(APPEND libraryPath "/../Frameworks/${refname}")
list(APPEND sfmllibs ${libraryPath})
elseif(line MATCHES "^.*libcurl.[0-9]\\.dylib " OR
- line MATCHES "^.*libxml2.[0-9]\\.dylib ")
+ line MATCHES "^.*libxml2.[0-9]\\.dylib " OR
+ line MATCHES "^.*libsqlite3.[0-9]\\.dylib ")
string(REGEX REPLACE "dylib .*" "dylib" line "${line}")
set(lib ${line})
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleGetInfoString</key>
+ <string></string>
+ <key>CFBundleIconFile</key>
+ <string>XestiaCalendar</string>
+ <key>CFBundleIdentifier</key>
+ <string>uk.co.xestia.calendar</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleLongVersionString</key>
+ <string></string>
+ <key>CFBundleName</key>
+ <string></string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string></string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>0.08</string>
+ <key>CSResourcesFileMapped</key>
+ <true/>
+ <key>NSHumanReadableCopyright</key>
+ <string>(c) 2016-2020 Xestia Software Development</string>
+</dict>
+</plist>
--- /dev/null
+#!/bin/sh
+
+if [ -z $1 ]; then
+ echo "Usage: $0 <pngfile>"
+ exit
+fi
+
+IMAGELOCATION=$1
+IMAGEFILENAME=${IMAGELOCATION##*/}
+IMAGENAME="${IMAGEFILENAME%.*}"
+
+mkdir $IMAGENAME.iconset
+sips $IMAGELOCATION -z 16 16 --out $IMAGENAME.iconset/icon_16x16.png
+sips $IMAGELOCATION -z 32 32 --out $IMAGENAME.iconset/icon_16x16@2x.png
+sips $IMAGELOCATION -z 32 32 --out $IMAGENAME.iconset/icon_32x32.png
+sips $IMAGELOCATION -z 64 64 --out $IMAGENAME.iconset/icon_32x32@2x.png
+sips $IMAGELOCATION -z 128 128 --out $IMAGENAME.iconset/icon_128x128.png
+sips $IMAGELOCATION -z 256 256 --out $IMAGENAME.iconset/icon_128x128@2x.png
+sips $IMAGELOCATION -z 256 256 --out $IMAGENAME.iconset/icon_256x256.png
+sips $IMAGELOCATION -z 512 512 --out $IMAGENAME.iconset/icon_256x256@2x.png
+sips $IMAGELOCATION -z 512 512 --out $IMAGENAME.iconset/icon_512x512.png
+cp $IMAGELOCATION $IMAGENAME.iconset/icon_512x512@2x.png
+iconutil -c icns $IMAGENAME.iconset
+rm $IMAGENAME.iconset/*
+rmdir $IMAGENAME.iconset