Could you please upload this package with the correct name qt5-serialport-git. And request this package to be merged into the new one?
Also please update this package to use the new vcs https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines
Search Criteria
Package Details: qtserialport-git 20130328-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2013-06-13)
| Package Base: | qtserialport-git |
|---|---|
| Description: | Add-on for the Qt library, providing a single interface for both hardware and virtual serial ports |
| Upstream URL: | http://qt-project.org/wiki/QtSerialPort |
| Category: | lib |
| Licenses: | |
| Submitter: | iframe |
| Maintainer: | onestep_ua |
| Last Packager: | None |
| Votes: | 8 |
| First Submitted: | 2012-06-06 21:14 |
| Last Updated: | 2013-03-28 15:10 |
Latest Comments
Comment by ant32
Comment by ant32
sed: can't read qtserialport-git/pkg/qtserialport-git/usr/lib/libQt5SerialPort.prl: No such file or directory.
The last 'sed' command needs to be removed or changed.
I created a pkgbuild that creates the Qt5 serialport module https://gist.github.com/ant32/5776331 . That way you can start using it as you will once Qt 5.1 is out.
Comment by Gunnar
strange enough on my x86_64 KDE machine /usr/lib/qt4/bin is at first place in $PATH even after updated and qt5 installed. This cause this package fail during package function because qtserialport is built with qmake for qt4. Replacing qmake with /usr/bin/qmake will fix this.
Comment by AlexandrePTJ
Hi, I just created package for Qt4 : https://aur.archlinux.org/packages/qtserialport-qt4-git/
Comment by onestep_ua
I've updated this package, now it uses Qt5. Qt4 version can also co-exist, so maybe it's a good idea to make a package like qt4-qtserialport-git.
Anonymous comment
I actually need a Qt5 version. My pkgbuild works fine for Qt5. Maybe should we make another package (sort of "qtserialport-qt4-git") as Qt5 is now released?
Comment by onestep_ua
I've updated the package, but currently it is only for Qt4. If anyone needs version for Qt5, please post here, I can try to make a build for both versions.
Anonymous comment
I updated the PKGBUILD, here is my humble contribution: http://pastebin.com/NZgBv7g9
Note that I'm not sure of the licence, gitorious mirror mentions GPLv2.
Comment by gleb.zhulik
Your PKGBUILD is broken. I fix it:
# Contributor: aleksonik <imsnet@yandex.ru>
# Contributor: andre.vmatos <amdre.vmatos@gmail.com>
# Contributor: Valeriy Lyasotskiy <onestep@ukr.net>
_gitname=qtserialport
_gitroot='git://gitorious.org/qtplayground/qtserialport.git'
pkgname=qtserialport-git
pkgver=20130121
pkgrel=1
pkgdesc="Add-on for the Qt library, providing a single interface for both hardware and virtual serial ports"
arch=('i686' 'x86_64')
url="http://qt-project.org/wiki/QtSerialPort"
license=('LGPL')
depends=('qt')
makedepends=('git')
provides=('qtserialport')
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [[ -d "${_gitname}" ]]; then
cd "${_gitname}" && git pull origin
msg "The local files are updated."
else
git clone --depth=1 "${_gitroot}" "${_gitname}" && cd "${_gitname}"
msg "GIT checkout done or server timeout"
fi
pwd
sed -i 's/ examples tests//' qtserialport.pro
qmake
make
}
package() {
cd "${_gitname}"
make INSTALL_ROOT="$pkgdir" install
sed -i '1,1d' "$pkgdir"/usr/lib/libSerialPort.prl
}
Anonymous comment
I second maleadt.
The qtserialport dev team changed the project .pro file from serialport.pro to qtserialport.pro, it's necessary to update two lines in the build() step of the PKGBUILD or the package won't build.
Comment by maleadt
Project file has been renamed to qtserialport.pro
Comment by onestep_ua
Yes, thank you.
Comment by andre.vmatos
Can you adopt this package?
Comment by onestep_ua
I want to share my own version - it has disabled examples and tests, installation with make install and removed reference to $srcdir.
http://pastebin.com/1TZAaw7i
Comment by andre.vmatos
Improved PKGBUILD and updated. For qt4.