diff options
author | root <root@rshg054.dnsready.net> | 2012-12-22 02:49:14 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-22 02:49:14 -0800 |
commit | 0f92922979ec1f52c580079a4a49a7dc84af4ca1 (patch) | |
tree | fe2e215e3c2e3b9f297f1196511be57fcb5701d8 /community/pidgin-lwqq | |
parent | ebf350f32a8352abbd1bb4a8a49ed750bb23f285 (diff) |
Sat Dec 22 02:47:27 PST 2012
Diffstat (limited to 'community/pidgin-lwqq')
-rw-r--r-- | community/pidgin-lwqq/0.1a_fix.patch | 12 | ||||
-rw-r--r-- | community/pidgin-lwqq/PKGBUILD | 38 | ||||
-rw-r--r-- | community/pidgin-lwqq/pidgin-lwqq.install | 11 |
3 files changed, 61 insertions, 0 deletions
diff --git a/community/pidgin-lwqq/0.1a_fix.patch b/community/pidgin-lwqq/0.1a_fix.patch new file mode 100644 index 000000000..63f2adfd0 --- /dev/null +++ b/community/pidgin-lwqq/0.1a_fix.patch @@ -0,0 +1,12 @@ +--- a/src/liblwqq/http.c ++++ b/src/liblwqq/http.c +@@ -515,7 +515,9 @@ static int multi_timer_cb(CURLM *multi, long timeout_ms, void *userp) + } + if(g->still_running){ + lwqq_log(LOG_NOTICE,"still running:%d,timeout:%ld\n",g->still_running,timeout_ms); ++ #if USE_DEBUG + if(g->still_running>1)lwqq_gdb_whats_running(); ++ #endif + } + //close time clock + //this should always return 0 this is curl!! diff --git a/community/pidgin-lwqq/PKGBUILD b/community/pidgin-lwqq/PKGBUILD new file mode 100644 index 000000000..c6280985b --- /dev/null +++ b/community/pidgin-lwqq/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 81454 2012-12-21 09:33:44Z fyan $ +# Maintainer: Felix Yan <felixonmars@gmail.com> + +pkgname=pidgin-lwqq +pkgver=0.1a +_pkgver=0.1-a +pkgrel=2 +pkgdesc="A pidgin plugin based on lwqq, a excellent safe useful library for webqq protocol" +arch=('i686' 'x86_64') +url="https://github.com/xiehuc/pidgin-lwqq" +license=('GPL3') +depends=('libpurple' 'curl' 'libev' 'hicolor-icon-theme') +optdepends=('telepathy-haze: Empathy plugin support') +makedepends=('git' 'cmake') +install=$pkgname.install +source=("https://github.com/xiehuc/$pkgname/archive/${_pkgver}.tar.gz" + 0.1a_fix.patch) + +build() +{ + cd "${srcdir}/$pkgname-${_pkgver}" + patch -Np1 -i "$srcdir/0.1a_fix.patch" + + rm -rf build + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_LIBEV=On .. + make +} + +package() +{ + cd "$srcdir/$pkgname-${_pkgver}/build" + make DESTDIR="${pkgdir}" install +} +md5sums=('d0efece1c2b2301f49c68f8a2b7bae95' + '18baf836e3a1198cdd9dbed287bf6609') diff --git a/community/pidgin-lwqq/pidgin-lwqq.install b/community/pidgin-lwqq/pidgin-lwqq.install new file mode 100644 index 000000000..c0797237a --- /dev/null +++ b/community/pidgin-lwqq/pidgin-lwqq.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |