Package Details: qtserialport-git 20130328-1

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: LGPL
Submitter: iframe
Maintainer: onestep_ua
Last Packager: None
Votes: 8
First Submitted: 2012-06-06 21:14
Last Updated: 2013-03-28 15:10

Dependencies (1)

Required by (0)

Sources

Latest Comments

Comment by ant32

2014-02-10 20:21

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

Comment by ant32

2013-06-13 19:02

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

2013-04-03 18:58

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

2013-03-29 08:52

Hi, I just created package for Qt4 : https://aur.archlinux.org/packages/qtserialport-qt4-git/

Comment by onestep_ua

2013-03-28 15:12

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

2013-03-09 10:50

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

2013-03-06 13:13

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

2013-03-04 21:46

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

2013-01-21 17:41

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

2013-01-17 02:30

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

2013-01-05 15:27

Project file has been renamed to qtserialport.pro

Comment by onestep_ua

2012-10-19 08:47

Yes, thank you.

Comment by andre.vmatos

2012-10-18 17:38

Can you adopt this package?

Comment by onestep_ua

2012-10-18 11:33

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

2012-10-04 18:53

Improved PKGBUILD and updated. For qt4.