mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
Enable Krossjava
This commit is contained in:
parent
c21e78b902
commit
397b6350f7
@ -13,12 +13,12 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|||||||
pkgname=kdebindings-kross-interpreters
|
pkgname=kdebindings-kross-interpreters
|
||||||
_pkgname=kross-interpreters
|
_pkgname=kross-interpreters
|
||||||
pkgver=${_kdever}
|
pkgver=${_kdever}
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="KDE interpreters for Kross"
|
pkgdesc="KDE interpreters for Kross"
|
||||||
url="http://kde.org/"
|
url="http://kde.org/"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
license=('GPL' 'LGPL' 'FDL')
|
license=('GPL' 'LGPL' 'FDL')
|
||||||
depends=("kdebindings-pykde4>=${_kdever}" "kdebindings-korundum>=${_kdever}")
|
depends=("kdebindings-pykde4>=${_kdever}" "kdebindings-korundum>=${_kdever}" "java-runtime")
|
||||||
makedepends=('cmake' 'automoc4' 'ruby' 'python2' 'openjdk6')
|
makedepends=('cmake' 'automoc4' 'ruby' 'python2' 'openjdk6')
|
||||||
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
source=("$_mirror/${_pkgname}-$_kdever.tar.bz2")
|
||||||
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
md5sums=(`grep ${_pkgname}-$_kdever.tar.bz2 ../kde-sc.md5 | cut -d" " -f1`)
|
||||||
@ -30,9 +30,11 @@ build()
|
|||||||
{
|
{
|
||||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||||
|
|
||||||
# FIXME; ruby and java are not compiling atm
|
# FIXME; ruby is not compiling atm
|
||||||
sed -i -e "s~macro_optional_add_subdirectory(ruby)~~g" CMakeLists.txt
|
sed -i -e "s~macro_optional_add_subdirectory(ruby)~~g" CMakeLists.txt
|
||||||
sed -i -e "s~macro_optional_add_subdirectory(java)~~g" CMakeLists.txt
|
|
||||||
|
# Enable this to disable Java:
|
||||||
|
# sed -i -e "s~macro_optional_add_subdirectory(java)~~g" CMakeLists.txt
|
||||||
|
|
||||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||||
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
-DCMAKE_INSTALL_PREFIX=${_installprefix}
|
||||||
|
Loading…
Reference in New Issue
Block a user