mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 14:08:51 +02:00
86 lines
2.2 KiB
Bash
86 lines
2.2 KiB
Bash
SUMMARY="Convert text emoticons to graphical emoticons"
|
|
DESCRIPTION="KEmoticons converts emoticons from text to a graphical \
|
|
representation with images in HTML. It supports setting different themes \
|
|
for emoticons coming from different providers."
|
|
HOMEPAGE="https://github.com/KDE/kemoticons/"
|
|
COPYRIGHT="2010-2018 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KDE/kemoticons/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="96982d2cc686ba349ce420b202e65482bf837732b78421e1610b57f561ad3a00"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
kemoticons$secondaryArchSuffix = $portVersion
|
|
lib:libKF5Emoticons$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libKF5Archive$secondaryArchSuffix
|
|
lib:libKF5ConfigCore$secondaryArchSuffix
|
|
lib:libKF5CoreAddons$secondaryArchSuffix
|
|
lib:libKF5Service$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5DBus$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
kemoticons${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libKF5Emoticons$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES_devel="
|
|
kemoticons$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
extra_cmake_modules >= 5.47
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libKF5Archive$secondaryArchSuffix == $portVersion
|
|
devel:libKF5ConfigCore$secondaryArchSuffix == $portVersion
|
|
devel:libKF5CoreAddons$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Service$secondaryArchSuffix == $portVersion
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
|
devel:libQt5DBus$secondaryArchSuffix >= 5.7
|
|
devel:libQt5Gui$secondaryArchSuffix >= 5.7
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake .. $cmakeDirArgs \
|
|
-DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \
|
|
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
|
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
make install
|
|
|
|
prepareInstalledDevelLibs \
|
|
libKF5Emoticons
|
|
|
|
packageEntries devel \
|
|
$libDir/cmake \
|
|
$dataDir/Qt5/mkspecs \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd build
|
|
make test
|
|
}
|