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 03c4b8fe79
commit 81ddc1eb88
1 changed files with 5 additions and 5 deletions

View File

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