mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
berry: 0.1.11
This commit is contained in:
parent
10874b0b38
commit
6591403ab9
2 changed files with 14 additions and 43 deletions
|
@ -1,41 +1,11 @@
|
||||||
--- a/config.mk
|
--- a/configure
|
||||||
+++ b/config.mk
|
+++ b/configure
|
||||||
@@ -9,11 +9,11 @@
|
@@ -26,7 +26,7 @@
|
||||||
# Customize below to fit your system
|
progs="CC=gcc CC=clang CC=cc INSTALL=install"
|
||||||
|
|
||||||
# paths
|
# Required dependencies
|
||||||
-PREFIX = /usr/local
|
-pkgs="x11 xinerama fontconfig xft"
|
||||||
+PREFIX = /usr
|
+pkgs="x11 xinerama fontconfig xft freetype2"
|
||||||
MANPREFIX = ${PREFIX}/share/man
|
|
||||||
|
|
||||||
-X11INC = /usr/X11R6/include
|
# Default pkg flags to substitute when pkg-config is not found
|
||||||
-X11LIB = /usr/X11R6/lib
|
pkg_libs="-lX11 -lXinerama -lfontconfig -lfreetype -lXft"
|
||||||
+X11INC = $(XBPS_CROSS_BASE)/usr/include
|
|
||||||
+X11LIB = $(XBPS_CROSS_BASE)/usr/lib
|
|
||||||
|
|
||||||
# Xinerama, comment if you don't want it
|
|
||||||
XINERAMALIBS = -lXinerama
|
|
||||||
@@ -21,7 +21,7 @@
|
|
||||||
|
|
||||||
# freetype
|
|
||||||
FREETYPELIBS = -lfontconfig -lXft
|
|
||||||
-FREETYPEINC = /usr/include/freetype2
|
|
||||||
+FREETYPEINC = $(XBPS_CROSS_BASE)/usr/include/freetype2
|
|
||||||
# OpenBSD (uncomment)
|
|
||||||
#FREETYPEINC = ${X11INC}/freetype2
|
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@
|
|
||||||
# flags
|
|
||||||
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ${DEBUG_CPPFLAGS}
|
|
||||||
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS}
|
|
||||||
-CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS} $(NAME_DEFINES)
|
|
||||||
+CFLAGS += -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS} ${DEBUG_CFLAGS} $(NAME_DEFINES)
|
|
||||||
LDFLAGS = ${LIBS}
|
|
||||||
|
|
||||||
# Solaris
|
|
||||||
@@ -44,4 +44,4 @@
|
|
||||||
#LDFLAGS = ${LIBS}
|
|
||||||
|
|
||||||
# compiler and linker
|
|
||||||
-CC = cc
|
|
||||||
+#CC = cc
|
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
# Template file for 'berry'
|
# Template file for 'berry'
|
||||||
pkgname=berry
|
pkgname=berry
|
||||||
version=0.1.7
|
version=0.1.11
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=configure
|
||||||
make_use_env=yes
|
configure_args="--prefix=/usr"
|
||||||
|
hostmakedepends="pkg-config which"
|
||||||
makedepends="libX11-devel libXinerama-devel libXft-devel freetype-devel"
|
makedepends="libX11-devel libXinerama-devel libXft-devel freetype-devel"
|
||||||
short_desc="Healthy, bite-sized window manager"
|
short_desc="Healthy, bite-sized window manager"
|
||||||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/JLErvin/berry"
|
homepage="https://github.com/JLErvin/berry"
|
||||||
distfiles="https://github.com/JLErvin/berry/archive/${version}.tar.gz"
|
distfiles="https://github.com/JLErvin/berry/archive/${version}.tar.gz"
|
||||||
checksum=1d6de883a0cd96ceb167c5ad2e855b0b15fa84872d41a22e05d0fdf0cf4be6b8
|
checksum=9beab0c1458fba7cf304dd45b710829640342bc42cfe61f0ae8c2b5391163142
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue