wok view wxWidgets/receipt @ rev 25643
Fix mouse issue on mc with ncurses6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Jan 12 14:14:28 2024 +0100 (10 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="wxWidgets"
4 VERSION="3.2.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Cross-platform GUI Library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="https://www.wxwidgets.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 SUGGESTED="wxWidgets-lang"
15 DEPENDS="atk cairo expat fontconfig freetype gcc-lib-base glib glibc-base gtk+
16 jpeg libgio libglu-mesa libpng mesa pango pixman pkg-config tiff
17 util-linux-uuid xorg-libICE xorg-libSM xorg-libX11 xorg-libXau
18 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp
19 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender
20 xorg-libXxf86vm zlib"
21 BUILD_DEPENDS="expat-dev gtk+-dev jpeg-dev libglu-mesa libpng-dev mesa-dev
22 tiff-dev xorg-dev xorg-libXpm-dev xorg-xineramaproto zlib-dev"
24 current_version()
25 {
26 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
27 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 # sed -i 's|/opt/wx/current/bin/||' wxPython/wx/build/build_options.py
35 ./configure \
36 --enable-shared \
37 --enable-unicode \
38 --disable-gtktest \
39 --with-gtk=2 \
40 --with-opengl \
41 --with-libpng=sys \
42 --with-libxpm=sys \
43 --with-libjpeg=sys \
44 --with-libtiff=sys \
45 --enable-graphics_ctx \
46 --enable-unicode \
47 $CONFIGURE_ARGS &&
48 make &&
49 make DESTDIR=$DESTDIR install
50 # cd $src/contrib &&
51 # {
52 # make &&
53 # make DESTDIR=$DESTDIR install
54 # } 2>&1 | sed 's/h: No such/h: no such/'
55 }
57 # Rules to gen a SliTaz package suitable for Tazpkg.
58 genpkg_rules()
59 {
60 mkdir -p $fs/usr
62 # Copy libraries.
63 cp -a $install/usr/lib $fs/usr
65 # Remove development files.
66 rm -rf $fs/usr/lib/wx/include
67 }