1 # Contributor: nixtrian <nixtrian@gmail.com>
4 pkgbase=$_name-2.2.x-git
5 pkgname=$_name-2.2.x-git
6 true && pkgname=("eiskaltdcpp-gtk-2.2.x-git" "eiskaltdcpp-qt-2.2.x-git" "eiskaltdcpp-cli-2.2.x-git" "eiskaltdcpp-daemon-2.2.x-git" "eiskaltdcpp-core-2.2.x-git" "eiskaltdcpp-data-2.2.x-git" )
7 #pkgname="eiskaltdcpp-cli-2.2.x-git"
11 arch=('i686' 'x86_64')
12 url="http://code.google.com/p/eiskaltdc/"
13 conflicts=('eiskaltdcpp' 'eiskaltdcpp-git')
15 _gitroot="git://github.com/negativ/eiskaltdcpp.git"
19 if [ -d $_gitname ]; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone --depth=1 $_gitroot $_gitname --branch=$_branch
25 msg "GIT checkout done or server timeout"
26 msg "Starting make..."
30 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
34 #package_eiskaltdcpp-2.2.x-git() {
35 #depends=('qt' 'gtk2' 'libnotify' 'lua' 'libidn' 'pcre' 'bzip2')
36 #optdepends=('aspell: spellchecking'
37 #'qtscriptgenerator: need for qtscript'
38 #'php: needed for some optionŠ°l scripts')
39 #pkgdesc="DC and ADC client based on dcpp core"
40 #install=$_name.install
42 #cmake ../$_gitname -DUSE_JS=ON -DUSE_QT=ON -DUSE_GTK=ON -DNO_UI_DAEMON=ON
43 #make DESTDIR=$pkgdir install
46 package_eiskaltdcpp-gtk-2.2.x-git() {
47 depends=('gtk2' 'libnotify' 'desktop-file-utils' 'eiskaltdcpp-core-2.2.x-git' 'eiskaltdcpp-data-2.2.x-git')
48 pkgdesc="EiskaltDC++: Gtk2-based DC and ADC client based on dcpp core"
49 conflicts=('eiskaltdcpp-gtk' 'eiskaltdcpp')
50 provides=('eiskaltdcpp-gtk')
51 install=$_name.install
53 cmake ../$_gitname -DUSE_GTK=ON
55 make -C eiskaltdcpp-gtk DESTDIR=$pkgdir install
58 package_eiskaltdcpp-qt-2.2.x-git() {
59 depends=('qt' 'eiskaltdcpp-core-2.2.x-git' 'eiskaltdcpp-data-2.2.x-git')
60 optdepends=('aspell: spellchecking'
61 'qtscriptgenerator: need for qtscript')
62 pkgdesc="EiskaltDC++: Qt4-based DC and ADC client based on dcpp core"
63 conflicts=('eiskaltdcpp-qt' 'eiskaltdcpp')
64 provides=('eiskaltdcpp-qt')
65 install=$_name.install
67 cmake ../$_gitname -DUSE_JS=ON -DUSE_QT=ON
69 make -C eiskaltdcpp-qt DESTDIR=$pkgdir install
72 package_eiskaltdcpp-cli-2.2.x-git() {
73 depends=('eiskaltdcpp-daemon-2.2.x-git' 'eiskaltdcpp-data-2.2.x-git')
74 pkgdesc="EiskaltDC++ cli interface for daemon with xmlrpc"
76 cmake ../$_gitname -DUSE_CLI_JSONRPC=ON
77 make -C eiskaltdcpp-cli DESTDIR=$pkgdir install clean
79 package_eiskaltdcpp-daemon-2.2.x-git() {
80 depends=('eiskaltdcpp-core-2.2.x-git' 'eiskaltdcpp-data-2.2.x-git' 'gcc-libs')
81 pkgdesc="EiskaltDC++ Daemon"
82 conflicts=('eiskaltdcpp-daemon' 'eiskaltdcpp')
83 provides=('eiskaltdcpp-daemon')
85 cmake ../$_gitname -DNO_UI_DAEMON=ON -DJSONRPC_DAEMON=ON
86 make -C eiskaltdcpp-daemon DESTDIR=$pkgdir install
89 package_eiskaltdcpp-core-2.2.x-git() {
90 depends=('bzip2' 'openssl' 'lua' 'libidn' 'pcre')
91 pkgdesc="EiskaltDC++ Core"
92 conflicts=('eiskaltdcpp-core' 'eiskaltdcpp')
93 provides=('eiskaltdcpp-core')
96 make -C dcpp DESTDIR=$pkgdir install
99 package_eiskaltdcpp-data-2.2.x-git() {
101 depends=('sh' 'bash' 'hicolor-icon-theme')
102 optdepends=('php: needed for some optionŠ°l scripts')
103 conflicts=('eiskaltdcpp-data' 'eiskaltdcpp')
104 provides=('eiskaltdcpp-data')
105 install=$_name.install
106 pkgdesc="EiskaltDC++ Data files"
108 make -C data DESTDIR=$pkgdir install
110 pkgdesc="DC and ADC client based on dcpp core (2.2.x branch) (current development branch)"
111 depends=('qt' 'libnotify' 'bzip2' 'pcre' 'lua' 'libidn' 'gtk2')