mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 01:12:58 +02:00
New package: i3lock-color-2.11
This commit is contained in:
parent
262fd4a3a1
commit
6968042f9c
2 changed files with 45 additions and 0 deletions
20
srcpkgs/i3lock-color/patches/fix-musl.patch
Normal file
20
srcpkgs/i3lock-color/patches/fix-musl.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
From c265fea7039300ff2283446ce6e7bc03439e2860 Mon Sep 17 00:00:00 2001
|
||||||
|
From: maxice8 <thinkabit.ukim@gmail.com>
|
||||||
|
Date: Wed, 27 Jun 2018 21:55:47 -0300
|
||||||
|
Subject: [PATCH] jpg.h: add include for sys/types.h and define _GNU_SOURCE.
|
||||||
|
|
||||||
|
this allows us to use uint on musl libc systems like Void Linux and
|
||||||
|
Alpine.
|
||||||
|
---
|
||||||
|
--- jpg.h
|
||||||
|
+++ jpg.h
|
||||||
|
@@ -1,6 +1,9 @@
|
||||||
|
#ifndef _JPG_H
|
||||||
|
#define _JPG_H
|
||||||
|
|
||||||
|
+#include <sys/types.h>
|
||||||
|
+
|
||||||
|
+#define _GNU_SOURCE 1
|
||||||
|
typedef struct {
|
||||||
|
uint height;
|
||||||
|
uint width;
|
25
srcpkgs/i3lock-color/template
Normal file
25
srcpkgs/i3lock-color/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'i3lock-color'
|
||||||
|
pkgname=i3lock-color
|
||||||
|
version=2.11
|
||||||
|
revision=1
|
||||||
|
wrksrc="${pkgname}-${version}-c"
|
||||||
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="pkg-config automake"
|
||||||
|
makedepends="libev-devel cairo-devel pam-devel libxkbcommon-devel xcb-util-devel
|
||||||
|
xcb-util-image-devel libjpeg-turbo-devel"
|
||||||
|
short_desc="Screenlocker forked from i3lock with more features"
|
||||||
|
maintainer="jtalowell <jtalowell@protonmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/PandorasFox/i3lock-color"
|
||||||
|
distfiles="https://github.com/PandorasFox/i3lock-color/archive/${version}-c.tar.gz"
|
||||||
|
checksum=376122e9dd6fd4e3572cb5114ca59417a9da4a8c3d65c347f5bf36e3058d077e
|
||||||
|
conf_files="/etc/pam.d/i3lock"
|
||||||
|
conflicts="i3lock"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -i
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue