summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Gauduin2015-06-09 12:03:25 +0200
committerMaxime Gauduin2015-06-09 12:03:25 +0200
commitd1df681c60e7960f6577d3aacbff185e733232e6 (patch)
tree37851de17ce2b315dabb56410a9e19f59227ef4f
downloadaur-d1df681c60e7960f6577d3aacbff185e733232e6.tar.gz
Initial import
-rw-r--r--.SRCINFO44
-rw-r--r--MKPKG3
-rw-r--r--PKGBUILD91
-rw-r--r--libindicate-mono.patch119
4 files changed, 257 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..185ad477c33
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,44 @@
+pkgbase = libindicate
+ pkgdesc = Library for raising indicators via DBus
+ pkgver = 12.10.1
+ pkgrel = 4
+ url = https://launchpad.net/libindicate
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = gnome-doc-utils
+ makedepends = gobject-introspection
+ makedepends = gtk-doc
+ makedepends = gtk-sharp-2
+ makedepends = gtk3
+ makedepends = perl-xml-libxml
+ makedepends = pygtk
+ makedepends = vala
+ depends = dbus-glib
+ depends = gtk2
+ depends = libdbusmenu-glib
+ depends = python2-gobject2
+ options = !emptydirs
+ source = http://launchpad.net/libindicate/12.10/12.10.1/+download/libindicate-12.10.1.tar.gz
+ source = libindicate-mono.patch
+ sha256sums = 41e0c059e96172975c716aa70dc60f669e21d359c65935c61ac374a9aa075581
+ sha256sums = acf06964f453cca3627c9e4d73d1fcdd3713497316566910ab7522f8297ddcd6
+
+pkgname = libindicate-gtk2
+ provides = libindicate
+ conflicts = libindicate
+
+pkgname = libindicate-gtk3
+ depends = dbus-glib
+ depends = gtk2
+ depends = libdbusmenu-glib
+ depends = python2-gobject2
+ depends = gtk3
+ provides = libindicate
+ conflicts = libindicate
+
+pkgname = libindicate-sharp
+ arch = any
+ depends = libindicate
+ depends = mono
+
diff --git a/MKPKG b/MKPKG
new file mode 100644
index 00000000000..f0e89f12cc3
--- /dev/null
+++ b/MKPKG
@@ -0,0 +1,3 @@
+pkgname=('libindicate-gtk3')
+
+# vim: ts=2 sw=2 et:
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..87496047be5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,91 @@
+# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
+# Contributor: Charles Bos <charlesbos1@gmail.com>
+# Contributor: Balló György <ballogyor+arch@gmail.com>
+# Contributor: Branchini Massimo <max.bra.gtalk@gmail.com>
+
+pkgbase=libindicate
+pkgname=('libindicate-gtk2' 'libindicate-gtk3' 'libindicate-sharp')
+pkgver=12.10.1
+pkgrel=4
+pkgdesc='Library for raising indicators via DBus'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/libindicate'
+license=('LGPL')
+depends=('dbus-glib' 'gtk2' 'libdbusmenu-glib' 'python2-gobject2')
+makedepends=('gnome-doc-utils' 'gobject-introspection' 'gtk-doc' 'gtk-sharp-2'
+ 'gtk3' 'perl-xml-libxml' 'pygtk' 'vala')
+options=('!emptydirs')
+source=("http://launchpad.net/libindicate/${pkgver%.*}/${pkgver}/+download/libindicate-${pkgver}.tar.gz"
+ 'libindicate-mono.patch')
+sha256sums=('41e0c059e96172975c716aa70dc60f669e21d359c65935c61ac374a9aa075581'
+ 'acf06964f453cca3627c9e4d73d1fcdd3713497316566910ab7522f8297ddcd6')
+
+prepare() {
+ cd libindicate-${pkgver}
+
+ patch -Np2 -i ../libindicate-mono.patch
+ sed -i 's|^#!.*python$|#!/usr/bin/python2|' examples/{im-client,listen-and-print}.py
+ sed -i 's|pyglib-2.0-python$PYTHON_VERSION|pyglib-2.0-python2|' configure
+
+ cd ..
+
+ cp -r libindicate-${pkgver} libindicate-gtk2-${pkgver}
+}
+
+build() {
+ cd libindicate-${pkgver}
+
+ export PYTHON='/usr/bin/python2'
+
+ ./configure \
+ --prefix='/usr' \
+ --localstatedir='/var' \
+ --libexecdir='/usr/lib/libindicate' \
+ --sysconfdir='/etc' \
+ --disable-static
+ make -j1
+
+ cd ../libindicate-gtk2-${pkgver}
+
+ ./configure \
+ --prefix='/usr' \
+ --localstatedir='/var' \
+ --libexecdir='/usr/lib/libindicate' \
+ --sysconfdir='/etc' \
+ --with-gtk='2' \
+ --disable-static
+ make -j1
+}
+
+package_libindicate-gtk2() {
+ provides=('libindicate')
+ conflicts=('libindicate')
+
+ cd libindicate-gtk2-${pkgver}
+
+ make -j1 DESTDIR="${pkgdir}" install
+ make -j1 -C bindings/mono DESTDIR="${pkgdir}" uninstall
+}
+
+package_libindicate-gtk3() {
+ provides=('libindicate')
+ conflicts=('libindicate')
+
+ depends+=('gtk3')
+
+ cd libindicate-${pkgver}
+
+ make -j1 DESTDIR="${pkgdir}" install
+ make -j1 -C bindings/mono DESTDIR="${pkgdir}" uninstall
+}
+
+package_libindicate-sharp() {
+ arch=('any')
+ depends=('libindicate' 'mono')
+
+ cd libindicate-${pkgver}
+
+ make -j1 -C bindings/mono DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
diff --git a/libindicate-mono.patch b/libindicate-mono.patch
new file mode 100644
index 00000000000..3c6f9e16023
--- /dev/null
+++ b/libindicate-mono.patch
@@ -0,0 +1,119 @@
+From 7338bd1df90767bf594e351e27ef0e9783222454 Mon Sep 17 00:00:00 2001
+From: Alucryd <alucryd@gmail.com>
+Date: Mon, 4 Mar 2013 11:50:01 +0100
+Subject: [PATCH 4/4] mono
+
+---
+ libindicate-12.10.1/bindings/mono/indicate-gtk/Makefile.in | 12 ++++++------
+ .../bindings/mono/indicate-gtk/indicate-gtk-sharp-0.1.pc.in | 2 +-
+ libindicate-12.10.1/bindings/mono/indicate/Makefile.in | 12 ++++++------
+ .../bindings/mono/indicate/indicate-sharp-0.1.pc.in | 2 +-
+ 4 files changed, 14 insertions(+), 14 deletions(-)
+
+diff --git a/libindicate-12.10.1/bindings/mono/indicate-gtk/Makefile.in b/libindicate-12.10.1/bindings/mono/indicate-gtk/Makefile.in
+index 5beca03..22d2f69 100644
+--- a/libindicate-12.10.1/bindings/mono/indicate-gtk/Makefile.in
++++ b/libindicate-12.10.1/bindings/mono/indicate-gtk/Makefile.in
+@@ -356,7 +356,7 @@ RAW_API = $(ASSEMBLY_NAME)-api.raw
+ METADATA = $(ASSEMBLY_NAME)-api.metadata
+ ASSEMBLY = $(ASSEMBLY_NAME)-sharp.dll
+ TARGET = $(ASSEMBLY) $(ASSEMBLY).config
+-assemblydir = $(libdir)/$(ASSEMBLY_NAME)-sharp-0.1
++assemblydir = $(libdir)/mono/$(ASSEMBLY_NAME)-sharp
+ assembly_DATA = $(TARGET)
+ CLEANFILES = $(ASSEMBLY) \
+ $(ASSEMBLY).mdb \
+@@ -378,7 +378,7 @@ EXTRA_DIST = \
+ $(ASSEMBLY_NAME).snk \
+ $(customs)
+
+-GACUTIL_FLAGS = "-package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib"
++GACUTIL_FLAGS = "-package $(ASSEMBLY_NAME)-sharp -root $(DESTDIR)$(prefix)/lib"
+ references = $(GTK_SHARP_LIBS) -r\:$(abs_builddir)/../indicate/indicate-sharp.dll
+ api_includes = $(GTK_SHARP_CFLAGS) -I:$(builddir)/../indicate/indicate-api.xml
+ build_customs = $(addprefix $(srcdir)/, $(customs))
+@@ -827,12 +827,12 @@ $(ASSEMBLY): generated-stamp
+ $(CSC) $(CSFLAGS) -keyfile:$(srcdir)/$(ASSEMBLY_NAME).snk -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(references) $(builddir)/$(GENERATED_SOURCES) AssemblyInfo.cs
+
+ install-data-local:
+- echo "$(GACUTIL) -i $(ASSEMBLY) -package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib"; \
+- $(GACUTIL) -i $(ASSEMBLY) -package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib || exit 1;
++ echo "$(GACUTIL) -i $(ASSEMBLY) -package $(ASSEMBLY_NAME)-sharp -root $(DESTDIR)$(prefix)/lib"; \
++ $(GACUTIL) -i $(ASSEMBLY) -package $(ASSEMBLY_NAME)-sharp -root $(DESTDIR)$(prefix)/lib || exit 1;
+
+ uninstall-local:
+- echo "$(GACUTIL) -u $(ASSEMBLY_NAME)-sharp -package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib"; \
+- $(GACUTIL) -u $(ASSEMBLY_NAME)-sharp -package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib || exit 1;
++ echo "$(GACUTIL) -u $(ASSEMBLY_NAME)-sharp -package $(ASSEMBLY_NAME)-sharp -root $(DESTDIR)$(prefix)/lib"; \
++ $(GACUTIL) -u $(ASSEMBLY_NAME)-sharp -package $(ASSEMBLY_NAME)-sharp -root $(DESTDIR)$(prefix)/lib || exit 1;
+
+ all: $(API)
+
+diff --git a/libindicate-12.10.1/bindings/mono/indicate-gtk/indicate-gtk-sharp-0.1.pc.in b/libindicate-12.10.1/bindings/mono/indicate-gtk/indicate-gtk-sharp-0.1.pc.in
+index d1c6b92..edbb40f 100644
+--- a/libindicate-12.10.1/bindings/mono/indicate-gtk/indicate-gtk-sharp-0.1.pc.in
++++ b/libindicate-12.10.1/bindings/mono/indicate-gtk/indicate-gtk-sharp-0.1.pc.in
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+-assemblies_dir=${libdir}/indicate-gtk-sharp-0.1
++assemblies_dir=${libdir}/mono/indicate-gtk-sharp
+
+ Name: indicate-gtk-sharp
+ Description: indicate-gtk for .NET
+diff --git a/libindicate-12.10.1/bindings/mono/indicate/Makefile.in b/libindicate-12.10.1/bindings/mono/indicate/Makefile.in
+index 20b3761..5d6669f 100644
+--- a/libindicate-12.10.1/bindings/mono/indicate/Makefile.in
++++ b/libindicate-12.10.1/bindings/mono/indicate/Makefile.in
+@@ -355,7 +355,7 @@ RAW_API = $(ASSEMBLY_NAME)-api.raw
+ METADATA = $(ASSEMBLY_NAME)-api.metadata
+ ASSEMBLY = $(ASSEMBLY_NAME)-sharp.dll
+ TARGET = $(ASSEMBLY) $(ASSEMBLY).config
+-assemblydir = $(libdir)/$(ASSEMBLY_NAME)-sharp-0.1
++assemblydir = $(libdir)/mono/$(ASSEMBLY_NAME)-sharp
+ assembly_DATA = $(TARGET)
+ CLEANFILES = $(ASSEMBLY) \
+ $(ASSEMBLY).mdb \
+@@ -377,7 +377,7 @@ EXTRA_DIST = \
+ $(ASSEMBLY_NAME).snk \
+ $(customs)
+
+-GACUTIL_FLAGS = "-package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib"
++GACUTIL_FLAGS = "-package $(ASSEMBLY_NAME)-sharp -root $(DESTDIR)$(prefix)/lib"
+ references = $(GTK_SHARP_LIBS)
+ api_includes = $(GTK_SHARP_CFLAGS)
+ build_customs = $(addprefix $(srcdir)/, $(customs))
+@@ -826,12 +826,12 @@ $(ASSEMBLY): generated-stamp
+ $(CSC) $(CSFLAGS) -keyfile:$(srcdir)/$(ASSEMBLY_NAME).snk -nowarn:0169,0612,0618 -unsafe -out:$(ASSEMBLY) -target:library $(references) $(builddir)/$(GENERATED_SOURCES) AssemblyInfo.cs
+
+ install-data-local:
+- echo "$(GACUTIL) -i $(ASSEMBLY) -package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib"; \
+- $(GACUTIL) -i $(ASSEMBLY) -package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib || exit 1;
++ echo "$(GACUTIL) -i $(ASSEMBLY) -package $(ASSEMBLY_NAME)-sharp -root $(DESTDIR)$(prefix)/lib"; \
++ $(GACUTIL) -i $(ASSEMBLY) -package $(ASSEMBLY_NAME)-sharp -root $(DESTDIR)$(prefix)/lib || exit 1;
+
+ uninstall-local:
+- echo "$(GACUTIL) -u $(ASSEMBLY_NAME)-sharp -package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib"; \
+- $(GACUTIL) -u $(ASSEMBLY_NAME)-sharp -package $(ASSEMBLY_NAME) -root $(DESTDIR)$(prefix)/lib || exit 1;
++ echo "$(GACUTIL) -u $(ASSEMBLY_NAME)-sharp -package $(ASSEMBLY_NAME)-sharp -root $(DESTDIR)$(prefix)/lib"; \
++ $(GACUTIL) -u $(ASSEMBLY_NAME)-sharp -package $(ASSEMBLY_NAME)-sharp -root $(DESTDIR)$(prefix)/lib || exit 1;
+
+ all: $(API)
+
+diff --git a/libindicate-12.10.1/bindings/mono/indicate/indicate-sharp-0.1.pc.in b/libindicate-12.10.1/bindings/mono/indicate/indicate-sharp-0.1.pc.in
+index f4474f8..15e8960 100644
+--- a/libindicate-12.10.1/bindings/mono/indicate/indicate-sharp-0.1.pc.in
++++ b/libindicate-12.10.1/bindings/mono/indicate/indicate-sharp-0.1.pc.in
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+-assemblies_dir=${libdir}/indicate-sharp-0.1
++assemblies_dir=${libdir}/mono/indicate-sharp
+
+ Name: indicate-sharp
+ Description: indicate for .NET
+--
+1.8.1.5
+