blob: dd4a2a93dbc9f29c4b98933a2fc801964cf8cb02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: GhettoGirl <github.com/GhettoGirl>
pkgname=sdl2-ime-support
pkgver=2.0.4
pkgrel=1
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2) [with IME support]"
arch=('i686' 'x86_64')
url="http://www.libsdl.org"
license=('MIT')
depends=('glibc' 'libxext' 'libxrender' 'libx11' 'libgl' 'libxcursor')
provides=('sdl2=2.0.4')
conflicts=('sdl2')
install="$pkgname.install"
makedepends=('alsa-lib' 'mesa' 'libpulse' 'libxrandr' 'libxinerama' 'libxkbcommon'
'fcitx' 'libibus')
optdepends=('alsa-lib: ALSA audio driver'
'libpulse: PulseAudio audio driver'
'fcitx: fcitx input support'
'ibus: IBus input support')
source=("git+https://github.com/timxx/SDL-fcitx#branch=release-$pkgver")
md5sums=('SKIP')
build() {
cd SDL-fcitx
./autogen.sh
mkdir -p build && cd build
../configure --prefix=/usr \
--enable-sdl-dlopen \
--disable-arts --disable-esd --disable-nas \
--enable-alsa --enable-pulseaudio-shared \
--disable-video-wayland \
--enable-ibus \
--enable-fcitx \
--disable-rpath
make -j$(nproc)
}
package() {
cd SDL-fcitx/build
make DESTDIR="$pkgdir" install
install -Dm644 ../COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|