libraries/wxPython3: Don't explicitely build internal wxGTK3

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2021-09-26 18:16:56 +02:00 committed by Willy Sudiarto Raharjo
parent 825ecad15e
commit 6e5de7dac6
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 1 additions and 29 deletions

View File

@ -89,30 +89,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--with-gtk=3 \
--with-sdl \
--with-opengl \
--enable-unicode \
--enable-graphics_ctx \
--enable-display \
--enable-mediactrl \
--enable-graphics_ctx \
--enable-sound \
--disable-precomp-headers \
--with-wx-config=/usr/bin/wx-config \
--libdir=/usr/lib$LIBDIRSUFFIX \
--build=$ARCH-slackware-linux \
$wx
make
cd wxPython
python2 setup.py \
WXPORT=gtk3 \
@ -143,10 +119,6 @@ cd wxPython
rm -rf $PKG/usr/lib$LIBDIRSUFFIX/python2.7/site-packages/wx-3.0-gtk2/wx/tools/Editra
cd -
# install wxPython includes
mkdir -p $PKG/usr/include/wx-3.0/wx/
cp -rf wxPython/include/wx/wxPython $PKG/usr/include/wx-3.0/wx/
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/wxpython/files/wxPython/3.0.2.0/wxPyt
MD5SUM="922b02ff2c0202a7bf1607c98bbbbc04"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxGTK3 gst0-plugins-base"
REQUIRES="wxGTK3"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"