diff options
author | Lukas Sabota | 2017-02-03 20:47:03 -0500 |
---|---|---|
committer | Lukas Sabota | 2017-02-03 20:47:03 -0500 |
commit | 5c17cf5ff8e175250885d0036a2714965ff891d6 (patch) | |
tree | 9a312ed458caa5269400a636296a92edd42c0bc3 | |
parent | 45a14232cabbadcdd677f120d7d22630d31ed43b (diff) | |
download | aur-5c17cf5ff8e175250885d0036a2714965ff891d6.tar.gz |
move to ponzi port; update to 4.3.0
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | qjoypad.desktop | 13 | ||||
-rw-r--r-- | x11.patch | 11 |
4 files changed, 17 insertions, 63 deletions
@@ -1,22 +1,18 @@ # Generated by mksrcinfo v8 -# Wed Dec 16 05:48:43 UTC 2015 +# Sat Feb 4 01:46:42 UTC 2017 pkgbase = qjoypad pkgdesc = Program with a QT interface that converts gamepad/joystick events into key strokes and mouse actions in XWindows - pkgver = 4.1.0 - pkgrel = 5 - url = http://qjoypad.sourceforge.net/ + pkgver = 4.3.0 + pkgrel = 1 + url = https://github.com/panzi/qjoypad install = qjoypad.install arch = i686 arch = x86_64 license = GPL - depends = qt4 + depends = qt5-base depends = libxtst - source = http://downloads.sourceforge.net/qjoypad/qjoypad-4.1.0.tar.gz - source = qjoypad.desktop - source = x11.patch - md5sums = d4a262c29bd3955c0fe51e9a0d31f619 - md5sums = a90839531415df510410558c47076cfc - md5sums = f6e8a44d0a4b53c7f28e6b98beb265de + source = https://github.com/panzi/qjoypad/archive/v4.3.0.tar.gz + md5sums = 1e8084db56dacdb863ca5e5e40f0d640 pkgname = qjoypad @@ -4,41 +4,23 @@ # Contributor: Travis Nickles <ryoohki7@yahoo.com> pkgname=qjoypad -pkgver=4.1.0 -pkgrel=5 +pkgver=4.3.0 +pkgrel=1 pkgdesc='Program with a QT interface that converts gamepad/joystick events into key strokes and mouse actions in XWindows' arch=('i686' 'x86_64') -url='http://qjoypad.sourceforge.net/' +url='https://github.com/panzi/qjoypad' license=('GPL') -depends=('qt4' 'libxtst') +depends=('qt5-base' 'libxtst') install=${pkgname}.install +source=("https://github.com/panzi/$pkgname/archive/v$pkgver.tar.gz") -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" - 'qjoypad.desktop' - 'x11.patch') - -md5sums=('d4a262c29bd3955c0fe51e9a0d31f619' - 'a90839531415df510410558c47076cfc' - 'f6e8a44d0a4b53c7f28e6b98beb265de') - -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}/src" - patch -p3 <../../x11.patch - sed -i 's/ qmake / qmake-qt4 /' config -} +md5sums=('1e8084db56dacdb863ca5e5e40f0d640') package() { - cd "${srcdir}/${pkgname}-${pkgver}/src" - - ./config --prefix=/usr --install-dir=$pkgdir --devdir=/dev/input --debug --qmake4bin=/usr/lib/qt4/bin/qmake + cd "${srcdir}/${pkgname}-${pkgver}/" + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release make - make DESTDIR="$pkgdir/" install - - install -d "${pkgdir}/usr/share/applications/" - install -d "${pkgdir}/usr/share/icons/hicolor/24x24/apps/" - install -d "${pkgdir}/usr/share/icons/hicolor/64x64/apps/" - install -m644 "${srcdir}/qjoypad.desktop" "${pkgdir}/usr/share/applications/" - install -m644 "${srcdir}/$pkgname-$pkgver/icons/gamepad4-24x24.png" "${pkgdir}/usr/share/icons/hicolor/24x24/apps/qjoypad.png" - install -m644 "${srcdir}/$pkgname-$pkgver/icons/gamepad4-64x64.png" "${pkgdir}/usr/share/icons/hicolor/64x64/apps/qjoypad.png" } diff --git a/qjoypad.desktop b/qjoypad.desktop deleted file mode 100644 index 633db1da851f..000000000000 --- a/qjoypad.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Name=QJoyPad -GenericName=Simulated Keystrokes -GenericName[de]=Simulierte Tastendrücke -Comment=Trigger keystrokes and mouse actions with gamepads/joysticks -Comment[de]=Löse mit dem Gamepad/Joystick Tastendrücke und Mausbewegungen aus -Icon=qjoypad -Exec=qjoypad -Terminal=false -Type=Application -Categories=Utility;Game; -StartupNotify=false -Encoding=UTF-8 diff --git a/x11.patch b/x11.patch deleted file mode 100644 index dee1f61c9009..000000000000 --- a/x11.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- branches/multikey/src/qjoypad.pro 2011/01/20 16:14:37132 -+++ branches/multikey/src/qjoypad.pro 2011/12/22 15:17:14133 -@@ -31,7 +31,7 @@ - - TEMPLATE = app - INCLUDEPATH += . --QMAKE_LIBS += -lXtst -+QMAKE_LIBS += -lXtst -lX11 - - # Input - HEADERS += axis.h \
\ No newline at end of file |