1 # Contributor: dhamp <dhamp@ya.ru>
6 true && pkgname=('eiskaltdcpp-gtk-git' 'eiskaltdcpp-qt-git' 'eiskaltdcpp-daemon-git' 'eiskaltdcpp-core-git' 'eiskaltdcpp-data-git')
10 arch=('i686' 'x86_64')
11 url="http://code.google.com/p/eiskaltdc/"
12 conflicts=('eiskaltdcpp')
14 _gitroot="git://github.com/negativ/eiskaltdcpp.git"
18 if [ -d $_gitname ]; then
19 cd $_gitname && git pull origin
20 msg "The local files are updated."
22 git clone --depth=1 $_gitroot $_gitname
24 msg "GIT checkout done or server timeout"
25 msg "Starting make..."
29 cmake ../$_gitname -DENABLE_STACKTRACE=ON -DCMAKE_INSTALL_PREFIX=/usr -DUSE_MINIUPNP=ON -DLOCAL_MINIUPNP=ON -DPERL_REGEX=ON -DLOCAL_BOOST=ON -DLUA_SCRIPT=ON -DWITH_LUASCRIPTS=ON -DWITH_DHT=ON -DUSE_QT=OFF
33 #package_eiskaltdcpp-git() {
34 #depends=('qt' 'gtk2' 'libnotify' 'lua' 'libidn' 'pcre' 'bzip2')
35 #optdepends=('aspell: spellchecking'
36 #'qtscriptgenerator: need for qtscript'
37 #'php: needed for some optionŠ°l scripts')
38 #pkgdesc="DC and ADC client based on dcpp core"
39 #install=$_name.install
41 #cmake ../$_gitname -DUSE_JS=ON -DUSE_QT=ON -DUSE_GTK=ON -DNO_UI_DAEMON=ON
42 #make DESTDIR=$pkgdir install
45 package_eiskaltdcpp-gtk-git() {
46 depends=('gtk2' 'libnotify' 'desktop-file-utils' 'eiskaltdcpp-core-git' 'eiskaltdcpp-data-git')
47 pkgdesc="EiskaltDC++: Gtk2-based DC and ADC client based on dcpp core"
48 conflicts=('eiskaltdcpp-gtk' 'eiskaltdcpp')
49 provides=('eiskaltdcpp-gtk')
50 install=$_name.install
52 cmake ../$_gitname -DUSE_GTK=ON
54 make -C eiskaltdcpp-gtk DESTDIR=$pkgdir install
57 package_eiskaltdcpp-qt-git() {
58 depends=('qt' 'eiskaltdcpp-core-git' 'eiskaltdcpp-data-git')
59 optdepends=('aspell: spellchecking'
60 'qtscriptgenerator: need for qtscript')
61 pkgdesc="EiskaltDC++: Qt4-based DC and ADC client based on dcpp core"
62 conflicts=('eiskaltdcpp-qt' 'eiskaltdcpp')
63 provides=('eiskaltdcpp-qt')
64 install=$_name.install
66 cmake ../$_gitname -DUSE_JS=ON -DUSE_QT=ON
68 make -C eiskaltdcpp-qt DESTDIR=$pkgdir install
71 package_eiskaltdcpp-cli-git() {
72 depends=('eiskaltdcpp-daemon-git' 'eiskaltdcpp-data-git')
73 pkgdesc="EiskaltDC++ cli interface for daemon with xmlrpc"
75 make -C eiskaltdcpp-cli DESTDIR=$pkgdir install clean
77 package_eiskaltdcpp-daemon-git() {
78 depends=('eiskaltdcpp-core-git' 'eiskaltdcpp-data-git' 'gcc-libs')
79 pkgdesc="EiskaltDC++ Daemon"
80 conflicts=('eiskaltdcpp-daemon' 'eiskaltdcpp')
81 provides=('eiskaltdcpp-daemon')
83 cmake ../$_gitname -DNO_UI_DAEMON=ON -DJSONRPC_DAEMON=ON
84 make -C eiskaltdcpp-daemon DESTDIR=$pkgdir install
87 package_eiskaltdcpp-core-git() {
88 depends=('bzip2' 'openssl' 'lua' 'libidn' 'pcre')
89 pkgdesc="EiskaltDC++ Core"
90 conflicts=('eiskaltdcpp-core' 'eiskaltdcpp')
91 provides=('eiskaltdcpp-core')
94 make -C dcpp DESTDIR=$pkgdir install
97 package_eiskaltdcpp-data-git() {
99 depends=('sh' 'bash' 'hicolor-icon-theme')
100 optdepends=('php: needed for some optionŠ°l scripts')
101 conflicts=('eiskaltdcpp-data' 'eiskaltdcpp')
102 provides=('eiskaltdcpp-data')
103 install=$_name.install
104 pkgdesc="EiskaltDC++ Data files"
106 make -C data DESTDIR=$pkgdir install
108 pkgdesc="DC and ADC client based on dcpp core"
109 depends=('qt' 'libnotify' 'bzip2' 'pcre' 'lua' 'libidn' 'gtk2')