-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
35 additions
and
29 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Maintainer: Maxime Dirksen <[email protected]> | ||
# Co-Maintener: supdrewin <supdrewin@outlook.com> | ||
# Co-Maintener: supdrewin <supdrewin at outlook dot com> | ||
# Co-Maintainer: Fabio 'Lolix' Loli <[email protected]> | ||
# Contributor: Nikolay Bryskin <[email protected]> | ||
# Co-Maintainer: Nikolay Bryskin <[email protected]> | ||
|
||
pkgname=linux-enable-ir-emitter-git | ||
pkgver=4.0.0.r7.g294ac8d | ||
pkgver=4.1.2.r3.ga6d606f | ||
pkgrel=1 | ||
pkgdesc="Enables infrared cameras that are not directly enabled out-of-the box" | ||
url="https://github.com/EmixamPP/linux-enable-ir-emitter" | ||
|
@@ -19,22 +19,20 @@ depends=(python opencv fmt) | |
|
||
install=linux-enable-ir-emitter.install | ||
|
||
source=("git+https://github.com/EmixamPP/linux-enable-ir-emitter#branch=dev") | ||
source=("${pkgname}::git+${url}.git") | ||
sha256sums=('SKIP') | ||
|
||
name=${pkgname/-git} | ||
|
||
pkgver() { | ||
cd "${srcdir}/${name}" | ||
cd "${srcdir}/${pkgname}" | ||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | ||
} | ||
|
||
build() { | ||
make -C "${srcdir}/linux-enable-ir-emitter/sources/driver/" | ||
make -C "${srcdir}/${pkgname}/sources/driver/" | ||
} | ||
|
||
package() { | ||
cd "${srcdir}/${name}" | ||
cd "${srcdir}/${pkgname}" | ||
|
||
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}" | ||
|
||
|
@@ -46,13 +44,13 @@ package() { | |
|
||
# executable | ||
install -d "${pkgdir}"/usr/bin/ | ||
chmod 755 "${pkgdir}"/usr/lib/linux-enable-ir-emitter/linux-enable-ir-emitter.py | ||
chmod +x "${pkgdir}"/usr/lib/linux-enable-ir-emitter/linux-enable-ir-emitter.py | ||
ln -fs /usr/lib/linux-enable-ir-emitter/linux-enable-ir-emitter.py \ | ||
"${pkgdir}"/usr/bin/linux-enable-ir-emitter | ||
"${pkgdir}"/usr/bin/linux-enable-ir-emitter | ||
|
||
# auto complete for bash | ||
install -Dm 644 sources/autocomplete/${name} -t "${pkgdir}"/usr/share/bash-completion/completions/ | ||
install -Dm 644 sources/autocomplete/${pkgname/-git/} -t "${pkgdir}"/usr/share/bash-completion/completions/ | ||
|
||
# drivers folder | ||
mkdir -p "${pkgdir}"/etc/${name}/ | ||
mkdir -p "${pkgdir}"/etc/${pkgname}/ | ||
} |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Maintainer: Maxime Dirksen <[email protected]> | ||
# Co-Maintener: Supdrewin <supdrewin@outlook.com> | ||
# Co-Maintener: Supdrewin <supdrewin at outlook dot com> | ||
# Co-Maintainer: Andrey Kolchenko <[email protected]> | ||
# Co-Maintainer: Rui ZHAO <[email protected]> | ||
# Contributor: Antoine Bertin <[email protected]> | ||
|
||
pkgname=linux-enable-ir-emitter | ||
pkgver=4.1.2 | ||
pkgver=4.1.4 | ||
pkgrel=1 | ||
epoch=1 | ||
pkgdesc="Enables infrared cameras that are not directly enabled out-of-the box." | ||
|
@@ -20,17 +20,15 @@ depends=(python opencv fmt) | |
|
||
install=linux-enable-ir-emitter.install | ||
|
||
source=("https://github.com/EmixamPP/linux-enable-ir-emitter/archive/refs/tags/${pkgver}.tar.gz") | ||
sha256sums=('SKIP') | ||
|
||
name=${pkgname}-${pkgver} | ||
source=("${url}/archive/refs/tags/${pkgver}.tar.gz") | ||
sha256sums=('skip') | ||
|
||
build() { | ||
make -C "${srcdir}/${name}/sources/driver/" | ||
make -C "${srcdir}/${pkgname}-${pkgver}/sources/driver/" | ||
} | ||
|
||
package() { | ||
cd "${srcdir}/${name}" | ||
cd "${srcdir}/${pkgname}-${pkgver}" | ||
|
||
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}" | ||
|
||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
%global debug_package %{nil} | ||
|
||
Name: linux-enable-ir-emitter | ||
Version: 4.1.2 | ||
Version: 4.1.4 | ||
Release: 1%{?dist} | ||
Summary: Enables infrared cameras that are not directly enabled out-of-the box | ||
URL: https://github.com/EmixamPP/%{name} | ||
|
@@ -89,6 +89,9 @@ if [ "$1" -eq 0 ]; then | |
fi | ||
|
||
%changelog | ||
* Thu Aug 11 2022 Maxime Dirksen <[email protected]> - 4.1.4-1 | ||
- Force V4l2 backend in opencv | ||
- Improvement of driver generation | ||
* Mon Jul 4 2022 Maxime Dirksen <[email protected]> - 4.1.2-1 | ||
- Asynchronous camera triggering | ||
- Fix camera triggering issue | ||
|
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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
linux-enable-ir-emitter (4.1.4) kinetic; urgency=medium | ||
|
||
* Force V4l2 backend in opencv | ||
* Improvement of driver generation | ||
|
||
-- Maxime Dirksen <[email protected]> Thu, 11 Aug 2022 12:00:00 +0200 | ||
|
||
linux-enable-ir-emitter (4.1.2) jammy; urgency=medium | ||
|
||
* Asynchronous camera triggering | ||
|
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
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
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