1 # Contributor: dhamp <dhamp@ya.ru>
9 #('eiskaltdcpp' 'eiskaltdcpp-gtk' 'eiskaltdcpp-qt' 'eiskaltdcpp-common')
13 arch=('i686' 'x86_64')
14 depends=('libnotify' 'bzip2' 'pcre' 'lua' 'libidn' 'gtk3')
15 optdepends=('aspell: spellchecking'
16 'php: needed for some optionŠ°l scripts')
17 pkgdesc="A GTK+ 3 only (!) version of DC and ADC client based on dcpp core"
18 url="http://code.google.com/p/eiskaltdc/"
19 makedepends=('gcc' 'pkgconfig' 'cmake' 'gettext')
20 conflicts=('eiskaltdcpp-git' 'eiskaltdcpp' 'eiskaltdcpp-gtk')
21 provides=('eiskaltdcpp-gtk3')
23 install=$_name-$_ui.install
24 #_patchname=fix-for-build-beta2.diff
25 source=(http://eiskaltdc.googlecode.com/files/${_name}-${_tarver}${_prerel}.tar.xz)
29 #patch -Np1 -i ${srcdir}/${_patchname}
30 rm -rf $srcdir/$_name-$_tarver$_prerel/build
31 mkdir $srcdir/$_name-$_tarver$_prerel/build
32 cd $srcdir/$_name-$_tarver$_prerel/build
33 cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DUSE_IDNA=ON -DUSE_LIBGNOME2=ON -DLOCAL_MINIUPNP=ON -DUSE_GTK3=ON -DUSE_QT=NO -DLOCAL_BOOST=ON -DLUA_SCRIPT=ON -DWITH_LUASCRIPTS=ON -DWITH_DHT=ON -DLinguas="en ru" -DCMAKE_BUILD_TYPE="Release"
35 make DESTDIR=$pkgdir install
36 rm -rf $srcdir/$_name-$_tarver$_prerel/build
38 md5sums=('062f8b7efe6cf8940c44a0242facefbb')
39 sha1sums=('25d5cd1c7130a2e76da39c479804615bdcf6f878')