# Contributor: Clayton Craft # Maintainer: Clayton Craft global pkgname := 'directfb' global pkgver := '1.7.7' global pkgrel := '1' global pkgdesc := '"Library for hw graphics acceleration, input dev, windowing system on top of the Linux fb device'" global arch := '"all'" global url := '"https://github.com/DirectFB/directfb'" global license := '"LGPL'" global makedepends := '"zlib-dev freetype-dev libdrm-dev libpng-dev perl tslib tslib-dev autoconf automake libtool'" global depends := ''"" global subpackages := ""$pkgname-doc $pkgname-dev"" global builddir := ""$(srcdir)/DirectFB-$(pkgver)"" global source := "" http://sources.webos-ports.org/downloads/DirectFB-$pkgver.tar.gz 0001-directfb-fix-musl-compile.patch 0002-Fix-musl-PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP-comp.patch 0003-remove-set-gamma-ramp.patch 0004-disable-fusion_dispatch.patch 0005-fix-tslib-configure.patch 0006-fix-client-gfx_state-initialisation.patch "" proc build { cd $(builddir) autoconf ./configure --prefix=/usr \ --sysconfdir=/etc \ --enable-static \ --disable-zlib \ --disable-x11 \ --enable-fbdev \ --disable-vnc \ --disable-osx \ --disable-mesa \ --enable-drmkms \ --enable-freetype \ --with-inputdrivers=input_hub,keyboard,linuxinput,ps2mouse,serialmouse,tslib \ --with-gfxdrivers=omap make } proc check { cd $(builddir) make check } proc package { cd $(builddir) make DESTDIR="$(pkgdir)" install } global sha512sums := '"c9ce8ffe7d7d17b0351da6a031db7345f31fb7112545f9352834ad33225a93e6284ef0e576ef5fc595bc9060c1756051322fa20f7b5b3444b68d7f05bd1ba494 DirectFB-1.7.7.tar.gz d9325c228a534d2d2b93b4dacf896fc12c703b9e08adf1ae8f5baea2a0ed5c4d07d56b8bc63dc605362f093624eab40686b43028ef15a78a01bc10e5f41c16bc 0001-directfb-fix-musl-compile.patch ed3bf9bf76616174aca6ae92fd9873c9452951b8a2acb60e1ccbbea0c4a7c9766e510899bc8f58c24dd5888c1e7e1f0a0d4a823f0bd9e03a4c9d2a54fb714221 0002-Fix-musl-PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP-comp.patch bd1d0738c48411e8e065b8a250c1b31334ac65b26a8f6c91d5ad167a4d8fdac1de862c05940567e48fc740dd45fbecf906ebdfbff63420d4f86bee7a3a0746ee 0003-remove-set-gamma-ramp.patch d68002702f3521a71405bb403b874dced5b123a2de037c9eb05667123a578c0e9a9f13a822fd8d77e31a83f1e1cc8df1d8511f7d2f427688d5ef6ae0fff448c5 0004-disable-fusion_dispatch.patch c768ca7a4dae7fc0cd7d4fa559ab74adb6b5f21245e0f9b5d56af15b20effc04e6739e86d52d65c902c5e76ad72e966cd9db68f57a9bad11a004525825d443a4 0005-fix-tslib-configure.patch 6b118928c2ebe58654e1bf32433b084f4dc150526eec1b53f9eb4b856aee25733bd8d6114fde973fcb64416e4146f458cdb75e5836d7507cf802b84e44544462 0006-fix-client-gfx_state-initialisation.patch'" (CommandList children: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgname) op:Equal rhs:{(directfb)} spids:[6])] spids: [6] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgver) op:Equal rhs:{(1.7.7)} spids:[9])] spids: [9] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:pkgrel) op:Equal rhs:{(1)} spids:[12])] spids: [12] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:pkgdesc) op: Equal rhs: { (DQ ( "Library for hw graphics acceleration, input dev, windowing system on top of the Linux fb device" ) ) } spids: [15] ) ] spids: [15] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:arch) op:Equal rhs:{(DQ (all))} spids:[20])] spids: [20] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:url) op: Equal rhs: {(DQ ("https://github.com/DirectFB/directfb"))} spids: [25] ) ] spids: [25] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:license) op:Equal rhs:{(DQ (LGPL))} spids:[30])] spids: [30] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:makedepends) op: Equal rhs: { (DQ ( "zlib-dev freetype-dev libdrm-dev libpng-dev perl tslib tslib-dev autoconf automake libtool" ) ) } spids: [35] ) ] spids: [35] ) (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:depends) op:Equal rhs:{(DQ )} spids:[40])] spids: [40] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:subpackages) op: Equal rhs: {(DQ ($ VSub_Name "$pkgname") ("-doc ") ($ VSub_Name "$pkgname") (-dev))} spids: [44] ) ] spids: [44] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:builddir) op: Equal rhs: {(DQ (${ VSub_Name srcdir) (/DirectFB-) (${ VSub_Name pkgver))} spids: [52] ) ] spids: [52] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:source) op: Equal rhs: { (DQ ("\n") (" http://sources.webos-ports.org/downloads/DirectFB-") ($ VSub_Name "$pkgver") (".tar.gz\n") (" 0001-directfb-fix-musl-compile.patch\n") (" 0002-Fix-musl-PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP-comp.patch\n") (" 0003-remove-set-gamma-ramp.patch\n") (" 0004-disable-fusion_dispatch.patch\n") (" 0005-fix-tslib-configure.patch\n") (" 0006-fix-client-gfx_state-initialisation.patch\n") (" ") ) } spids: [63] ) ] spids: [63] ) (FuncDef name: build body: (BraceGroup children: [ (C {(cd)} {(DQ (${ VSub_Name builddir))}) (C {(autoconf)}) (C {(./configure)} {(--prefix) (Lit_Other "=") (/usr)} {(--sysconfdir) (Lit_Other "=") (/etc)} {(--enable-static)} {(--disable-zlib)} {(--disable-x11)} {(--enable-fbdev)} {(--disable-vnc)} {(--disable-osx)} {(--disable-mesa)} {(--enable-drmkms)} {(--enable-freetype)} {(--with-inputdrivers) (Lit_Other "=") (input_hub) (Lit_Comma ",") (keyboard) (Lit_Comma ",") (linuxinput) (Lit_Comma ",") (ps2mouse) (Lit_Comma ",") (serialmouse) (Lit_Comma ",") (tslib) } {(--with-gfxdrivers) (Lit_Other "=") (omap)} ) (C {(make)}) ] spids: [83] ) spids: [79 82] ) (FuncDef name: check body: (BraceGroup children: [(C {(cd)} {(DQ (${ VSub_Name builddir))}) (C {(make)} {(check)})] spids: [178] ) spids: [174 177] ) (FuncDef name: package body: (BraceGroup children: [ (C {(cd)} {(DQ (${ VSub_Name builddir))}) (C {(make)} {(Lit_VarLike "DESTDIR=") (DQ (${ VSub_Name pkgdir))} {(install)}) ] spids: [201] ) spids: [197 200] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:sha512sums) op: Equal rhs: { (DQ ( "c9ce8ffe7d7d17b0351da6a031db7345f31fb7112545f9352834ad33225a93e6284ef0e576ef5fc595bc9060c1756051322fa20f7b5b3444b68d7f05bd1ba494 DirectFB-1.7.7.tar.gz\n" ) ( "d9325c228a534d2d2b93b4dacf896fc12c703b9e08adf1ae8f5baea2a0ed5c4d07d56b8bc63dc605362f093624eab40686b43028ef15a78a01bc10e5f41c16bc 0001-directfb-fix-musl-compile.patch\n" ) ( "ed3bf9bf76616174aca6ae92fd9873c9452951b8a2acb60e1ccbbea0c4a7c9766e510899bc8f58c24dd5888c1e7e1f0a0d4a823f0bd9e03a4c9d2a54fb714221 0002-Fix-musl-PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP-comp.patch\n" ) ( "bd1d0738c48411e8e065b8a250c1b31334ac65b26a8f6c91d5ad167a4d8fdac1de862c05940567e48fc740dd45fbecf906ebdfbff63420d4f86bee7a3a0746ee 0003-remove-set-gamma-ramp.patch\n" ) ( "d68002702f3521a71405bb403b874dced5b123a2de037c9eb05667123a578c0e9a9f13a822fd8d77e31a83f1e1cc8df1d8511f7d2f427688d5ef6ae0fff448c5 0004-disable-fusion_dispatch.patch\n" ) ( "c768ca7a4dae7fc0cd7d4fa559ab74adb6b5f21245e0f9b5d56af15b20effc04e6739e86d52d65c902c5e76ad72e966cd9db68f57a9bad11a004525825d443a4 0005-fix-tslib-configure.patch\n" ) ( "6b118928c2ebe58654e1bf32433b084f4dc150526eec1b53f9eb4b856aee25733bd8d6114fde973fcb64416e4146f458cdb75e5836d7507cf802b84e44544462 0006-fix-client-gfx_state-initialisation.patch" ) ) } spids: [227] ) ] spids: [227] ) ] )