Skip to content

Commit

Permalink
Merge pull request #209 from mariux64/add-PyQt
Browse files Browse the repository at this point in the history
pyqt: Add PyQt for Qt4 and Qt5
  • Loading branch information
donald authored Nov 24, 2016
2 parents 719ea39 + 5b98d66 commit f9defc1
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]="https://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-${PKGVERSION}/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() {
start_cmd python configure.py \
--confirm-license \
--verbose \
-q /usr/local/qt4/bin/qmake
}

mee_build() {
start_cmd make ${BEE_MAKEFLAGS}
}

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

mee_install() {
start_cmd 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]="https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-${PKGVERSION}/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() {
start_cmd python configure.py \
--confirm-license \
--verbose \
-q /usr/local/qt5/bin/qmake
}

mee_build() {
start_cmd make ${BEE_MAKEFLAGS}
}

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

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

0 comments on commit f9defc1

Please sign in to comment.