mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
Yate: add recipe for version 6.0.0
Doesn't compile yet so help needed.
This commit is contained in:
72
net-voip/yate/yate-6.0.0.recipe
Normal file
72
net-voip/yate/yate-6.0.0.recipe
Normal file
@@ -0,0 +1,72 @@
|
||||
SUMMARY="Universal telephony client"
|
||||
DESCRIPTION="Yate stands for Yet Another Telephony Engine, and like the name \
|
||||
states it is mainly a telephony engine; while currently focused on Voice over \
|
||||
Internet Protocol (VoIP) and PSTN, its power lies in its ability to be easily \
|
||||
extended. Voice, video, data and instant messenging can all be unified under \
|
||||
Yate's flexible routing engine, maximizing communications efficiency and \
|
||||
minimizing infrastructure costs for businesses."
|
||||
HOMEPAGE="http://www.yate.ro/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://yate.null.ro/tarballs/yate6/yate-$portVersion-1.tar.gz"
|
||||
SOURCE_DIR="yate"
|
||||
CHECKSUM_SHA256="0ab76015651db8076031277b2003c23bd5d9eb940491801f30a6dc3c226c1817"
|
||||
#ADDITIONAL_FILES="yate.rdef.in"
|
||||
PATCHES="yate-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 !x86_64"
|
||||
SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
yate$secondaryArchSuffix = $portVersion
|
||||
app:YateClient$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libQt5Core$secondaryArchSuffix
|
||||
lib:libQt5Gui$secondaryArchSuffix
|
||||
lib:libQt5Network$secondaryArchSuffix
|
||||
lib:libQt5Widgets$secondaryArchSuffix
|
||||
lib:libQt5Xml$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export CXXFLAGS="-std=c++11"
|
||||
export CFLAGS="-std=c++11"
|
||||
./autogen.sh
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.qt5-yate"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local LONG_INFO="$SUMMARY"
|
||||
sed \
|
||||
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@LONG_INFO@|$LONG_INFO|" \
|
||||
$portDir/additional-files/yate.rdef.in > yate.rdef
|
||||
|
||||
addResourcesToBinaries yate.rdef $appsDir/Yate/YateClient
|
||||
addAppDeskbarSymlink $appsDir/Yate/YateClient
|
||||
}
|
||||
Reference in New Issue
Block a user