[arch-commits] Commit in amule/trunk (PKGBUILD aMule-2.2.6-wxcasframe.patch)

Giovanni Scafora giovanni at archlinux.org
Sat Oct 2 11:37:43 UTC 2010


    Date: Saturday, October 2, 2010 @ 07:37:42
  Author: giovanni
Revision: 92962

upgpkg: amule 2.2.6-3
Added UPnP support, added patch to fix build issues

Added:
  amule/trunk/aMule-2.2.6-wxcasframe.patch
Modified:
  amule/trunk/PKGBUILD

------------------------------+
 PKGBUILD                     |   16 ++++++++++------
 aMule-2.2.6-wxcasframe.patch |   16 ++++++++++++++++
 2 files changed, 26 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-02 09:56:04 UTC (rev 92961)
+++ PKGBUILD	2010-10-02 11:37:42 UTC (rev 92962)
@@ -4,18 +4,21 @@
 
 pkgname=amule
 pkgver=2.2.6
-pkgrel=2
+pkgrel=3
 pkgdesc="An eMule-like client for ed2k p2p network"
 arch=('i686' 'x86_64')
 url="http://www.amule.org"
 license=('GPL')
-depends=('wxgtk>=2.8.10.1' 'gd>=2.0.35' 'geoip')
+depends=('wxgtk>=2.8.10.1' 'gd>=2.0.35' 'geoip' 'libupnp')
 makedepends=('crypto++')
-source=(http://downloads.sourceforge.net/project/${pkgname}/aMule/${pkgver}/aMule-${pkgver}.tar.bz2)
-md5sums=('530d9b48187e36f78fc21bb19e94326d')
+source=(http://downloads.sourceforge.net/project/${pkgname}/aMule/${pkgver}/aMule-${pkgver}.tar.bz2
+        aMule-2.2.6-wxcasframe.patch)
+md5sums=('530d9b48187e36f78fc21bb19e94326d'
+         'ad3ddec634c0dcdde1d67de927a4d1ed')
 
 build() {
-  cd ${srcdir}/aMule-${pkgver}
+  cd "${srcdir}/aMule-${pkgver}"
+  patch -Np0 -i "${srcdir}/aMule-2.2.6-wxcasframe.patch" || return 1
 
   ./configure --prefix=/usr \
               --mandir=/usr/share/man \
@@ -30,7 +33,8 @@
               --disable-debug \
               --enable-optimize \
 	      --enable-ccache \
-	      --enable-geoip
+	      --enable-geoip \
+	      --enable-upnp
 
   make || return 1
   make DESTDIR=${pkgdir}/ install || return 1

Added: aMule-2.2.6-wxcasframe.patch
===================================================================
--- aMule-2.2.6-wxcasframe.patch	                        (rev 0)
+++ aMule-2.2.6-wxcasframe.patch	2010-10-02 11:37:42 UTC (rev 92962)
@@ -0,0 +1,16 @@
+--- src/utils/wxCas/src/wxcasframe.cpp	2010-10-02 13:01:40.000000000 +0200
++++ src/utils/wxCas/src/wxcasframe.cpp	2010-10-02 13:01:56.000000000 +0200
+@@ -285,11 +285,11 @@
+ #ifdef __WXMSW__
+ 
+ 	memdc.
+-	SetFont ( wxFont::wxFont ( 6, wxSWISS, wxNORMAL, wxBOLD ) );
++	SetFont ( wxFont ( 6, wxSWISS, wxNORMAL, wxBOLD ) );
+ #else
+ 
+ 	memdc.
+-	SetFont ( wxFont::wxFont ( 8, wxSWISS, wxNORMAL, wxBOLD ) );
++	SetFont ( wxFont ( 8, wxSWISS, wxNORMAL, wxBOLD ) );
+ #endif
+ 
+ 	memdc.




More information about the arch-commits mailing list