wok-next diff xchat/receipt @ rev 20679
Up acpid (2.0.28), apr-util (1.6.1), apr (1.6.3), iso-codes (3.77), jasper (2.0.14), lcms2 (2.9), libassuan (2.5.1), libatomic_ops (7.6.2), libbytesize (1.2), libgcrypt (1.8.2), libgsf (1.14.42), libgudev (232), libgusb (0.3.0), libtasn1 (4.13); add libqmi, modem-manager.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 17 01:08:40 2018 +0300 (2018-05-17) |
parents | 10df65db91ad |
children | f48456621a9d |
line diff
1.1 --- a/xchat/receipt Thu Apr 19 13:15:41 2018 +0300 1.2 +++ b/xchat/receipt Thu May 17 01:08:40 2018 +0300 1.3 @@ -11,21 +11,31 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.5 WGET_URL="http://www.xchat.org/files/source/${VERSION%.*}/$TARBALL" 1.6 1.7 -BUILD_DEPENDS="gtk+-dev dbus-dev openssl-dev shared-mime-info \ 1.8 +BUILD_DEPENDS="gtk+-dev dbus-dev openssl10-dev shared-mime-info \ 1.9 gettext-tools perl-dev" 1.10 +SPLIT="xchat-plugin:plugin" 1.11 1.12 compile_rules() { 1.13 + export CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0" 1.14 + export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0 -lgmodule-2.0" 1.15 + 1.16 sed -i -e 's|glib/gslist.h|glib.h|' -e 's|glib/giochannel.h|glib.h|' \ 1.17 -e 's|glib/glist.h|glib.h|' -e 's|glib/gstrfuncs.h|glib.h|' \ 1.18 -e 's|glib/gutils.h|glib.h|' src/common/xchat.h 1.19 sed -i 's|glib/ghash.h|glib.h|' src/common/servlist.c src/common/text.c 1.20 sed -i 's|glib/gmarkup.h|glib.h|' src/common/util.c 1.21 1.22 + case $SET in 1.23 + '') SET_ARGS='--disable-plugin';; 1.24 + plugin) SET_ARGS='';; 1.25 + esac 1.26 + 1.27 ./configure \ 1.28 - --disable-plugin \ 1.29 --disable-tcl \ 1.30 --enable-spell=static \ 1.31 --enable-ipv6 \ 1.32 + --enable-openssl=/usr/lib/openssl-1.0 \ 1.33 + $SET_ARGS \ 1.34 $CONFIGURE_ARGS && 1.35 fix libtool && 1.36 make && 1.37 @@ -33,6 +43,16 @@ 1.38 } 1.39 1.40 genpkg_rules() { 1.41 - copy @std 1.42 - DEPENDS="gtk+ dbus openssl gettext-base dbus-glib xorg-libXdamage" 1.43 + case $PACKAGE in 1.44 + xchat) 1.45 + copy @std 1.46 + DEPENDS="gdk-pixbuf glib gtk+ openssl10 pango perl-core xorg-libX11" 1.47 + ;; 1.48 + xchat-plugin) 1.49 + copy @std 1.50 + DEPENDS="gdk-pixbuf glib gtk+ openssl10 pango perl-core xorg-libX11" 1.51 + PROVIDE="xchat" 1.52 + CAT="network|with plugins support" 1.53 + ;; 1.54 + esac 1.55 }