mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
KoreanIM, add recipe (#6841)
* koreanim, add recipe * koreanim, apply requested changed in recipe
This commit is contained in:
47
app-i18n/koreanim/koreanim-0.0.1.recipe
Normal file
47
app-i18n/koreanim/koreanim-0.0.1.recipe
Normal file
@@ -0,0 +1,47 @@
|
||||
SUMMARY="Korean Input Method for BeOS/Haiku"
|
||||
DESCRIPTION="Korean Input Method for BeOS/Haiku using libhangul"
|
||||
HOMEPAGE="https://github.com/terrayi/KoreanIM"
|
||||
COPYRIGHT="2014 Terra Yi"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/terrayi/KoreanIM/archive/refs/tags/v0.0.1.zip"
|
||||
CHECKSUM_SHA256="3af306a4bb5db591b60105e0f98e24f7956a748abe7170e0cf7760ffbf2bbd6b"
|
||||
SOURCE_DIR="KoreanIM-$portVersion"
|
||||
|
||||
PATCHES="koreanim-0.0.1.patchset"
|
||||
|
||||
ARCHITECTURES="all"
|
||||
|
||||
PROVIDES="
|
||||
koreanim = $portVersion
|
||||
addon:KoreanIM = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libhangul
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libhangul
|
||||
devel:libintl
|
||||
makefile_engine
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs -e OBJ_DIR=generated
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $addOnsDir/input_server/methods
|
||||
cp generated/KoreanIM $addOnsDir/input_server/methods/
|
||||
}
|
||||
|
||||
29
app-i18n/koreanim/patches/koreanim-0.0.1.patchset
Normal file
29
app-i18n/koreanim/patches/koreanim-0.0.1.patchset
Normal file
@@ -0,0 +1,29 @@
|
||||
From: Terra Yi <terrayi@gmail.com>
|
||||
Date: Fri, 22 April 2022 18:50:00 +12:00
|
||||
Subject: Build fix for Haiku
|
||||
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 92eab7846..0a276e51e 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -16,12 +16,14 @@ SYMBOLS=
|
||||
DEBUGGER=TRUE
|
||||
COMPILER_FLAGS=
|
||||
LINKER_FLAGS=
|
||||
+DEVEL_DIRECTORY := \
|
||||
+ $(shell findpaths -r "makefile_engine" B_FIND_PATH_DEVELOP_DIRECTORY)
|
||||
|
||||
all: _APP_ default
|
||||
|
||||
-include /boot/develop/etc/makefile-engine
|
||||
+include $(DEVEL_DIRECTORY)/etc/makefile-engine
|
||||
|
||||
-clean ::
|
||||
+clean:
|
||||
rm -f _APP_
|
||||
|
||||
_APP_: /system/servers/input_server
|
||||
|
||||
--
|
||||
2.2.2
|
||||
Reference in New Issue
Block a user