[arch-commits] Commit in hyperion/repos (4 files)
NicoHood
nicohood at archlinux.org
Sun May 7 07:04:43 UTC 2017
Date: Sunday, May 7, 2017 @ 07:04:42
Author: nicohood
Revision: 227236
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
hyperion/repos/community-testing-i686/
hyperion/repos/community-testing-i686/PKGBUILD
(from rev 227235, hyperion/trunk/PKGBUILD)
hyperion/repos/community-testing-x86_64/
hyperion/repos/community-testing-x86_64/PKGBUILD
(from rev 227235, hyperion/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++
2 files changed, 98 insertions(+)
Copied: hyperion/repos/community-testing-i686/PKGBUILD (from rev 227235, hyperion/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-05-07 07:04:42 UTC (rev 227236)
@@ -0,0 +1,49 @@
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+# Contributor: Christopher Reimer <mail+aur[at]c-reimer[dot]de>
+
+pkgname=hyperion
+pkgver=1.03.2
+pkgrel=10
+pkgdesc="An opensource 'AmbiLight' implementation"
+arch=('i686' 'x86_64')
+url="https://github.com/hyperion-project/hyperion"
+license=('MIT')
+depends=('libusb' 'protobuf' 'python' 'qt5-base')
+optdepends=('xorg-server: X11 grabbing')
+makedepends=('cmake')
+backup=('etc/hyperion/hyperion.config.json')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tvdzwan/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('7406f5bdf323d2799fb375557603fefd1f077cda287b5aa9ff10251b22d8dd07590458515b0e01ef97fba80885aab1aa72bd8b5d26873ad8ebcc1ba53d6776ec')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ mkdir -p build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_QT5=ON \
+ -DPLATFORM=x86 \
+ -DPROTOBUF_PROTOC_EXECUTABLE=/usr/bin/protoc \
+ -DUSE_SYSTEM_PROTO_LIBS=ON \
+ ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cd build
+ make install
+ cd ..
+
+ install -Dm 644 config/hyperion.config.json.example \
+ "${pkgdir}/etc/hyperion/hyperion.config.json"
+
+ install -Dm 644 bin/service/hyperion.systemd.sh \
+ "${pkgdir}/usr/lib/systemd/system/hyperiond.service"
+
+ rm -rf "${pkgdir}/usr/share/hyperion/service"
+
+ install -Dm 644 LICENSE \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: hyperion/repos/community-testing-x86_64/PKGBUILD (from rev 227235, hyperion/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-05-07 07:04:42 UTC (rev 227236)
@@ -0,0 +1,49 @@
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+# Contributor: Christopher Reimer <mail+aur[at]c-reimer[dot]de>
+
+pkgname=hyperion
+pkgver=1.03.2
+pkgrel=10
+pkgdesc="An opensource 'AmbiLight' implementation"
+arch=('i686' 'x86_64')
+url="https://github.com/hyperion-project/hyperion"
+license=('MIT')
+depends=('libusb' 'protobuf' 'python' 'qt5-base')
+optdepends=('xorg-server: X11 grabbing')
+makedepends=('cmake')
+backup=('etc/hyperion/hyperion.config.json')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tvdzwan/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('7406f5bdf323d2799fb375557603fefd1f077cda287b5aa9ff10251b22d8dd07590458515b0e01ef97fba80885aab1aa72bd8b5d26873ad8ebcc1ba53d6776ec')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ mkdir -p build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DENABLE_QT5=ON \
+ -DPLATFORM=x86 \
+ -DPROTOBUF_PROTOC_EXECUTABLE=/usr/bin/protoc \
+ -DUSE_SYSTEM_PROTO_LIBS=ON \
+ ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cd build
+ make install
+ cd ..
+
+ install -Dm 644 config/hyperion.config.json.example \
+ "${pkgdir}/etc/hyperion/hyperion.config.json"
+
+ install -Dm 644 bin/service/hyperion.systemd.sh \
+ "${pkgdir}/usr/lib/systemd/system/hyperiond.service"
+
+ rm -rf "${pkgdir}/usr/share/hyperion/service"
+
+ install -Dm 644 LICENSE \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list