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