From 606a2069e035c1b365709da052f4e4da7fd32630 Mon Sep 17 00:00:00 2001 From: jbu Date: Tue, 7 Jul 2015 08:41:13 +0200 Subject: [PATCH] New package: libgadu-1.12.1 --- common/shlibs | 1 + srcpkgs/libgadu-devel | 1 + srcpkgs/libgadu/patches/musl-sys_types.h | 10 +++++++++ srcpkgs/libgadu/template | 26 ++++++++++++++++++++++++ 4 files changed, 38 insertions(+) create mode 120000 srcpkgs/libgadu-devel create mode 100644 srcpkgs/libgadu/patches/musl-sys_types.h create mode 100644 srcpkgs/libgadu/template diff --git a/common/shlibs b/common/shlibs index 9c221c887e6..3c55f563ff4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2077,3 +2077,4 @@ libtidy5.so.4 libtidy5-4.9.30_1 libSDL2_gfx-1.0.so.0 SDL2_gfx-1.0.1_1 libQupZilla.so.1 qupzilla-1.8.6_1 libinjeqt.so.0 injeqt-1.0.1_1 +libgadu.so.3 libgadu-1.12.1_1 diff --git a/srcpkgs/libgadu-devel b/srcpkgs/libgadu-devel new file mode 120000 index 00000000000..0180692bc6b --- /dev/null +++ b/srcpkgs/libgadu-devel @@ -0,0 +1 @@ +libgadu \ No newline at end of file diff --git a/srcpkgs/libgadu/patches/musl-sys_types.h b/srcpkgs/libgadu/patches/musl-sys_types.h new file mode 100644 index 00000000000..db6650b098b --- /dev/null +++ b/srcpkgs/libgadu/patches/musl-sys_types.h @@ -0,0 +1,10 @@ +--- test/manual/lib/base64.c 2014-12-20 21:42:04.000000000 +0100 ++++ test/manual/lib/base64.c 2015-07-07 09:02:03.591897875 +0200 +@@ -18,6 +18,7 @@ + + #include + #include ++#include + + #include "base64.h" + #include "config.h" diff --git a/srcpkgs/libgadu/template b/srcpkgs/libgadu/template new file mode 100644 index 00000000000..6f6798a7940 --- /dev/null +++ b/srcpkgs/libgadu/template @@ -0,0 +1,26 @@ +# Template file for 'libgadu' +pkgname=libgadu +version=1.12.1 +revision=1 +build_style=gnu-configure +configure_args="--with-c99-vsnprintf" +hostmakedepends="pkg-config perl" +makedepends="gnutls-devel libcurl-devel expat-devel libxml2-devel zlib-devel" +depends="perl" +short_desc="Gadu-Gadu instant messaging protocol library" +maintainer="Jürgen Buchüller " +license="LGPL-2.1" +homepage="https://www.wasilczyk.pl/en/projects/libgadu/" +distfiles="https://github.com/wojtekka/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz" +checksum=a2244074a89b587ba545b5d87512d6eeda941fec4a839b373712de93308d5386 + +libgadu-devel_package() { + depends="${sourcepkg}>=${version}_${revsision}" + short_desc=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}