diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-03-15 20:01:07 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-03-15 20:01:07 +0000 |
commit | 8b45e21403ceb94f1f7ac3c097a4633c41f589a8 (patch) | |
tree | 24b6a84d23a39413a5e78dac0ed9d22a534ac69d /user/gmime | |
parent | 88d39bd86ba879437ef28ea2c936dc13617b8774 (diff) | |
parent | 1bd7fb03c8284065c53d04d0d39d5832f80f2f68 (diff) | |
download | packages-8b45e21403ceb94f1f7ac3c097a4633c41f589a8.tar.gz packages-8b45e21403ceb94f1f7ac3c097a4633c41f589a8.tar.bz2 packages-8b45e21403ceb94f1f7ac3c097a4633c41f589a8.tar.xz packages-8b45e21403ceb94f1f7ac3c097a4633c41f589a8.zip |
Merge branch 'notmuch' into 'master'
New packages: gmime and notmuch
See merge request !198
Diffstat (limited to 'user/gmime')
-rw-r--r-- | user/gmime/3.2.3-broken-tests.patch | 31 | ||||
-rw-r--r-- | user/gmime/APKBUILD | 48 |
2 files changed, 79 insertions, 0 deletions
diff --git a/user/gmime/3.2.3-broken-tests.patch b/user/gmime/3.2.3-broken-tests.patch new file mode 100644 index 000000000..219580761 --- /dev/null +++ b/user/gmime/3.2.3-broken-tests.patch @@ -0,0 +1,31 @@ +From e62f2a250092fc30ebe242c6acbf46320c1d0891 Mon Sep 17 00:00:00 2001 +From: Luis Ressel <aranea@aixah.de> +Date: Mon, 25 Feb 2019 07:34:54 +0100 +Subject: [PATCH] Disable broken tests + +test-iconv relies on an glibc-specific iso-2022-jp encoding behaviour; +test-filters uses the UTF-8 --> EUC-KR conversion which is not +supported by musl. +--- + tests/Makefile.am | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 9a2ee8d..f59c8ed 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -10,11 +10,9 @@ AM_CPPFLAGS = \ + $(GLIB_CFLAGS) + + AUTOMATED_TESTS = \ +- test-iconv \ + test-streams \ + test-cat \ + test-encodings \ +- test-filters \ + test-headers \ + test-mime-part \ + test-partial \ +-- +2.19.2 + diff --git a/user/gmime/APKBUILD b/user/gmime/APKBUILD new file mode 100644 index 000000000..37f1bc7ee --- /dev/null +++ b/user/gmime/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Luis Ressel <aranea@aixah.de> +# Maintainer: Luis Ressel <aranea@aixah.de> +pkgname=gmime +pkgver=3.2.3 +pkgrel=0 +pkgdesc="MIME utility library" +url="https://developer.gnome.org/gmime/" +arch="all" +license="LGPL-2.1+" +depends="" +depends_dev="gpgme-dev libidn2-dev zlib-dev" +makedepends="$depends_dev" +checkdepends="gnupg" +subpackages="$pkgname-dev $pkgname-doc" +source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz + 3.2.3-broken-tests.patch" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-crypto \ + --disable-vala \ + --with-gpgme \ + --with-libidn + make +} + +prepare() { + default_prepare + autoreconf -vif +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="abaf9059baf0c045d5b62757953ee2fa0779462eb32142bb41be40c376fc7ac2b3e4a56fd66177fbbe1dca35c6168a251542b14a844125c2cfcc9a99888179b4 gmime-3.2.3.tar.xz +443e768e15eb25116368739957ac31a30cd10a921c113b76af1a0baf0c690ca1346463577289d24ce8f46deb014dd014040033bc1f3d02d8a2190c70dd4c2a74 3.2.3-broken-tests.patch" |