summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-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
5 files changed, 52 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b4f71464db..e1a864252f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-04-09 Pavel Vinogradov <public@sourcemage.org>
+ * chat-im/Purple-facebook: new spell, Facebook protocol plugin for
+ libpurple
+
2017-04-07 Vlad Glagolev <stealth@sourcemage.org>
* fonts-x11/leggie: new spell, pretty, legible 6x12, 9x18, 12x24 bitmap
font with over 1700 glyphs
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