aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-11-09 11:57:01 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-10 08:22:51 +0000
commit570c811fa2c0f6e8b5761ab94e048c43e7389486 (patch)
tree3a658c1ad4a3e2448d7655937e9d0a682af12dd5
parentc1fb67bf5adb964203c38db7e144bdf50bd2eb1b (diff)
downloadaports-570c811fa2c0f6e8b5761ab94e048c43e7389486.tar.bz2
aports-570c811fa2c0f6e8b5761ab94e048c43e7389486.tar.xz
testing/dwm: upgrade to 6.1
-rw-r--r--testing/dwm/APKBUILD20
-rw-r--r--testing/dwm/freetypeinc.patch12
2 files changed, 24 insertions, 8 deletions
diff --git a/testing/dwm/APKBUILD b/testing/dwm/APKBUILD
index d999ddf770..da6e169e91 100644
--- a/testing/dwm/APKBUILD
+++ b/testing/dwm/APKBUILD
@@ -1,20 +1,21 @@
# Contributor: Gaber Ayoubi <gaber.ayoubi@gmail.com>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=dwm
-pkgver=6.0
-pkgrel=1
+pkgver=6.1
+pkgrel=0
pkgdesc="dwm - dynamic window manager"
url="http://dwm.suckless.org"
arch="all"
license="MIT/X"
depends=""
depends_dev=""
-makedepends="$depends_dev libx11-dev libxinerama-dev"
+makedepends="libxft-dev libx11-dev libxinerama-dev"
install=""
subpackages="$pkgname-doc"
-source="http://dl.suckless.org/dwm/$pkgname-$pkgver.tar.gz"
+source="http://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz
+ freetypeinc.patch"
-_builddir="$srcdir"/dwm-$pkgver
+_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
local i
cd "$_builddir"
@@ -34,6 +35,9 @@ package() {
-C "$_builddir" install || return 1
}
-md5sums="8bb00d4142259beb11e13473b81c0857 dwm-6.0.tar.gz"
-sha256sums="b2b9483de69259eeea56844899bb2385158d3e79a42d82b10c142099fc8eeb56 dwm-6.0.tar.gz"
-sha512sums="895d1d363b3756c9ba19dbf06af34be753c1ae5971d540113d7f8901ad174c2e5944ef769b43e65f7b700f34832bb24082bc91d999b287610c9925182ce70c00 dwm-6.0.tar.gz"
+md5sums="f0b6b1093b7207f89c2a90b848c008ec dwm-6.1.tar.gz
+a5ff4aa30011dfe8b0ab7d6b35a8b6eb freetypeinc.patch"
+sha256sums="c2f6c56167f0acdbe3dc37cca9c1a19260c040f2d4800e3529a21ad7cce275fe dwm-6.1.tar.gz
+09cad929338b4caf32a7c77fa46dd6d968019e928f010c2f61a172069cccc2be freetypeinc.patch"
+sha512sums="875644bbc246088f2c87e50debbadd4bc179444b396b1b327149087e8bc5303325ebc9103a7e3c864266ee1ac683ea3cd8f0a08285c8e46fc4389d5b83a555f1 dwm-6.1.tar.gz
+6705591b265120536071490d42f31a830431ad1c74a70d36f1dba4d0aa27a96338516d19507b092c2989d3116f2219fb0849e9fb3cb84c8f1db82350f8ca0adf freetypeinc.patch"
diff --git a/testing/dwm/freetypeinc.patch b/testing/dwm/freetypeinc.patch
new file mode 100644
index 0000000000..3e3fff6846
--- /dev/null
+++ b/testing/dwm/freetypeinc.patch
@@ -0,0 +1,12 @@
+diff -upr dwm-6.1.orig/config.mk dwm-6.1/config.mk
+--- dwm-6.1.orig/config.mk 2015-11-09 11:40:01.970911763 +0100
++++ dwm-6.1/config.mk 2015-11-09 11:40:26.330814681 +0100
+@@ -17,8 +17,6 @@ XINERAMAFLAGS = -DXINERAMA
+ # freetype
+ FREETYPELIBS = -lfontconfig -lXft
+ FREETYPEINC = /usr/include/freetype2
+-# OpenBSD (uncomment)
+-FREETYPEINC = ${X11INC}/freetype2
+
+ # includes and libs
+ INCS = -I${X11INC} -I${FREETYPEINC}