summaryrefslogtreecommitdiffstats
path: root/chat-im
diff options
context:
space:
mode:
authorPavel Vinogradov2017-04-09 23:48:24 -0400
committerPavel Vinogradov2017-04-09 23:48:24 -0400
commit7266e6c625451833b08aa380d39d282ac2f6208f (patch)
tree634cbd015845e17b9b868777d07f148019bef41f /chat-im
parent8a25b3de92a241219018e2daab0a4aa8927edb6b (diff)
chat-im/Purple-facebook: new spell, Facebook protocol plugin for libpurple
Diffstat (limited to 'chat-im')
-rwxr-xr-xchat-im/purple-facebook/DEPENDS6
-rwxr-xr-xchat-im/purple-facebook/DETAILS18
-rw-r--r--chat-im/purple-facebook/HISTORY3
-rwxr-xr-xchat-im/purple-facebook/PRE_BUILD21
4 files changed, 48 insertions, 0 deletions
diff --git a/chat-im/purple-facebook/DEPENDS b/chat-im/purple-facebook/DEPENDS
new file mode 100755
index 0000000000..c8a1fef067
--- /dev/null
+++ b/chat-im/purple-facebook/DEPENDS
@@ -0,0 +1,6 @@
+depends autoconf &&
+depends autpmake &&
+depends json-glib &&
+depends mercurial &&
+depends pkgconfig &&
+depends zlib
diff --git a/chat-im/purple-facebook/DETAILS b/chat-im/purple-facebook/DETAILS
new file mode 100755
index 0000000000..47535e0f91
--- /dev/null
+++ b/chat-im/purple-facebook/DETAILS
@@ -0,0 +1,18 @@
+ SPELL="purple-facebook"
+ VERSION="0.9.3-c9b74a765767"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ SOURCE_URL="https://github.com/dequis/${SPELL}/archive/v${VERSION}.tar.gz"
+ SOURCE_HASH="sha512:80c90d10af6119cf87216352f781d18263a3e53576a12f222d292061e7fcf5a6ef0c96b4981cdf2209a3ffe4c5c682ea191fb742ef9e1349c19e5d1643d08e34"
+ SOURCE2="pidgin-mercurial.tar.bz2"
+ SOURCE2_URL[0]="hg_http://bitbucket.org/pidgin/main:pidgin-mercurial:${VERSION##*-}"
+FORCE_DOWNLOAD[2]="on"
+ SOURCE2_IGNORE="volatile"
+ WEB_SITE="https://github.com/dequis/purple-facebook/"
+ ENTERED="20170409"
+ LICENSE[0]="GPL"
+ SHORT="Facebook protocol plugin for libpurple"
+cat << EOF
+Purple Facebook implements the Facebook Messenger protocol into pidgin, finch,
+and libpurple.
+EOF
diff --git a/chat-im/purple-facebook/HISTORY b/chat-im/purple-facebook/HISTORY
new file mode 100644
index 0000000000..d34da745c4
--- /dev/null
+++ b/chat-im/purple-facebook/HISTORY
@@ -0,0 +1,3 @@
+2017-04-09 Pavel Vinogradov <public@sourcemage.org>
+ * DEPENDS, DETAILS, PRE_BUILD: spell created
+
diff --git a/chat-im/purple-facebook/PRE_BUILD b/chat-im/purple-facebook/PRE_BUILD
new file mode 100755
index 0000000000..37969905da
--- /dev/null
+++ b/chat-im/purple-facebook/PRE_BUILD
@@ -0,0 +1,21 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+mkdir -p m4
+
+unpack_file '2' &&
+
+rm -rf pidgin &&
+sed -i "/purple-socket/d" MANIFEST_PIDGIN &&
+for FILE in $(cat MANIFEST_PIDGIN); do
+ mkdir -p $(dirname "pidgin/${FILE}") &&
+ cp "pidgin-mercurial/${FILE}" "pidgin/${FILE}"
+done &&
+touch $(cat MANIFEST_VOIDS) &&
+cd pidgin &&
+local patchesdir="${SOURCE_DIRECTORY}/patches" &&
+for patchfile in $(ls -1 ${patchesdir}); do
+ patch -p1 -i "${patchesdir}/${patchfile}"
+done &&
+cd "${SOURCE_DIRECTORY}" &&
+
+autoreconf --verbose --force --install