mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
FreeRDP: add recipe for 2.0.0~git version
* revisions newer than afb0d750 not working. don't bump! * cliboard not implemented (you need disable clibpord with key -clipboard)
This commit is contained in:
118
net-misc/freerdp/freerdp-2.0.0~git.recipe
Normal file
118
net-misc/freerdp/freerdp-2.0.0~git.recipe
Normal file
@@ -0,0 +1,118 @@
|
||||
SUMMARY="Free implementation of the Remote Desktop Protocol"
|
||||
DESCRIPTION="FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), \
|
||||
released under the Apache license.
|
||||
Enjoy the freedom of using your software wherever you want, the way you want it, in \
|
||||
a world where interoperability can finally liberate your computing experience."
|
||||
HOMEPAGE="http://rdesktop.org"
|
||||
COPYRIGHT="FreeRDP team"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
srcGitRev="a51e5a9084917f88941a9bfe7d4c18b7afb0d750"
|
||||
SOURCE_URI="https://github.com/FreeRDP/FreeRDP/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="b5a7f3e90d05ff246dc966bbb9de1d6ec92934ef5c66c2e60da54b1e38b2cad6"
|
||||
SOURCE_DIR="FreeRDP-$srcGitRev"
|
||||
PATCHES="freerdp-2.0.0~git.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
freerdp$secondaryArchSuffix = $portVersion
|
||||
cmd:FreeRDP$secondaryArchSuffix = $portVersion
|
||||
cmd:winpr_hash$secondaryArchSuffix = $portVersion
|
||||
cmd:winpr_makecert$secondaryArchSuffix = $portVersion
|
||||
lib:libfreerdp_client2$secondaryArchSuffix = $portVersion
|
||||
lib:libfreerdp2$secondaryArchSuffix = $portVersion
|
||||
lib:libwinpr_tools2$secondaryArchSuffix = $portVersion
|
||||
lib:libwinpr2$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libavcodec$secondaryArchSuffix
|
||||
lib:libavformat$secondaryArchSuffix
|
||||
lib:libavutil$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libexecinfo$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
freerdp${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libfreerdp_client2$secondaryArchSuffix = $portVersion
|
||||
devel:libfreerdp2$secondaryArchSuffix = $portVersion
|
||||
devel:libwinpr_tools2$secondaryArchSuffix = $portVersion
|
||||
devel:libwinpr2$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES_devel="
|
||||
haiku$secondaryArchSuffix
|
||||
freerdp$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libavcodec$secondaryArchSuffix
|
||||
devel:libavformat$secondaryArchSuffix
|
||||
devel:libavutil$secondaryArchSuffix
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libexecinfo$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=$prefix \
|
||||
-DCMAKE_INSTALL_INCLUDEDIR=$includeDir \
|
||||
-DCMAKE_INSTALL_LIBDIR=$libDir \
|
||||
-DCMAKE_INSTALL_BINDIR:PATH=$binDir \
|
||||
-DCMAKE_INSTALL_SBINDIR:PATH=$binDir \
|
||||
-DCMAKE_INSTALL_LIBEXECDIR:PATH=$binDir \
|
||||
-DCMAKE_CXX_FLAGS:STRING=-D_BSD_SOURCE \
|
||||
-DCMAKE_C_FLAGS:STRING=-D_BSD_SOURCE \
|
||||
-DWITH_GSTREAMER_1_0=OFF \
|
||||
-DWITH_FFMPEG=ON \
|
||||
-DWITH_JPEG=ON \
|
||||
-DWITH_CUPS=OFF \
|
||||
-DWITH_OSS=OFF \
|
||||
-DWITH_PULSE=OFF \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd build
|
||||
make install
|
||||
mkdir -p $includeDir
|
||||
cp -f client/Haiku/FreeRDP $binDir
|
||||
ln -s $binDir/FreeRDP $binDir/freerdp
|
||||
mv $prefix/include/* $includeDir
|
||||
rm -rf $prefix/include
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libfreerdp-client2 \
|
||||
libfreerdp2 \
|
||||
libwinpr-tools2 \
|
||||
libwinpr2
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$libDir/cmake
|
||||
}
|
||||
1263
net-misc/freerdp/patches/freerdp-2.0.0~git.patchset
Normal file
1263
net-misc/freerdp/patches/freerdp-2.0.0~git.patchset
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user