New package: libpurple-telegram-1.2.5

This commit is contained in:
John Regan 2016-02-05 17:02:07 -06:00
parent 80126888e0
commit da2d3d5c12
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,14 @@
diff --git tgl/Makefile.in tgl/Makefile.in
index f8b5154..2b3e6a9 100644
--- tgl/Makefile.in
+++ tgl/Makefile.in
@@ -4,7 +4,7 @@ CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@ @OPENSSL_LDFLAGS@
CPPFLAGS=@CPPFLAGS@ @OPENSSL_INCLUDES@
DEFS=@DEFS@
-COMPILE_FLAGS=${CFLAGS} ${CPFLAGS} ${CPPFLAGS} ${DEFS} -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC
+COMPILE_FLAGS=${CFLAGS} ${CPFLAGS} ${CPPFLAGS} ${DEFS} -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC
EXTRA_LIBS=@LIBS@ @EXTRA_LIBS@ @OPENSSL_LIBS@
LOCAL_LDFLAGS=-rdynamic -ggdb ${EXTRA_LIBS}

View file

@ -0,0 +1,26 @@
# Template file for 'libpurple-telegram'
pkgname="libpurple-telegram"
version="1.2.5"
revision=1
build_style=gnu-configure
hostmakedepends="git git-perl pkg-config"
makedepends="libpurple-devel libglib-devel libwebp-devel libgcrypt-devel"
short_desc="A Telegram plugin for libpurple"
maintainer="John Regan <john@jrjrtech.com>"
license="GPL-2"
homepage="https://github.com/majn/telegram-purple"
wrksrc="telegram-purple-${version}"
# This package builds and runs some tools as
# part of its build process, making cross-compilation
# difficult.
# TODO fix cross-compilation
nocross="yes"
do_fetch() {
git clone "${homepage}.git" "${wrksrc}"
cd "${wrksrc}"
git checkout "v${version}"
git submodule sync
git submodule update --init --recursive
}