[arch-commits] Commit in lirc/repos/staging-x86_64 (8 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 13:26:08 UTC 2020
Date: Thursday, November 12, 2020 @ 13:26:08
Author: foutrelis
Revision: 400561
archrelease: copy trunk to staging-x86_64
Added:
lirc/repos/staging-x86_64/PKGBUILD
(from rev 400560, lirc/trunk/PKGBUILD)
lirc/repos/staging-x86_64/lirc-0.10-build-fix.patch
(from rev 400560, lirc/trunk/lirc-0.10-build-fix.patch)
lirc/repos/staging-x86_64/lirc.logrotate
(from rev 400560, lirc/trunk/lirc.logrotate)
lirc/repos/staging-x86_64/lirc.tmpfiles
(from rev 400560, lirc/trunk/lirc.tmpfiles)
Deleted:
lirc/repos/staging-x86_64/PKGBUILD
lirc/repos/staging-x86_64/lirc-0.10-build-fix.patch
lirc/repos/staging-x86_64/lirc.logrotate
lirc/repos/staging-x86_64/lirc.tmpfiles
---------------------------+
PKGBUILD | 112 ++++++++++++++++++++++----------------------
lirc-0.10-build-fix.patch | 60 +++++++++++------------
lirc.logrotate | 10 +--
lirc.tmpfiles | 2
4 files changed, 92 insertions(+), 92 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 13:26:03 UTC (rev 400560)
+++ PKGBUILD 2020-11-12 13:26:08 UTC (rev 400561)
@@ -1,56 +0,0 @@
-# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
-# Contributor: Paul Mattal <paul at archlinux.org>
-
-pkgname=lirc
-_pkgver=0.10.1
-[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
-pkgrel=7
-epoch=1
-pkgdesc="Linux Infrared Remote Control utilities"
-arch=('x86_64')
-url="https://www.lirc.org/"
-license=('GPL')
-depends=('alsa-lib' 'libx11' 'libftdi' 'libusb-compat')
-makedepends=('help2man' 'alsa-lib' 'libx11' 'libxslt' 'python' 'python-setuptools'
- 'systemd')
-optdepends=('python: for lirc-setup, irdb-get and pronto2lirc')
-provides=('lirc-utils')
-conflicts=('lirc-utils')
-replaces=('lirc-utils')
-backup=('etc/lirc/lirc_options.conf' 'etc/lirc/lircd.conf' 'etc/lirc/lircmd.conf')
-source=("https://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2"
- lirc-0.10-build-fix.patch
- lirc.logrotate
- lirc.tmpfiles)
-sha1sums=('9d6f6d18ac566a96ef4ca1d6909a4e8bc517d48a'
- '952ce902c94d822b0113d8e74bc6fda6a551ad7e'
- '4342b004eb53d51fcbb9af2cf136bb4990874608'
- '5cd3f206e6e60632d9bea2ce9d22dbe5283eb129')
-
-prepare() {
- cd "${srcdir}/lirc-${_pkgver}"
-
- patch -p1 -i ../lirc-0.10-build-fix.patch
-
- autoreconf -fi
- automake -ac
-}
-
-build() {
- cd "${srcdir}/lirc-${_pkgver}"
-
- HAVE_UINPUT=1 ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
-}
-
-package() {
- cd "${srcdir}/lirc-${_pkgver}"
-
- make DESTDIR="${pkgdir}" -j1 install
-
- install -Dm644 "${srcdir}"/lirc.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/lirc.conf
- install -Dm644 "${srcdir}"/lirc.logrotate "${pkgdir}"/etc/logrotate.d/lirc
-
- rmdir "${pkgdir}"/var/{run/lirc/,run/}
-}
Copied: lirc/repos/staging-x86_64/PKGBUILD (from rev 400560, lirc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 13:26:08 UTC (rev 400561)
@@ -0,0 +1,56 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Paul Mattal <paul at archlinux.org>
+
+pkgname=lirc
+_pkgver=0.10.1
+[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
+pkgrel=8
+epoch=1
+pkgdesc="Linux Infrared Remote Control utilities"
+arch=('x86_64')
+url="https://www.lirc.org/"
+license=('GPL')
+depends=('alsa-lib' 'libx11' 'libftdi' 'libusb-compat')
+makedepends=('help2man' 'alsa-lib' 'libx11' 'libxslt' 'python' 'python-setuptools'
+ 'systemd')
+optdepends=('python: for lirc-setup, irdb-get and pronto2lirc')
+provides=('lirc-utils')
+conflicts=('lirc-utils')
+replaces=('lirc-utils')
+backup=('etc/lirc/lirc_options.conf' 'etc/lirc/lircd.conf' 'etc/lirc/lircmd.conf')
+source=("https://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2"
+ lirc-0.10-build-fix.patch
+ lirc.logrotate
+ lirc.tmpfiles)
+sha1sums=('9d6f6d18ac566a96ef4ca1d6909a4e8bc517d48a'
+ '952ce902c94d822b0113d8e74bc6fda6a551ad7e'
+ '4342b004eb53d51fcbb9af2cf136bb4990874608'
+ '5cd3f206e6e60632d9bea2ce9d22dbe5283eb129')
+
+prepare() {
+ cd "${srcdir}/lirc-${_pkgver}"
+
+ patch -p1 -i ../lirc-0.10-build-fix.patch
+
+ autoreconf -fi
+ automake -ac
+}
+
+build() {
+ cd "${srcdir}/lirc-${_pkgver}"
+
+ HAVE_UINPUT=1 ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd "${srcdir}/lirc-${_pkgver}"
+
+ make DESTDIR="${pkgdir}" -j1 install
+
+ install -Dm644 "${srcdir}"/lirc.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/lirc.conf
+ install -Dm644 "${srcdir}"/lirc.logrotate "${pkgdir}"/etc/logrotate.d/lirc
+
+ rmdir "${pkgdir}"/var/{run/lirc/,run/}
+}
Deleted: lirc-0.10-build-fix.patch
===================================================================
--- lirc-0.10-build-fix.patch 2020-11-12 13:26:03 UTC (rev 400560)
+++ lirc-0.10-build-fix.patch 2020-11-12 13:26:08 UTC (rev 400561)
@@ -1,30 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index 58347d8..8c7fca2 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -77,15 +77,10 @@ AC_TYPE_UINT64_T
-
- dnl AC_TYPE_GETGROUPS seems broken on recent MacOS, so:
- AC_MSG_CHECKING([Figure out if getgrouplist() needs gid_t or int])
--oldcflags="$CFLAGS"
--export CFLAGS=-Werror
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- #include <unistd.h>
--#include <grp.h>
-- ]], [[
--gid_t groups[32]; int ngroups; const char* user = "root";
--getgrouplist(user, 1, groups, &ngroups);
-- ]])],[
-+int getgroups(int gidsetsize, gid_t grouplist[]);
-+ ]], [[ ]])],[
- AC_MSG_RESULT(gid_t)
- AC_DEFINE(GETGROUPS_T,[gid_t])
- ],[
-@@ -93,7 +88,6 @@ getgrouplist(user, 1, groups, &ngroups);
- AC_DEFINE(GETGROUPS_T,[int])
- ]
- )
--export CFLAGS="$oldcflags"
-
- dnl Checks for library functions.
- AC_CHECK_FUNCS(gethostname gettimeofday mkfifo select socket strdup \
Copied: lirc/repos/staging-x86_64/lirc-0.10-build-fix.patch (from rev 400560, lirc/trunk/lirc-0.10-build-fix.patch)
===================================================================
--- lirc-0.10-build-fix.patch (rev 0)
+++ lirc-0.10-build-fix.patch 2020-11-12 13:26:08 UTC (rev 400561)
@@ -0,0 +1,30 @@
+diff --git a/configure.ac b/configure.ac
+index 58347d8..8c7fca2 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -77,15 +77,10 @@ AC_TYPE_UINT64_T
+
+ dnl AC_TYPE_GETGROUPS seems broken on recent MacOS, so:
+ AC_MSG_CHECKING([Figure out if getgrouplist() needs gid_t or int])
+-oldcflags="$CFLAGS"
+-export CFLAGS=-Werror
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+ #include <unistd.h>
+-#include <grp.h>
+- ]], [[
+-gid_t groups[32]; int ngroups; const char* user = "root";
+-getgrouplist(user, 1, groups, &ngroups);
+- ]])],[
++int getgroups(int gidsetsize, gid_t grouplist[]);
++ ]], [[ ]])],[
+ AC_MSG_RESULT(gid_t)
+ AC_DEFINE(GETGROUPS_T,[gid_t])
+ ],[
+@@ -93,7 +88,6 @@ getgrouplist(user, 1, groups, &ngroups);
+ AC_DEFINE(GETGROUPS_T,[int])
+ ]
+ )
+-export CFLAGS="$oldcflags"
+
+ dnl Checks for library functions.
+ AC_CHECK_FUNCS(gethostname gettimeofday mkfifo select socket strdup \
Deleted: lirc.logrotate
===================================================================
--- lirc.logrotate 2020-11-12 13:26:03 UTC (rev 400560)
+++ lirc.logrotate 2020-11-12 13:26:08 UTC (rev 400561)
@@ -1,5 +0,0 @@
-/var/log/lircd {
- missingok
- notifempty
- delaycompress
-}
Copied: lirc/repos/staging-x86_64/lirc.logrotate (from rev 400560, lirc/trunk/lirc.logrotate)
===================================================================
--- lirc.logrotate (rev 0)
+++ lirc.logrotate 2020-11-12 13:26:08 UTC (rev 400561)
@@ -0,0 +1,5 @@
+/var/log/lircd {
+ missingok
+ notifempty
+ delaycompress
+}
Deleted: lirc.tmpfiles
===================================================================
--- lirc.tmpfiles 2020-11-12 13:26:03 UTC (rev 400560)
+++ lirc.tmpfiles 2020-11-12 13:26:08 UTC (rev 400561)
@@ -1 +0,0 @@
-d /run/lirc 0755 root root -
Copied: lirc/repos/staging-x86_64/lirc.tmpfiles (from rev 400560, lirc/trunk/lirc.tmpfiles)
===================================================================
--- lirc.tmpfiles (rev 0)
+++ lirc.tmpfiles 2020-11-12 13:26:08 UTC (rev 400561)
@@ -0,0 +1 @@
+d /run/lirc 0755 root root -
More information about the arch-commits
mailing list