iup-stack-solus/libcd/package.yml

46 lines
1.7 KiB
YAML
Raw Normal View History

2022-12-29 18:07:43 +00:00
name : libcd
2023-02-04 10:45:22 +00:00
version : "5.14"
2022-12-29 18:07:43 +00:00
release : 1
source :
- https://sourceforge.net/projects/canvasdraw/files/5.14/Docs%20and%20Sources/cd-5.14_Sources.zip : 416190b4fac1ad1949e6e3ec4976ce6cdd68a4e1622a1dc891afb38593c0c982
2023-02-04 10:45:22 +00:00
homepage : https://www.tecgraf.puc-rio.br/cd/
license : MIT
component : multimedia.graphics
summary : Canvas Draw - 2D vector graphics library
2022-12-29 18:07:43 +00:00
description: |
2023-02-04 10:45:22 +00:00
CD (Canvas Draw) is a platform-independent graphics library. It is implemented in several platforms using native graphics libraries: Microsoft Windows (GDI) and X-Windows (XLIB). The library contains functions to support both vector and image applications, and the visualization surface can be either a window or a more abstract surface, such as Image, Clipboard, Metafile, PS, and so on.
2022-12-29 18:07:43 +00:00
builddeps :
- pkgconfig(fontconfig)
2023-02-04 10:45:22 +00:00
- pkgconfig(ftgl)
- pkgconfig(glu)
2022-12-29 18:07:43 +00:00
- pkgconfig(gtk+-3.0)
- pkgconfig(lua)
- libim-devel
- libpdflib-devel
2023-02-04 10:45:22 +00:00
- lsb-release
2022-12-29 18:07:43 +00:00
patterns :
- lua :
- /usr/lib64/libcdlua*.so
- /usr/lib64/*.so
- devel :
- /usr/include
- /usr/lib64/libcd*.a
environment:
export USE_PKGCONFIG=Yes
export USE_LUA53=Yes
export LUA_INC=/usr/include
export LUA_LIB=/usr/lib
export LUA_BIN=/usr/bin/lua
export IM_LIB=/usr/lib
export IM_INC=/usr/include
setup : |
%patch -p1 < $pkgfiles/without-lua-prefix-with-linux6.patch
build : |
%make -j1
install : |
install -dm00755 $installdir/usr/lib64
2023-02-04 10:45:22 +00:00
install -Dm00755 lib/Linux61_64/{*.so,*.a} $installdir/usr/lib64/
install -Dm00755 lib/Linux61_64/Lua/{*.so,*.a} $installdir/usr/lib64/
2022-12-29 18:07:43 +00:00
install -dm00755 $installdir/usr/include
install -m00755 include/* $installdir/usr/include