mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
eiskaltdcpp: bump version + improve build script (#3824)
This commit is contained in:
committed by
Sergei Reznikov
parent
b8be5e0caf
commit
f9c8490845
@@ -7,10 +7,10 @@ software."
|
|||||||
HOMEPAGE="https://sourceforge.net/projects/eiskaltdcpp/"
|
HOMEPAGE="https://sourceforge.net/projects/eiskaltdcpp/"
|
||||||
COPYRIGHT="EiskaltDC++ team"
|
COPYRIGHT="EiskaltDC++ team"
|
||||||
LICENSE="GNU GPL v3"
|
LICENSE="GNU GPL v3"
|
||||||
REVISION="7"
|
REVISION="8"
|
||||||
srcGitRev="5a64bdff7ba0c1844730c8b28179a671c4e7afbb"
|
srcGitRev="bbc0b7cee6c9c24afecd2e90075cd37da0e84f7f"
|
||||||
SOURCE_URI="https://github.com/eiskaltdcpp/eiskaltdcpp/archive/$srcGitRev.tar.gz"
|
SOURCE_URI="https://github.com/eiskaltdcpp/eiskaltdcpp/archive/$srcGitRev.tar.gz"
|
||||||
CHECKSUM_SHA256="056cea8c08e86eecc7275d6b1e54c9d1c18c38ed72eb9c9c75d8f9c57d96737f"
|
CHECKSUM_SHA256="2fab8f57ab9f31a8a91fc208fc99c1aa3fb751d0ae3e1d4df7a661c8493a7637"
|
||||||
SOURCE_DIR="eiskaltdcpp-$srcGitRev"
|
SOURCE_DIR="eiskaltdcpp-$srcGitRev"
|
||||||
ADDITIONAL_FILES="eiskaltdcpp.rdef.in"
|
ADDITIONAL_FILES="eiskaltdcpp.rdef.in"
|
||||||
|
|
||||||
@@ -23,7 +23,6 @@ PROVIDES="
|
|||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku$secondaryArchSuffix
|
haiku$secondaryArchSuffix
|
||||||
lib:libaspell$secondaryArchSuffix
|
|
||||||
lib:libboost_system$secondaryArchSuffix
|
lib:libboost_system$secondaryArchSuffix
|
||||||
lib:libbz2$secondaryArchSuffix
|
lib:libbz2$secondaryArchSuffix
|
||||||
lib:libcrypto$secondaryArchSuffix
|
lib:libcrypto$secondaryArchSuffix
|
||||||
@@ -46,7 +45,6 @@ REQUIRES="
|
|||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel
|
haiku${secondaryArchSuffix}_devel
|
||||||
devel:libaspell$secondaryArchSuffix
|
|
||||||
devel:libboost_system$secondaryArchSuffix
|
devel:libboost_system$secondaryArchSuffix
|
||||||
devel:libbz2$secondaryArchSuffix
|
devel:libbz2$secondaryArchSuffix
|
||||||
devel:libcrypto$secondaryArchSuffix
|
devel:libcrypto$secondaryArchSuffix
|
||||||
@@ -79,22 +77,21 @@ BUILD()
|
|||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-DCMAKE_BUILD_TYPE=Release $cmakeDirArgs \
|
-DCMAKE_INSTALL_PREFIX:PATH=$appsDir/Eiskaltdcpp \
|
||||||
-DLUA_INCLUDE_DIR="`pkg-config --variable=includedir lua`"
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DLUA_INCLUDE_DIR="`pkg-config --variable=includedir lua`" \
|
||||||
|
-DJSONRPC_DAEMON=OFF \
|
||||||
|
-DWITH_LUASCRIPTS=ON \
|
||||||
|
-DWITH_EXAMPLES=OFF \
|
||||||
|
-DUSE_ASPELL=OFF \
|
||||||
|
-DDBUS_NOTIFY=OFF
|
||||||
make $jobArgs
|
make $jobArgs
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL()
|
INSTALL()
|
||||||
{
|
{
|
||||||
mkdir -p $appsDir/Eiskaltdcpp/translations
|
cd build
|
||||||
cp build/eiskaltdcpp-qt/eiskaltdcpp-qt $appsDir/Eiskaltdcpp/EiskaltDC++
|
make install
|
||||||
cp build/eiskaltdcpp-qt/translations/*.qm $appsDir/Eiskaltdcpp/translations
|
|
||||||
|
|
||||||
cp -r eiskaltdcpp-qt/icons/* $appsDir/Eiskaltdcpp
|
|
||||||
cp -r data/emoticons $appsDir/Eiskaltdcpp
|
|
||||||
cp -r data/sounds $appsDir/Eiskaltdcpp
|
|
||||||
|
|
||||||
rm -rf $appsDir/Eiskaltdcpp/gv.xpm
|
|
||||||
|
|
||||||
MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||||
MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||||
|
|||||||
Reference in New Issue
Block a user