Skip to content

pyqt: Add PyQt for Qt4 and Qt5 #209

Merged
merged 2 commits into from
Nov 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does the patch come from? Please note in the patch file, who the author is.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's from SlackBuild.org, but I couldn't guarantee that the SBO-maintainter is the author.


## 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}"
}