mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
898 B
Bash
29 lines
898 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakraos.org
|
|
#
|
|
# maintainer almack
|
|
|
|
pkgname=directfb
|
|
pkgver=1.7.5
|
|
pkgrel=1
|
|
pkgdesc="Library that provides hardware graphics acceleration, input device handling and abstraction, integrated windowing system on top of the Linux Framebuffer Device"
|
|
arch=('x86_64')
|
|
url="http://www.directfb.org"
|
|
license=('LGPL')
|
|
depends=('gcc-libs' 'libjpeg-turbo' 'sdl' 'libpng' 'freetype2')
|
|
source=("http://www.directfb.org/downloads/Core/DirectFB-${pkgver%.*}/DirectFB-${pkgver}.tar.gz")
|
|
md5sums=('9ed63f40f6812bf2ba3b4d8b14c7dcfb')
|
|
|
|
build() {
|
|
cd "${srcdir}/DirectFB-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --enable-static --enable-debug \
|
|
--enable-zlib --enable-x11 --enable-sdl --disable-vnc --disable-osx \
|
|
--enable-video4linux2 --enable-voodoo
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/DirectFB-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|