matchbox/matchbox-keyboard: Enable GTK+2 input method correctly. (#1482)

Matchbox-keyboard was not being built as a GTK+2 input method as
thought. This commit correctly enables this functionality and
matchbox-keyboard can now be used as a GTK+2 input method correctly.

* Added gtk+2.0 to depends and gtk+2.0-dev to makedepends.
* Changed --enable-gtk2-im to --enable-gtk-im in ./configure
This commit is contained in:
Duncan Guthrie 2018-05-12 18:56:23 +01:00 committed by Oliver Smith
parent 77b61a05ba
commit 2e426c6f9b

View file

@ -2,13 +2,13 @@
# Maintainer: drebrez <drebrez@gmail.com>
pkgname=matchbox-keyboard
pkgver=0.1.1
pkgrel=1
pkgrel=2
pkgdesc="An on screen virtual keyboard"
url="http://matchbox-project.org/"
arch="all"
license="GPL-2.0-only"
depends="libfakekey libxft cairo gtk+3.0 libx11 libxrender"
makedepends="autoconf automake libtool libxft-dev libxtst-dev cairo-dev gtk+3.0-dev matchbox-panel-dev libx11-dev libxrender-dev"
depends="libfakekey libxft cairo gtk+3.0 gtk+2.0 libx11 libxrender"
makedepends="autoconf automake libtool libxft-dev libxtst-dev cairo-dev gtk+3.0-dev gtk+2.0-dev matchbox-panel-dev libx11-dev libxrender-dev"
source="$pkgname-$pkgver.tar.bz2::http://git.yoctoproject.org/cgit/cgit.cgi/matchbox-keyboard/snapshot/matchbox-keyboard-$pkgver.tar.bz2"
options="!check"
@ -17,9 +17,9 @@ build() {
./configure \
--prefix=/usr \
--enable-cairo \
--enable-applet \
--enable-gtk2-im \
--enable-gtk-im \
--enable-gtk3-im \
--enable-applet \
LDFLAGS="-lXrender -lX11"
make
}