youtube-dl-gui.wxpython

This commit is contained in:
milisbir 2018-01-03 22:30:44 +02:00
parent 52cc850755
commit c215a33250
1 changed files with 40 additions and 20 deletions

View File

@ -1,7 +1,7 @@
# Tanım: Python için bir wxWidgets GUI araç seti # Tanım: Python için bir wxWidgets GUI araç seti
# URL: https://www.wxpython.org # URL: https://www.wxpython.org
# Paketçi: Cihan_Alkan # Paketçi: Cihan_Alkan
# Gerekler: wxgtk28 python xorg-mesa xorg-glu # Gerekler: wxgtk libnotify python xorg-mesa xorg-glu
# Gruplar: kütüphane # Gruplar: kütüphane
isim=wxpython isim=wxpython
@ -11,24 +11,44 @@ devir=1
kaynak=(https://downloads.sourceforge.net/wxpython/wxPython-src-${surum}.tar.bz2) kaynak=(https://downloads.sourceforge.net/wxpython/wxPython-src-${surum}.tar.bz2)
derle() { derle() {
cd wxPython-src-${surum} cd wxPython-src-${surum}
CFLAGS="$CFLAGS -I/usr/include/wx-2.8" ./configure \ CFLAGS="$CFLAGS `wx-config --cflags --libs`" \
--prefix=/usr \ LDFLAGS="`wx-config --libs` $LDFLAGS" \
--libdir=/usr/lib \ ./configure \
--includedir=/usr/include \ --prefix=/usr \
--with-gtk=2 \ --libdir=/usr/lib \
--with-opengl \ --includedir=/usr/include \
--enable-unicode \ --with-gtk=2 \
--enable-graphics_ctx \ --with-opengl \
--disable-precomp-headers \ --enable-unicode \
--with-regex=sys \ --enable-graphics_ctx \
--with-libpng=sys \ --disable-precomp-headers \
--with-libxpm=sys \ --with-regex=sys \
--with-libjpeg=sys \ --with-libpng=sys \
--with-libtiff=sys --with-libxpm=sys \
cd wxPython --with-libjpeg=sys \
python setup.py WXPORT=gtk2 UNICODE=1 build --with-libtiff=sys
python setup.py WXPORT=gtk2 UNICODE=1 install --root="${PKG}" cd wxPython
install -Dm644 ../docs/licence.txt "${PKG}"/usr/share/licenses/${isim}/LICENSE python setup.py \
WXPORT=gtk2 \
UNICODE=1 \
EP_ADD_OPTS=1 \
EP_FULL_VER=0 \
NO_SCRIPTS=1 \
WX_CONFIG="wx-config --no_rpath" \
build_ext --rpath=/usr/lib \
build
python setup.py \
WXPORT=gtk2 \
UNICODE=1 \
EP_ADD_OPTS=1 \
EP_FULL_VER=0 \
NO_SCRIPTS=1 \
WX_CONFIG="wx-config --no_rpath --prefix=$PKG/usr/bin/" \
SYS_WX_CONFIG="wx-config --enable-unicode" \
build_ext --rpath=/usr/lib \
install --root=$PKG
install -Dm644 ../docs/licence.txt "${PKG}"/usr/share/licenses/${isim}/LICENSE
} }