-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(qlcplus-qt6-git): switch from qlcplus
- Loading branch information
Showing
9 changed files
with
103 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CI_PKGBUILD_SOURCE=custom |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
pkgbase = qlcplus-qt6-git | ||
pkgdesc = Q Light Controller Plus to control professional DMX lighting fixtures | ||
pkgver = 4.14.0.r3.g7b60262 | ||
pkgrel = 1 | ||
url = https://github.com/mcallegari/qlcplus | ||
arch = x86_64 | ||
arch = armv7h | ||
license = Apache-2.0 | ||
makedepends = cmake | ||
makedepends = git | ||
makedepends = ninja | ||
makedepends = qt6-tools | ||
depends = fftw | ||
depends = libftdi | ||
depends = libmad | ||
depends = libsndfile | ||
depends = qt6-multimedia | ||
depends = qt6-serialport | ||
depends = qt6-svg | ||
depends = qt6-websockets | ||
optdepends = ola: Open Lighting Architecture plugin | ||
provides = qlcplus | ||
conflicts = qlcplus | ||
source = qlcplus::git+https://github.com/mcallegari/qlcplus.git | ||
sha256sums = SKIP | ||
|
||
pkgname = qlcplus-qt6-git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[qlcplus-qt6-git] | ||
source = "git" | ||
git = "https://github.com/mcallegari/qlcplus.git" | ||
include_regex = 'QLC\+_[0-9\.]+' | ||
prefix = 'QLC+_' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Maintainer: aur.chaotic.cx | ||
|
||
## links | ||
# http://qlcplus.org/ | ||
# https://github.com/mcallegari/qlcplus | ||
|
||
_pkgname="qlcplus" | ||
pkgname="$_pkgname-qt6-git" | ||
pkgver=4.14.0.r3.g7b60262 | ||
pkgrel=1 | ||
pkgdesc="Q Light Controller Plus to control professional DMX lighting fixtures" | ||
url="https://github.com/mcallegari/qlcplus" | ||
license=('Apache-2.0') | ||
arch=('x86_64' 'armv7h') | ||
|
||
depends=( | ||
'fftw' | ||
'libftdi' | ||
'libmad' | ||
'libsndfile' | ||
'qt6-multimedia' | ||
'qt6-serialport' | ||
'qt6-svg' | ||
'qt6-websockets' | ||
) | ||
makedepends=( | ||
'cmake' | ||
'git' | ||
'ninja' | ||
'qt6-tools' | ||
) | ||
optdepends=( | ||
'ola: Open Lighting Architecture plugin' | ||
) | ||
|
||
provides=("$_pkgname") | ||
conflicts=("$_pkgname") | ||
|
||
_pkgsrc="$_pkgname" | ||
source=("$_pkgsrc"::"git+$url.git") | ||
sha256sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "$_pkgsrc" | ||
local _tag _version _revision _hash | ||
_tag=$(git tag | grep -E '^QLC\+_[0-9\.]+$' | sort -rV | head -1) | ||
_version=$(sed -E 's&^[^0-9]*&&' <<< "${_tag:?}") | ||
_revision=$(git rev-list --count --cherry-pick "$_tag"...HEAD) | ||
_hash=$(git rev-parse --short=7 HEAD) | ||
printf '%s.r%s.g%s' "${_version:?}" "${_revision:?}" "${_hash:?}" | ||
} | ||
|
||
build() { | ||
local _cmake_options=( | ||
-B build | ||
-S "$_pkgsrc" | ||
-G Ninja | ||
-DCMAKE_BUILD_TYPE=None | ||
-DCMAKE_INSTALL_PREFIX='/usr' | ||
-DQT_VERSION_MAJOR=6 | ||
-Wno-dev | ||
) | ||
|
||
cmake "${_cmake_options[@]}" | ||
cmake --build build | ||
} | ||
|
||
package() { | ||
DESTDIR="$pkgdir" cmake --install build | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
35e3442
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#2392 #3157