diff --git a/metadata/repository_mask.conf b/metadata/repository_mask.conf index 292bc43..88d92ed 100644 --- a/metadata/repository_mask.conf +++ b/metadata/repository_mask.conf @@ -20,6 +20,7 @@ net-im/gajim-omemo[~scm] net-im/lurch[~scm] net-im/pidgin-opensteamworks[~scm] + net-im/purple-xmpp-http-upload[~scm] net-misc/remmina[~scm] net-misc/trickle[~scm] sys-apps/fd[~scm] diff --git a/packages/net-im/purple-xmpp-http-upload/purple-xmpp-http-upload-scm.exheres-0 b/packages/net-im/purple-xmpp-http-upload/purple-xmpp-http-upload-scm.exheres-0 new file mode 100644 index 0000000..d8aa001 --- /dev/null +++ b/packages/net-im/purple-xmpp-http-upload/purple-xmpp-http-upload-scm.exheres-0 @@ -0,0 +1,31 @@ +# Copyright 2020 Julian Ospald +# 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" +}