aboutsummaryrefslogtreecommitdiff
path: root/network/pidgin
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-16 18:48:36 +0200
committerDeposite Pirate2018-09-16 18:48:36 +0200
commitd150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch)
treece5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /network/pidgin
parentf29d3519ce073ec30f99754d93304324f7f26d65 (diff)
Add ports.
Diffstat (limited to 'network/pidgin')
-rw-r--r--network/pidgin/pbar-0.3-makefile.patch.xzbin0 -> 396 bytes
-rw-r--r--network/pidgin/pidgin-nudge-20101006-makefile.patch.xzbin0 -> 696 bytes
-rwxr-xr-xnetwork/pidgin/pidgin.build175
3 files changed, 175 insertions, 0 deletions
diff --git a/network/pidgin/pbar-0.3-makefile.patch.xz b/network/pidgin/pbar-0.3-makefile.patch.xz
new file mode 100644
index 0000000..e737aa6
--- /dev/null
+++ b/network/pidgin/pbar-0.3-makefile.patch.xz
Binary files differ
diff --git a/network/pidgin/pidgin-nudge-20101006-makefile.patch.xz b/network/pidgin/pidgin-nudge-20101006-makefile.patch.xz
new file mode 100644
index 0000000..132b862
--- /dev/null
+++ b/network/pidgin/pidgin-nudge-20101006-makefile.patch.xz
Binary files differ
diff --git a/network/pidgin/pidgin.build b/network/pidgin/pidgin.build
new file mode 100755
index 0000000..a259479
--- /dev/null
+++ b/network/pidgin/pidgin.build
@@ -0,0 +1,175 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=pidgin
+VERSION=2.10.7
+BUILD=1
+DEPENDS=('gtk+ >= 2.24.17-1' 'libxml >= 2.9.0-1' 'gnutls >= 3.1.10-1' 'gstreamer >= 1.0.6-1' 'farstream >= 0.2.2-1' 'dbus_glib >= 0.100.2-1' 'networkmanager >= 0.9.8.0-1')
+OPTDEPENDS=('libotr >= 4.0.0-1' 'libnotify >= 0.7.5-1' 'avahi >= 0.6.31-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: Pidgin (multi-protocol chat client)
+${NAME}:
+${NAME}: Pidgin is an instant message client that supports many protocols,
+${NAME}: including MSN, AIM, Yahoo!, Jabber, ICQ, IRC, Groupwise, SILC,
+${NAME}: Gadu-Gadu and Zephyr.
+${NAME}:
+${NAME}: Homepage: http://pidgin.im
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat > ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+if [ -x usr/bin/gtk-update-icon-cache ]; then
+ usr/bin/gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+fi
+EOF
+
+# Sources
+
+export PKG_CONFIG_PATH="${PKG}${SYS_DIR[share]}/pkgconfig"
+export PIDGIN_INCS="-I${PKG}${SYS_DIR[include]}/pidgin -I${PKG}${SYS_DIR[include]}/libpurple"
+
+configure()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ ${*}
+}
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/files/Pidgin/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' $(find . -name "Makefile.in")
+sed -i 's|$(libdir)/gnt|$(libdir)/plugins/gnt|g' $(find finch -name "Makefile.in")
+sed -i 's|$(libdir)/finch|$(libdir)/plugins/finch|g' $(find finch -name "Makefile.in")
+sed -i 's|$(libdir)/pidgin|$(libdir)/plugins/pidgin|g' $(find pidgin -name "Makefile.in")
+sed -i 's|${libdir}/pidgin|${libdir}/plugins/pidgin|g' $(find pidgin -name "*.pc.in")
+sed -i 's|$(libdir)/purple-$(PURPLE_MAJOR_VERSION)|$(libdir)/plugins/purple-$(PURPLE_MAJOR_VERSION)|g' $(find libpurple -name "Makefile.in")
+sed -i 's|${libdir}/purple-@PURPLE_MAJOR_VERSION@|${libdir}/plugins/purple-@PURPLE_MAJOR_VERSION@|g' $(find libpurple -name "*.pc.in")
+configure \
+ --disable-silent-rules \
+ --disable-debug \
+ --disable-perl \
+ --disable-tcl \
+ --disable-doxygen \
+ --disable-schemas-install \
+ --disable-startup-notification \
+ --disable-meanwhile \
+ --disable-gtkspell \
+ --disable-gstreamer \
+ --disable-vv \
+ --enable-gnutls=yes \
+ --enable-cap \
+ --enable-nm \
+ --with-system-ssl-certs="${SYS_DIR[etc]}/ssl/certs"
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS COPYRIGHT doc/gtkrc-2.0
+changelog ChangeLog
+#FIXME: Finch ought to be a subpackage
+}
+
+SRCNAME[1]=${NAME}-otr
+SRCVERS[1]=4.0.0
+SRCPACK[1]=${URL[sf]}/${SRCNAME[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz
+SRCCOPY[1]="GPL2"
+
+build1()
+{
+sed -i 's|${libdir}/pidgin|${libdir}/plugins/pidgin|g' Makefile.{am,in}
+CPPFLAGS="${PIDGIN_INCS}" \
+configure
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog NEWS
+}
+
+SRCNAME[2]=${NAME}-nudge
+SRCVERS[2]=20101006
+SRCPACK[2]=${SRCNAME[2]}-${SRCVERS[2]}.tar.xz
+
+build2()
+{
+sed -i 's|$(LIBDIR)/purple-2|$(LIBDIR)/plugins/purple-2|g' Makefile
+make ${JOBS} CFLAGS="${FLAGS}" Q="" \
+ EXTRA_CFLAGS="${PIDGIN_INCS}" \
+ EXTRA_LIBS="-L${PKG}${SYS_DIR[lib]}"
+make install DESTDIR="${PKG}" LIBDIR="${SYS_DIR[lib]}"
+}
+
+SRCNAME[3]=purple-libnotify-plus
+SRCVERS[3]=20130423
+SRCPACK[3]=${SRCNAME[3]}-${SRCVERS[3]}.tar.xz
+SRCCOPY[3]="GPL3"
+
+build3()
+{
+CPPFLAGS="${PIDGIN_INCS}" \
+configure \
+ --with-purple-plugindir="${SYS_DIR[lib]}/plugins/purple-2"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+}
+
+SRCNAME[4]=pidgin-musictracker
+SRCVERS[4]=0.4.22
+SRCPACK[4]=http://${SRCNAME[4]}.googlecode.com/files/${SRCNAME[4]}-${SRCVERS[4]}.tar.bz2
+SRCCOPY[4]="GPL2"
+
+build4()
+{
+sed -i 's|$(libdir)/pidgin|$(libdir)/plugins/pidgin|g' $(find . -name "Makefile.in")
+PIDGIN_CFLAGS="${PIDGIN_INCS}" \
+configure
+make ${JOBS}
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog ChangeLog
+}
+
+SRCNAME[5]=pbar
+SRCVERS[5]=0.3
+SRCPACK[5]=${SRCNAME[5]}-${SRCVERS[5]}.tar.xz
+SRCCOPY[5]="GPL3"
+
+build5()
+{
+make ${JOBS} OPTS="${FLAGS}" \
+ EXTRA_CFLAGS="${PIDGIN_INCS}" \
+ EXTRA_LIBS="-L${PKG}${SYS_DIR[lib]} -lpurple"
+make install DESTDIR="${PKG}" PREFIX="${SYS_DIR[usr]}"
+changelog ChangeLog
+}