i3lock-color: update to 2.12.

This commit is contained in:
Adrian Pistol 2018-10-03 15:56:46 +02:00 committed by maxice8
parent 72e31d63a7
commit c09370327e
2 changed files with 5 additions and 25 deletions

View file

@ -1,20 +0,0 @@
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

@ -1,18 +1,18 @@
# Template file for 'i3lock-color'
pkgname=i3lock-color
version=2.11
version=2.12
revision=1
wrksrc="${pkgname}-${version}-c"
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"
xcb-util-image-devel xcb-util-xrm-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
distfiles="https://github.com/PandorasFox/i3lock-color/archive/${version}.c.tar.gz"
checksum=c2ba4cfa51fee3fd2cab439805d213d8614407d93cf8eecbd4e6fa5cb4c9b7a3
conf_files="/etc/pam.d/i3lock"
conflicts="i3lock"