pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils sysutils: Add intel-backlight
details: https://anonhg.NetBSD.org/pkgsrc/rev/e51f2ebf720a
branches: trunk
changeset: 443287:e51f2ebf720a
user: nia <nia%pkgsrc.org@localhost>
date: Thu Dec 10 06:13:14 2020 +0000
description:
sysutils: Add intel-backlight
This package contains the intel_backlight program from intel-gpu-tools,
which allows controlling the backlight level on certain Intel(R) GPUs,
including i915.
Since it performs direct PCI access, it must be run as root.
diffstat:
sysutils/Makefile | 3 +-
sysutils/intel-backlight/DESCR | 5 +++
sysutils/intel-backlight/Makefile | 35 +++++++++++++++++++++++++
sysutils/intel-backlight/PLIST | 3 ++
sysutils/intel-backlight/distinfo | 7 +++++
sysutils/intel-backlight/patches/patch-Makefile | 14 ++++++++++
6 files changed, 66 insertions(+), 1 deletions(-)
diffs (101 lines):
diff -r 2ed92c054cad -r e51f2ebf720a sysutils/Makefile
--- a/sysutils/Makefile Thu Dec 10 03:03:52 2020 +0000
+++ b/sysutils/Makefile Thu Dec 10 06:13:14 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.920 2020/12/03 07:51:37 wiz Exp $
+# $NetBSD: Makefile,v 1.921 2020/12/10 06:13:14 nia Exp $
#
COMMENT= System utilities
@@ -329,6 +329,7 @@
SUBDIR+= iat
SUBDIR+= idesk
SUBDIR+= install-sh
+SUBDIR+= intel-backlight
SUBDIR+= intel-microcode-netbsd
SUBDIR+= intellij-fsnotifier
SUBDIR+= ioping
diff -r 2ed92c054cad -r e51f2ebf720a sysutils/intel-backlight/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/intel-backlight/DESCR Thu Dec 10 06:13:14 2020 +0000
@@ -0,0 +1,5 @@
+This package contains the intel_backlight program from intel-gpu-tools,
+which allows controlling the backlight level on certain Intel(R) GPUs,
+including i915.
+
+Since it performs direct PCI access, it must be run as root.
diff -r 2ed92c054cad -r e51f2ebf720a sysutils/intel-backlight/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/intel-backlight/Makefile Thu Dec 10 06:13:14 2020 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2020/12/10 06:13:15 nia Exp $
+
+DISTNAME= intel_backlight_fbsd-20200418
+PKGNAME= ${DISTNAME:S/^intel_backlight_fbsd/intel-backlight/1}
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=FreeBSDDesktop/}
+GITHUB_PROJECT= intel_backlight_fbsd
+GITHUB_TAG= a6c0e390a3d069870828713a8ba3475b31f87804
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/FreeBSDDesktop/intel_backlight_fbsd
+COMMENT= Tool for controlling backlight level on certain Intel GPUs
+LICENSE= mit
+
+BUILD_TARGET= intel_backlight
+
+MAKE_FLAGS+= CC=${CC:Q}
+MAKE_FLAGS+= INCS=
+MAKE_FLAGS+= LIBS=${LDFLAGS:Q}
+
+ONLY_FOR_PLATFORM+= *-*-i386 *-*-x86_64
+NOT_FOR_PLATFORM+= Darwin-*-*
+
+INSTALLATION_DIRS+= sbin
+INSTALLATION_DIRS+= ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/intel_backlight \
+ ${DESTDIR}${PREFIX}/sbin/intel_backlight
+ ${INSTALL_MAN} ${WRKSRC}/intel_backlight.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/intel_backlight.1
+
+.include "../../sysutils/libpciaccess/buildlink3.mk"
+.include "../../x11/libdrm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2ed92c054cad -r e51f2ebf720a sysutils/intel-backlight/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/intel-backlight/PLIST Thu Dec 10 06:13:14 2020 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/10 06:13:15 nia Exp $
+man/man1/intel_backlight.1
+sbin/intel_backlight
diff -r 2ed92c054cad -r e51f2ebf720a sysutils/intel-backlight/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/intel-backlight/distinfo Thu Dec 10 06:13:14 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/12/10 06:13:15 nia Exp $
+
+SHA1 (intel_backlight_fbsd-20200418-a6c0e390a3d069870828713a8ba3475b31f87804.tar.gz) = 8172ef0b44cb494f5012522e1962cd3b1e5e7f31
+RMD160 (intel_backlight_fbsd-20200418-a6c0e390a3d069870828713a8ba3475b31f87804.tar.gz) = c8bde19d8bd005c026e5c62b79de544508201fef
+SHA512 (intel_backlight_fbsd-20200418-a6c0e390a3d069870828713a8ba3475b31f87804.tar.gz) =
17280ba213e4e33f254f59bd37a3b3360a887600ed8da0f8ce3111335f9e6e1cd877b775b2d59e2aac95b7233cc061a4a060f1597ecec364afa355cdfedc81c9
+Size (intel_backlight_fbsd-20200418-a6c0e390a3d069870828713a8ba3475b31f87804.tar.gz) = 42408 bytes
+SHA1 (patch-Makefile) = 05af745ba67a1e09f3c4666666d269849ace6762
diff -r 2ed92c054cad -r e51f2ebf720a sysutils/intel-backlight/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/intel-backlight/patches/patch-Makefile Thu Dec 10 06:13:14 2020 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile,v 1.1 2020/12/10 06:13:15 nia Exp $
+
+Let pkgsrc take care of stripping binaries.
+
+--- Makefile.orig 2020-04-18 22:07:25.000000000 +0000
++++ Makefile
+@@ -16,7 +16,6 @@ acpi-video-intel-backlight.conf: acpi-vi
+
+ intel_backlight: $(SRC)
+ $(CC) -o intel_backlight $(INCS) $(LIBS) $(SRC) $(CFLAGS) $(LDFLAGS)
+- strip intel_backlight
+
+ install-man:
+ mkdir -p "$(DESTDIR)$(MANPREFIX)/man/man1"
Home |
Main Index |
Thread Index |
Old Index