mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
@@ -0,0 +1,49 @@
|
||||
SUMMARY="Unicode input method for Haiku"
|
||||
DESCRIPTION="Allows entering Unicode characters by pressing: CMD + Shift + u and then the \
|
||||
hexadecimal numeric value of the desired character (eg: 'CMD+Shift+u 262e' -> ☮)."
|
||||
HOMEPAGE="https://github.com/puckipedia/UnicodeInputServerMethod/"
|
||||
COPYRIGHT="2015-2023 Puck Meerburg"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
srcGitRev="26a7cdc0bc5901138262a34dab2a62e5b9e30f3a"
|
||||
SOURCE_URI="https://github.com/puckipedia/UnicodeInputServerMethod/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="3f7bd452c554eb78877bfd30fe11549abfbc875d6a1fda98b1f38db3acf6f449"
|
||||
SOURCE_DIR="UnicodeInputServerMethod-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
|
||||
PROVIDES="
|
||||
unicode_input_method = $portVersion
|
||||
addon:UnicodeInputServerMethod = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
PATCH()
|
||||
{
|
||||
# Undefine DEBUG, as it spams the syslog too much.
|
||||
sed -i -e "s|#define DEBUG 1|//#define DEBUG 1|" UnicodeInputServerMethod.cpp
|
||||
}
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make OBJ_DIR=objects
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p "$addOnsDir/input_server/filters" "$addOnsDir/input_server/methods"
|
||||
mv objects/UnicodeInputServerMethod "$addOnsDir/input_server/methods"
|
||||
ln -sr "$addOnsDir/input_server/methods/UnicodeInputServerMethod" \
|
||||
"$addOnsDir/input_server/filters/UnicodeInputServerMethod"
|
||||
}
|
||||
Reference in New Issue
Block a user