Skip to content

Commit

Permalink
pyqt: Add PyQt for Qt4 and Qt5
Browse files Browse the repository at this point in the history
PyQt is a set of Python v2 and v3 bindings for the Qt application
framework. Naming is a bit inconsistent:
- PyQt-x11-gpl-4.11.4 -> Qt4
- PyQt5_gpl-5.7 -> Qt5

Homepage:
https://www.riverbankcomputing.com/software/pyqt/intro
  • Loading branch information
thomas committed Nov 22, 2016
1 parent a0135ec commit e9fec55
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 0 deletions.
49 changes: 49 additions & 0 deletions PyQt.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#!/usr/bin/env beesh

# BEE_VERSION PyQt-x11-gpl-4.11.4-0

export QTDIR=/usr/local/qt4

## The source URL(s) array
SRCURL[0]="file:///src/mariux/beeroot/downloads/PyQt-x11-gpl-${PKGVERSION}.tar.gz"

## Add URLs/pathes to patch files
# Fix phonon detection
PATCHURL+=(file:///src/mariux/patches/PyQt.phonon.diff.gz)

## files that should not be added from the image directory.
# EXCLUDE+=()


## uncomment to change default
build_in_sourcedir

## specify different source directory
# sourcesubdir_append src


#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

mee_configure() {
python configure.py \
--confirm-license \
--verbose \
-q /usr/local/qt4/bin/qmake
}

mee_build() {
make ${BEE_MAKEFLAGS}
}

## mee_install() should install into "${D}"
## default: 'make install DESTDIR="${D}"'

mee_install() {
make install DESTDIR="${D}" INSTALL_ROOT="${D}"
}
48 changes: 48 additions & 0 deletions PyQt5.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#!/usr/bin/env beesh

# BEE_VERSION PyQt5_gpl-5.7-0

export QTDIR=/usr/local/qt5

## The source URL(s) array
SRCURL[0]="file:///src/mariux/beeroot/downloads/PyQt5_gpl-${PKGVERSION}.tar.gz"

## Add URLs/pathes to patch files
# PATCHURL+=()

## files that should not be added from the image directory.
# EXCLUDE+=()


## uncomment to change default
build_in_sourcedir

## specify different source directory
# sourcesubdir_append src


#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

mee_configure() {
python configure.py \
--confirm-license \
--verbose \
-q /usr/local/qt5/bin/qmake
}

mee_build() {
make ${BEE_MAKEFLAGS}
}

## mee_install() should install into "${D}"
## default: 'make install DESTDIR="${D}"'

mee_install() {
make install DESTDIR="${D}" INSTALL_ROOT="${D}"
}

0 comments on commit e9fec55

Please sign in to comment.