aboutsummaryrefslogtreecommitdiffstats
path: root/community/gmime
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-10-05 15:23:17 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-10-06 14:49:04 +0200
commit937c142c6a13d8773def211fe99887b96abc5887 (patch)
treeaa255601d5837107a946371e6764f54dd292f8cb /community/gmime
parent401a3bd0cffb3a4b4e5f98fe62afeb2a027c7a7c (diff)
downloadaports-937c142c6a13d8773def211fe99887b96abc5887.tar.bz2
aports-937c142c6a13d8773def211fe99887b96abc5887.tar.xz
community/gmime: upgrade to 3.2.4
* Cleanup * Adopt maintainership * Fix license * Enable vala bindings * add -static subpackage
Diffstat (limited to 'community/gmime')
-rw-r--r--community/gmime/APKBUILD33
1 files changed, 17 insertions, 16 deletions
diff --git a/community/gmime/APKBUILD b/community/gmime/APKBUILD
index a3b109d936..e0007bd860 100644
--- a/community/gmime/APKBUILD
+++ b/community/gmime/APKBUILD
@@ -1,32 +1,33 @@
-# Contributor:
-# Maintainer:
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gmime
-pkgver=3.2.3
+pkgver=3.2.4
pkgrel=0
-pkgdesc="glib mime library"
-url="http://spruce.sourceforge.net/gmime/"
+pkgdesc="Glorious MIME Utility Library"
+url="https://github.com/jstedfast/gmime"
arch="all"
-license="LGPL"
-depends_dev="glib-dev gpgme-dev"
-makedepends="$depends_dev intltool"
-subpackages="$pkgname-dev $pkgname-doc"
-source="http://ftp.acc.umu.se/pub/GNOME/sources/gmime/${pkgver%.*}/gmime-$pkgver.tar.xz"
-
-builddir="$srcdir/$pkgname-$pkgver"
+license="LGPL-2.1-or-later"
+makedepends="glib-dev gpgme-dev libnsl-dev libidn2-dev vala gobject-introspection-dev"
+options="!check" # https://github.com/jstedfast/gmime/issues/63
+subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/gmime/${pkgver%.*}/gmime-$pkgver.tar.xz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
- --sysconfdir=/etc
+ --sysconfdir=/etc \
+ --enable-vala
make
}
+check() {
+ make check
+}
+
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="abaf9059baf0c045d5b62757953ee2fa0779462eb32142bb41be40c376fc7ac2b3e4a56fd66177fbbe1dca35c6168a251542b14a844125c2cfcc9a99888179b4 gmime-3.2.3.tar.xz"
+sha512sums="34592e89a2f923dacc37ac535da785918c2c0d6a63b0f2ec1d86393264aace44d1060e8ef4a77e60fd57e97475435f8e79d87e46b269ae332db9b9aaf98bf61b gmime-3.2.4.tar.xz"