Skip to content
Browse files

neue Datei: Manifest

	neue Datei:   skype4pidgin-9999.ebuild
  • Loading branch information...
1 parent 9e01841 commit d19852e4054d6ffbdc1ca289db694aa3a80eb4f9 @amielke committed
Showing with 64 additions and 0 deletions.
  1. +1 −0 net-im/skype4pidgin/Manifest
  2. +63 −0 net-im/skype4pidgin/skype4pidgin-9999.ebuild
View
1 net-im/skype4pidgin/Manifest
@@ -0,0 +1 @@
+EBUILD skype4pidgin-9999.ebuild 1553 SHA256 42cd8f42ad864cc6eb92aaf3225d35513ab2d2622650d134f22817a53d122569 SHA512 3c96192220054bb117df8b220b6a2ff46f36bb5388e3fe11f7aba8608d748d43bd78267f2ec7019c4cea7b690458c0073bb49323fc03c20c7f959002307a5a32 WHIRLPOOL a8c56bdcb425b06b6181c8ed9c03415a20f2a41aadf12db79ccd3458fd24ed48436bd380cd142e14930cea8b562fc459750736b88e27c5b3496c076b23afc1bb
View
63 net-im/skype4pidgin/skype4pidgin-9999.ebuild
@@ -0,0 +1,63 @@
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit subversion
+
+DESCRIPTION="Skype API PLugin for Pidgin"
+HOMEPAGE="http://myjobspace.co.nz/images/pidgin/"
+ESVN_REPO_URI="http://skype4pidgin.googlecode.com/svn/trunk/"
+LICENSE="GPL-2 CCPL-Attribution-ShareAlike-NonCommercial-3.0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dbus nls"
+SLOT="0"
+SRC_URI=""
+
+RDEPEND="net-im/pidgin
+ dbus? ( >sys-apps/dbus-1.0 )
+ net-im/skype"
+
+DEPEND="${RDEPEND}
+ >dev-libs/glib-2.0"
+
+src_compile() {
+ GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
+ -I/usr/include"
+ LIBPURPLE_CFLAGS="-I/usr/include/libpurple -DPURPLE_PLUGINS"
+
+ if use nls; then
+ LIBPURPLE_CFLAGS="${LIBPURPLE_CFLAGS} -DENABLE_NLS"
+ fi
+
+ CFLAGS="${CFLAGS} ${LIBPURPLE_CFLAGS} -Wall -pthread ${GLIB_CFLAGS} -I.
+ -shared -fPIC -DPIC"
+
+ if use amd64; then
+ CFLAGS="${CFLAGS} -m32 -m64"
+ fi
+
+ cc ${CFLAGS} -o libskype.so libskype.c || die 'Error compiling library!'
+ cc ${CFLAGS} -DSKYPENET -o libskypenet.so libskype.c || die 'Error compiling library!'
+
+ if use dbus; then
+ DBUS_CFLAGS="-DSKYPE_DBUS -I/usr/include/dbus-1.0
+ -I/usr/lib/dbus-1.0/include -o libskype_dbus.so"
+ cc ${CFLAGS} ${DBUS_CFLAGS} -o libskype_dbus.so libskype.c || die 'Error compiling library!'
+ fi
+}
+
+src_install() {
+ insinto /usr/lib/purple-2
+ doins "libskype.so"
+ doins "libskypenet.so"
+ if use dbus; then
+ doins "libskype_dbus.so"
+ fi
+
+ insinto /usr/share/pixmaps/pidgin/emotes/default-skype
+ doins "theme"
+
+ cd icons
+ insinto /usr/share/pixmaps/pidgin/protocols/
+ doins -r ??
+}
+

0 comments on commit d19852e

Please sign in to comment.
Something went wrong with that request. Please try again.