mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
New package: linssid-3.6
Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
This commit is contained in:
parent
dc73d8723f
commit
0c18423498
2 changed files with 49 additions and 0 deletions
24
srcpkgs/linssid/patches/project.patch
Normal file
24
srcpkgs/linssid/patches/project.patch
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
--- linssid-app/linssid-app.pro
|
||||||
|
+++ linssid-app/linssid-app.pro
|
||||||
|
@@ -5,7 +5,7 @@
|
||||||
|
CONFIG -= debug_and_release app_bundle lib_bundle
|
||||||
|
CONFIG += release
|
||||||
|
PKGCONFIG +=
|
||||||
|
-QT = core gui widgets svg
|
||||||
|
+QT = core gui widgets
|
||||||
|
SOURCES += AboutBox.cpp Getter.cpp MainForm.cpp main.cpp prefsDialog.cpp
|
||||||
|
HEADERS += AboutBox.h Custom.h Getter.h MainForm.h prefsDialog.h
|
||||||
|
FORMS += AboutBox.ui MainForm.ui prefsDialog.ui
|
||||||
|
@@ -22,10 +22,10 @@
|
||||||
|
INCLUDEPATH += /usr/include/qt5
|
||||||
|
INCLUDEPATH += /usr/include/qwt
|
||||||
|
LIBS += -lboost_regex
|
||||||
|
-LIBS += /usr/lib/libqwt-qt5.so.6
|
||||||
|
+LIBS += -lqwt
|
||||||
|
QMAKE_CXXFLAGS += -std=c++11
|
||||||
|
#
|
||||||
|
TARGET = linssid
|
||||||
|
-target.path = /usr/sbin
|
||||||
|
+target.path = /usr/bin
|
||||||
|
INSTALLS += target
|
||||||
|
targetexec.path = /usr/bin
|
25
srcpkgs/linssid/template
Normal file
25
srcpkgs/linssid/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'linssid'
|
||||||
|
pkgname=linssid
|
||||||
|
version=3.6
|
||||||
|
revision=1
|
||||||
|
build_style=qmake
|
||||||
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
||||||
|
makedepends="boost-devel qwt-devel"
|
||||||
|
depends="qt5-svg"
|
||||||
|
short_desc="Graphical wireless AP scanner"
|
||||||
|
maintainer="Piraty <piraty1@inbox.ru>"
|
||||||
|
license="GPL-3.0-only"
|
||||||
|
homepage="https://sourceforge.net/projects/linssid/"
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}.orig.tar.gz"
|
||||||
|
checksum=57301ee93f708f2512316668bf4e718502f37f21a5e93b68fc604a9032e3e49c
|
||||||
|
|
||||||
|
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/qt5/QtCore"
|
||||||
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5/QtWidgets"
|
||||||
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt5/QtGui"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
sed -e "s|QMAKE_CC =.*|QMAKE_CC = $CC|" \
|
||||||
|
-e "s|QMAKE_CXX =.*|QMAKE_CXX = $CXX|" \
|
||||||
|
-e "s|INCLUDEPATH += |INCLUDEPATH += ${XBPS_CROSS_BASE}|g" \
|
||||||
|
-i linssid-app/linssid-app.pro
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue