Ravenports generated: 22 Sep 2021 04:29
[ravenports.git] / bucket_CA / libnsfb
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libnsfb
4 VERSION=                0.2.2
5 KEYWORDS=               devel
6 VARIANTS=               standard
7 SDESC[standard]=        NetSurf framebuffer library
8 HOMEPAGE=               https://www.netsurf-browser.org/projects/libnsfb/
9 CONTACT=                Michael_Reim[kraileth@elderlinux.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://download.netsurf-browser.org/libs/releases/
13 DISTFILE[1]=            libnsfb-0.2.2-src.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILD_DEPENDS=          netsurf-buildsystem:single:standard
21
22 USES=                   gmake pkgconfig
23
24 LICENSE=                MIT:single
25 LICENSE_FILE=           MIT:{{WRKSRC}}/COPYING
26 LICENSE_SCHEME=         solo
27
28 MAKE_ENV=               COMPONENT_TYPE="lib-shared"
29
30 INSTALL_REQ_TOOLCHAIN=  yes
31 SOVERSION=              0.2.2
32
33 post-install:
34         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnsfb.so.0.2.2
35
36 [FILE:628:descriptions/desc.single]
37 LibNSFB is a framebuffer abstraction library, written in C. It is 
38 currently in development for use with NetSurf and is intended to be 
39 suitable for use in other projects too.
40
41 The overall idea of the library is to provide a generic abstraction to a 
42 linear section of memory which corresponds to a visible array of pixel 
43 elements on a display device. Different colour depths are supported and 
44 the library provides routines for tasks such as drawing onto the 
45 framebuffer and rectangle copy operations.
46
47 LibNSFB currently supports the following as framebuffer providers:
48 - Linux framebuffer
49 - X
50 - SDL
51 - VNC
52 - ABLE framebuffer
53
54
55 [FILE:103:distinfo]
56 be446ca3eb54df903f2da98311d107d7574cd11f5ac0713e619156d4d19ea39a        82594 libnsfb-0.2.2-src.tar.gz
57
58
59 [FILE:184:manifests/plist.single]
60 include/
61  libnsfb.h
62  libnsfb_cursor.h
63  libnsfb_event.h
64  libnsfb_plot.h
65  libnsfb_plot_util.h
66 lib/
67  libnsfb.so
68  libnsfb.so.%%SOMAJOR%%
69  libnsfb.so.%%SOVERSION%%
70 lib/pkgconfig/libnsfb.pc
71
72
73 [FILE:390:patches/patch-src_plot.h]
74 --- src/plot.h.orig     2019-06-26 20:56:00 UTC
75 +++ src/plot.h
76 @@ -46,7 +46,11 @@
77          #error "Endian determination failed"
78      #endif
79  #else
80 +# if defined(__DragonFly__) || defined(__FreeBSD__)
81 +    #include <sys/endian.h>
82 +#else
83      #include <endian.h>
84 +#endif
85      #if defined(__BYTE_ORDER__)
86          #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
87              #define NSFB_BE_BYTE_ORDER
88