diff options
author | Eivind Uggedal <eu@eju.no> | 2019-05-13 20:52:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-05 20:22:54 +0000 |
commit | d37c8c20dfdd6f114ae66f3d84f2f5824f0755b9 (patch) | |
tree | 4b886fc83b99101300ed917af0aab5e5049137b1 /community/dzen | |
parent | 48c2ae02c41d00060210e6b410c303e247ecf56c (diff) | |
download | aports-d37c8c20dfdd6f114ae66f3d84f2f5824f0755b9.tar.bz2 aports-d37c8c20dfdd6f114ae66f3d84f2f5824f0755b9.tar.xz |
community/dzen: moved from main
The project seems abandoned upstream. It is also based on the latest
HEAD id. I don't think it needs to be in main. When I brought
it into the tree 5 years ago there were no community repo.
Diffstat (limited to 'community/dzen')
-rw-r--r-- | community/dzen/0001-Enable-Xinerama-and-XPM.patch | 38 | ||||
-rw-r--r-- | community/dzen/APKBUILD | 33 |
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" |