New package: i3lock-color-2.11

This commit is contained in:
jtalowell 2018-06-29 11:48:27 +10:00 committed by maxice8
parent 262fd4a3a1
commit 6968042f9c
2 changed files with 45 additions and 0 deletions

View 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;

View 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
}