net-im/purple-xmpp-http-upload: initial import of scm version

This commit is contained in:
Julian Ospald 2020-01-28 03:59:20 +01:00
parent 01be3c84ea
commit aa95a77efe
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 32 additions and 0 deletions

View File

@ -20,6 +20,7 @@
net-im/gajim-omemo[~scm] net-im/gajim-omemo[~scm]
net-im/lurch[~scm] net-im/lurch[~scm]
net-im/pidgin-opensteamworks[~scm] net-im/pidgin-opensteamworks[~scm]
net-im/purple-xmpp-http-upload[~scm]
net-misc/remmina[~scm] net-misc/remmina[~scm]
net-misc/trickle[~scm] net-misc/trickle[~scm]
sys-apps/fd[~scm] sys-apps/fd[~scm]

View File

@ -0,0 +1,31 @@
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
require github [ user='Junker' ]
SUMMARY="HTTP File Upload plugin for libpurple (XMPP Protocol)"
LICENCES="GPL-3"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""
DEPENDENCIES="
build:
virtual/pkg-config
build+run:
net-im/pidgin
"
BUGS_TO="hasufell@posteo.de"
src_prepare() {
default
# https://github.com/Junker/purple-xmpp-http-upload/pull/14
edo sed -i -e \
"s/pkg-config/$(exhost --tool-prefix)pkg-config/" \
makefile
export CFLAGS="${CFLAGS} -fPIC"
export LDFLAGS="${LDFLAGS} -ldl -lm -ljabber"
}