aboutsummaryrefslogtreecommitdiffstats
path: root/community/dzen
diff options
context:
space:
mode:
Diffstat (limited to 'community/dzen')
-rw-r--r--community/dzen/0001-Enable-Xinerama-and-XPM.patch38
-rw-r--r--community/dzen/APKBUILD33
2 files changed, 71 insertions, 0 deletions
diff --git a/community/dzen/0001-Enable-Xinerama-and-XPM.patch b/community/dzen/0001-Enable-Xinerama-and-XPM.patch
new file mode 100644
index 0000000000..2c8e80f9d2
--- /dev/null
+++ b/community/dzen/0001-Enable-Xinerama-and-XPM.patch
@@ -0,0 +1,38 @@
+From 7567726279137c6af5c62a52a1fa32d4a7c2b56e Mon Sep 17 00:00:00 2001
+From: Olivier Mauras <olivier@mauras.ch>
+Date: Tue, 24 Mar 2015 14:30:32 +0100
+Subject: [PATCH] Enable Xinerama and XPM
+
+---
+ config.mk | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/config.mk b/config.mk
+index 311f785..0cd233e 100644
+--- a/config.mk
++++ b/config.mk
+@@ -39,8 +39,8 @@ INCS = -I. -I/usr/include -I${X11INC}
+
+
+ ## Option 5: With XFT
+-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs xft`
+-CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XFT `pkg-config --cflags xft`
++#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs xft`
++#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XFT `pkg-config --cflags xft`
+
+
+ ## Option 6: With XPM and XFT
+@@ -54,8 +54,8 @@ CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XFT `pkg-config --cfl
+
+
+ ## Option 8: With Xinerama and XPM and XFT
+-#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama -lXpm `pkg-config --libs xft`
+-#CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`
++LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXinerama -lXpm `pkg-config --libs xft`
++CFLAGS = -Wall -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA -DDZEN_XPM -DDZEN_XFT `pkg-config --cflags xft`
+
+
+
+--
+2.3.3
+
diff --git a/community/dzen/APKBUILD b/community/dzen/APKBUILD
new file mode 100644
index 0000000000..44e08e5728
--- /dev/null
+++ b/community/dzen/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Eivind Uggedal <eu@eju.no>
+# Maintainer: Cág <ca6c@bitmessage.ch>
+pkgname=dzen
+_pkgver=488ab66019f475e35e067646621827c18a879ba1
+pkgver=0.9.5
+pkgrel=3
+pkgdesc="A general purpose messaging, notification and menuing program for X11"
+url="https://github.com/robm/dzen"
+arch="all"
+license="MIT"
+makedepends="libx11-dev libxft-dev libxinerama-dev libxpm-dev"
+subpackages="$pkgname-gadgets"
+options="!check" # no test suite
+source="$pkgname-$_pkgver.tar.gz::$url/archive/$_pkgver.tar.gz
+ 0001-Enable-Xinerama-and-XPM.patch"
+builddir="$srcdir/$pkgname-$_pkgver"
+
+build() {
+ make
+ make -C gadgets
+}
+
+package() {
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
+
+gadgets() {
+ cd "$builddir/gadgets"
+ make PREFIX=/usr DESTDIR="$subpkgdir" install
+}
+
+sha512sums="e750ab9c62dad311bf478d79c15ffdc1ef108fe2c3ed5df82316d879aad000bee785d304048f5daae237468f6fe018f14fc05d0114d68d873f766dbf1dfebbc9 dzen-488ab66019f475e35e067646621827c18a879ba1.tar.gz
+06cf3474926e7f2d612e36a96e10673a2d261a9a1dd9fec8c2382f1ceb9f1d203232980d73910723cd050d6d25c14ef2fae81b6413a58056a183fec1936cd73a 0001-Enable-Xinerama-and-XPM.patch"