qextserialport: tell qmake to generate .pc file
authorArnout Vandecappelle <arnout@mind.be>
Thu, 24 Nov 2016 22:37:46 +0000 (23:37 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 25 Nov 2016 16:47:51 +0000 (17:47 +0100)
commit9d5241615af6fcd134d9937fc4c00ea33825d6db
tree3de5e0d0d6606c271f014f82e4b1e9b9c341daf9
parentccd49eec60a037504f9f832115ae64803d8f1b1c
qextserialport: tell qmake to generate .pc file

Instead of creating our own .pc file with a patch, just tell qmake to
do it by adding create_pc to CONFIG.

This corrects the .pc file for Qt5. Previously, the include directory
was set to /usr/include, while for Qt5 it should be /usr/include/qt5.
This hasn't caused any autobuild failures since no other package uses
qextserialport.

Note, however, that the package is now called Qt5ExtSerialPort in Qt5,
while before it was qextserialport like in the Qt4 case.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qextserialport/0003-Tell-qmake-to-add-a-pkgconfig-file-to-ease-usage-wit.patch [new file with mode: 0644]
package/qextserialport/0003-pkgconfig.patch [deleted file]
package/qextserialport/qextserialport.mk