aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ibus
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/ibus
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/ibus')
-rw-r--r--unmaintained/ibus/APKBUILD79
1 files changed, 79 insertions, 0 deletions
diff --git a/unmaintained/ibus/APKBUILD b/unmaintained/ibus/APKBUILD
new file mode 100644
index 0000000000..7a63805339
--- /dev/null
+++ b/unmaintained/ibus/APKBUILD
@@ -0,0 +1,79 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=ibus
+pkgver=1.5.13
+pkgrel=0
+pkgdesc="Intelligent Input Bus"
+url="https://github.com/ibus/ibus/wiki"
+arch="all"
+license="LGPL"
+depends="hicolor-icon-theme"
+depends_dev="glib-dev gtk+3.0-dev gtk+2.0-dev gobject-introspection-dev libnotify-dev
+ dconf-dev gconf-dev"
+makedepends="$depends_dev intltool iso-codes vala iso-codes-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs $pkgname-gtk2 $pkgname-gtk3"
+source="https://github.com/ibus/ibus/releases/download/$pkgver/ibus-$pkgver.tar.gz"
+
+_builddir="$srcdir"/ibus-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --enable-ui \
+ --disable-gconf \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+libs() {
+ pkgdesc="ibus libraries"
+ depends=""
+ cd "$_builddir"
+ mkdir -p "$subpkgdir"/usr/lib/girepository-1.0
+ mv "$pkgdir"/usr/lib/libibus-*.so.* \
+ "$subpkgdir"/usr/lib/ || return 1
+ mv "$pkgdir"/usr/lib/girepository-1.0/IBus-1.0.typelib \
+ "$subpkgdir"/usr/lib/girepository-1.0/ || return 1
+}
+
+gtk2() {
+ pkgdesc="ibus Gtk 2.0 bindings"
+ depends=""
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/gtk-2.0 \
+ "$subpkgdir"/usr/lib/ || return 1
+}
+
+gtk3() {
+ pkgdesc="ibus Gtk 3.0 bindings"
+ depends=""
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/gtk-3.0 \
+ "$subpkgdir"/usr/lib/ || return 1
+}
+
+md5sums="314c5e4fbfa7a52e6bbe4d1fe87c33f4 ibus-1.5.13.tar.gz"
+sha256sums="ed73d80542dfdcca190b7958431048cd6830c2ce25c467384630b6a7e957a5f1 ibus-1.5.13.tar.gz"
+sha512sums="bffb3cecf984ec6e383a111b4e62506390f083476f59404e2e9b90251e6e06853d7f1dc06194456ab5064b5d375820510be1ab12ebd29b966d6a7f5b8aca07ab ibus-1.5.13.tar.gz"