From c42042f42bd3fdf208dc05fa30d1ff870e46947e Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Wed, 30 Oct 2013 08:26:32 +0100
Subject: [PATCH] New package: libshout-idjc-2.3.1 required by the upcoming
 idjc update.

---
 common/shlibs                  |  1 +
 srcpkgs/libshout-idjc-devel    |  1 +
 srcpkgs/libshout-idjc/template | 34 ++++++++++++++++++++++++++++++++++
 3 files changed, 36 insertions(+)
 create mode 120000 srcpkgs/libshout-idjc-devel
 create mode 100644 srcpkgs/libshout-idjc/template

diff --git a/common/shlibs b/common/shlibs
index 82a90ecc1e..e568bb9fec 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1428,3 +1428,4 @@ libevdev.so.1 libevdev-0.4_1
 libmutter-wayland.so.0 mutter-wayland-3.10.1_1
 libgdiplus.so.0 libgdiplus-2.10.9_1
 libmonosgen-2.0.so.1 mono-3.2.3_1
+libshout-idjc.so.3 libshout-idjc-2.3.1_1
diff --git a/srcpkgs/libshout-idjc-devel b/srcpkgs/libshout-idjc-devel
new file mode 120000
index 0000000000..657bc0fcca
--- /dev/null
+++ b/srcpkgs/libshout-idjc-devel
@@ -0,0 +1 @@
+libshout-idjc
\ No newline at end of file
diff --git a/srcpkgs/libshout-idjc/template b/srcpkgs/libshout-idjc/template
new file mode 100644
index 0000000000..3f3a2107a0
--- /dev/null
+++ b/srcpkgs/libshout-idjc/template
@@ -0,0 +1,34 @@
+# Template file for 'libshout-idjc'
+pkgname=libshout-idjc
+version=2.3.1
+revision=1
+build_style=gnu-configure
+hostmakedepends="which pkg-config"
+makedepends="libvorbis-devel libogg-devel speex-devel"
+short_desc="Libshout plus some extensions for IDJC"
+maintainer="davehome <davehome@redthumb.info.tm>"
+license="LGPL-2.1"
+homepage="http://${pkgname}.sourceforge.net"
+distfiles="${SOURCEFORGE_SITE}/idjc/${pkgname}-${version}.tar.gz"
+checksum=188bed3389c43effc7427b68934f70977ce6eb505281a92d31a22deeae26ac47
+long_desc="
+ Libshout is a library for communicating with and sending data to an
+ icecast server. It handles the socket connection, the timing of the
+ data, and prevents bad data from getting to the icecast server."
+
+libshout-idjc-devel_package() {
+	depends="libogg-devel libvorbis-devel speex-devel ${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+	}
+}
+
+libshout-idjc_package() {
+	pkg_install() {
+		vmove all
+	}
+}