1 # Contributor: dhamp <dhamp@ya.ru>
8 true && pkgname=('eiskaltdcpp-gtk' 'eiskaltdcpp-qt' 'eiskaltdcpp-daemon' 'eiskaltdcpp-core' 'eiskaltdcpp-data')
12 arch=('i686' 'x86_64')
13 optdepends=('aspell: spellchecking'
14 'qtscriptgenerator: need for qtscript'
15 'php: needed for some optionаl scripts')
16 url="http://code.google.com/p/eiskaltdc/"
17 makedepends=('gcc' 'pkgconfig' 'cmake' 'gettext')
18 conflicts=('eiskaltdcpp')
19 provides=('eiskaltdcpp')
21 install=$_name.install
22 #_patchname=fix-for-build-beta2.diff
23 source=(http://eiskaltdc.googlecode.com/files/${pkgbase}-${_tarver}${_prerel}.tar.xz)
27 #patch -Np1 -i ${srcdir}/${_patchname}
28 rm -rf $srcdir/$_name-$_tarver$_prerel/build
29 mkdir $srcdir/$_name-$_tarver$_prerel/build
30 cd $srcdir/$_name-$_tarver$_prerel/build
31 cmake ../ -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
35 #package_eiskaltdcpp() {
36 #depends=('qt' 'gtk2' 'libnotify' 'lua' 'libidn' 'pcre' 'bzip2')
37 #optdepends=('aspell: spellchecking'
38 #'qtscriptgenerator: need for qtscript'
39 #'php: needed for some optionаl scripts')
40 #pkgdesc="DC and ADC client based on dcpp core"
41 #install=$_name.install
42 #cd $srcdir/$_name-$_tarver$_prerel/build
43 #cmake ../ -DUSE_JS=ON -DUSE_QT=ON -DUSE_GTK=ON -DNO_UI_DAEMON=ON
44 #make DESTDIR=$pkgdir install
47 package_eiskaltdcpp-gtk() {
48 depends=('gtk2' 'libnotify' 'desktop-file-utils' 'eiskaltdcpp-core' 'eiskaltdcpp-data')
49 pkgdesc="EiskaltDC++: Gtk2-based DC and ADC client based on dcpp core"
50 conflicts=('eiskaltdcpp-gtk' 'eiskaltdcpp')
51 provides=('eiskaltdcpp-gtk')
52 install=$_name.install
53 cd $srcdir/$_name-$_tarver$_prerel/build
54 cmake ../ -DUSE_GTK=ON
56 make -C eiskaltdcpp-gtk DESTDIR=$pkgdir install
59 package_eiskaltdcpp-qt() {
60 depends=('qt' 'eiskaltdcpp-core' 'eiskaltdcpp-data')
61 optdepends=('aspell: spellchecking'
62 'qtscriptgenerator: need for qtscript')
63 pkgdesc="EiskaltDC++: Qt4-based DC and ADC client based on dcpp core"
64 conflicts=('eiskaltdcpp-qt' 'eiskaltdcpp')
65 provides=('eiskaltdcpp-qt')
66 install=$_name.install
67 cd $srcdir/$_name-$_tarver$_prerel/build
68 cmake ../ -DUSE_JS=ON -DUSE_QT=ON
70 make -C eiskaltdcpp-qt DESTDIR=$pkgdir install
73 package_eiskaltdcpp-cli() {
74 depends=('eiskaltdcpp-daemon' 'eiskaltdcpp-data')
75 pkgdesc="EiskaltDC++ cli interface for daemon with xmlrpc"
76 cd $srcdir/$_name-$_tarver$_prerel/build
77 make -C eiskaltdcpp-cli DESTDIR=$pkgdir install clean
79 package_eiskaltdcpp-daemon() {
80 depends=('eiskaltdcpp-core' 'eiskaltdcpp-data' 'gcc-libs')
81 pkgdesc="EiskaltDC++ Daemon"
82 conflicts=('eiskaltdcpp-daemon' 'eiskaltdcpp')
83 provides=('eiskaltdcpp-daemon')
84 cd $srcdir/$_name-$_tarver$_prerel/build
85 cmake ../ -DNO_UI_DAEMON=ON -DJSONRPC_DAEMON=ON
86 make -C eiskaltdcpp-daemon DESTDIR=$pkgdir install
89 package_eiskaltdcpp-core() {
90 depends=('bzip2' 'openssl' 'lua' 'libidn' 'pcre')
91 pkgdesc="EiskaltDC++ Core"
92 conflicts=('eiskaltdcpp-core' 'eiskaltdcpp')
93 provides=('eiskaltdcpp-core')
94 cd $srcdir/$_name-$_tarver$_prerel/build
96 make -C dcpp DESTDIR=$pkgdir install
99 package_eiskaltdcpp-data() {
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"
107 cd $srcdir/$_name-$_tarver$_prerel/build
108 make -C data DESTDIR=$pkgdir install
110 pkgdesc="DC and ADC client based on dcpp core"
111 depends=('qt' 'libnotify' 'bzip2' 'pcre' 'lua' 'libidn' 'gtk2')
112 md5sums=('062f8b7efe6cf8940c44a0242facefbb')
113 sha1sums=('25d5cd1c7130a2e76da39c479804615bdcf6f878')