From da4f33892d956bc65dc56b5389ead44dc5a0c5fe Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Sat, 11 Apr 2015 01:24:31 +0800 Subject: mingw-w64-{gdk-pixbuf2,gtk2,gtk3,libepoxy}: Follow MinGW package guidelines --- mingw-w64-gdk-pixbuf2/.SRCINFO | 2 +- mingw-w64-gdk-pixbuf2/PKGBUILD | 7 +++---- mingw-w64-gtk2/.SRCINFO | 2 +- mingw-w64-gtk2/PKGBUILD | 6 +++--- mingw-w64-gtk3/.SRCINFO | 2 +- mingw-w64-gtk3/PKGBUILD | 6 +++--- mingw-w64-libepoxy/.SRCINFO | 2 +- mingw-w64-libepoxy/PKGBUILD | 6 +++--- 8 files changed, 16 insertions(+), 17 deletions(-) diff --git a/mingw-w64-gdk-pixbuf2/.SRCINFO b/mingw-w64-gdk-pixbuf2/.SRCINFO index 819fd28..a1d270c 100644 --- a/mingw-w64-gdk-pixbuf2/.SRCINFO +++ b/mingw-w64-gdk-pixbuf2/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = mingw-w64-gdk-pixbuf2 pkgdesc = An image loading library (mingw-w64) pkgver = 2.31.3 - pkgrel = 2 + pkgrel = 3 url = http://www.gtk.org arch = any license = LGPL diff --git a/mingw-w64-gdk-pixbuf2/PKGBUILD b/mingw-w64-gdk-pixbuf2/PKGBUILD index 1a40475..f9703b3 100644 --- a/mingw-w64-gdk-pixbuf2/PKGBUILD +++ b/mingw-w64-gdk-pixbuf2/PKGBUILD @@ -1,6 +1,6 @@ pkgname=mingw-w64-gdk-pixbuf2 pkgver=2.31.3 -pkgrel=2 +pkgrel=3 pkgdesc='An image loading library (mingw-w64)' arch=(any) url='http://www.gtk.org' @@ -40,9 +40,8 @@ package() { cd "build-${_arch}" make DESTDIR="$pkgdir" install find "$pkgdir/usr/${_arch}" -name '*.exe' -o -name '*.bat' -o -name '*.def' -o -name '*.exp' | xargs -rtl1 rm - find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip -x - find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs -rtl1 ${_arch}-strip -g - rm -r "$pkgdir/usr/${_arch}/share" + find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip --strip-unneeded + find "$pkgdir/usr/${_arch}" -name '*.a' | xargs -rtl1 ${_arch}-strip -g cd .. done } diff --git a/mingw-w64-gtk2/.SRCINFO b/mingw-w64-gtk2/.SRCINFO index 0a5ae93..0ae87d0 100644 --- a/mingw-w64-gtk2/.SRCINFO +++ b/mingw-w64-gtk2/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = mingw-w64-gtk2 pkgdesc = GTK+ is a multi-platform toolkit (v2) (mingw-w64) pkgver = 2.24.27 - pkgrel = 1 + pkgrel = 2 url = http://www.gtk.org arch = any license = LGPL diff --git a/mingw-w64-gtk2/PKGBUILD b/mingw-w64-gtk2/PKGBUILD index f04203c..81dbddf 100644 --- a/mingw-w64-gtk2/PKGBUILD +++ b/mingw-w64-gtk2/PKGBUILD @@ -1,6 +1,6 @@ pkgname=mingw-w64-gtk2 pkgver=2.24.27 -pkgrel=1 +pkgrel=2 pkgdesc="GTK+ is a multi-platform toolkit (v2) (mingw-w64)" arch=(any) url="http://www.gtk.org" @@ -48,8 +48,8 @@ package() { cd "build-${_arch}" make DESTDIR="$pkgdir" install find "$pkgdir/usr/${_arch}" -name '*.exe' -o -name '*.bat' -o -name '*.def' -o -name '*.exp' -o -name '*.manifest' | xargs -rtl1 rm - find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip -x - find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs -rtl1 ${_arch}-strip -g + find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip --strip-unneeded + find "$pkgdir/usr/${_arch}" -name '*.a' | xargs -rtl1 ${_arch}-strip -g rm -r "$pkgdir/usr/${_arch}/etc" rm -r "$pkgdir/usr/${_arch}/share/gtk-2.0" cd .. diff --git a/mingw-w64-gtk3/.SRCINFO b/mingw-w64-gtk3/.SRCINFO index 2715425..247c712 100644 --- a/mingw-w64-gtk3/.SRCINFO +++ b/mingw-w64-gtk3/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = mingw-w64-gtk3 pkgdesc = GObject-based multi-platform GUI toolkit (v3) (mingw-w64) pkgver = 3.16.1 - pkgrel = 1 + pkgrel = 2 url = http://www.gtk.org arch = any license = LGPL diff --git a/mingw-w64-gtk3/PKGBUILD b/mingw-w64-gtk3/PKGBUILD index 563a216..e7fd156 100644 --- a/mingw-w64-gtk3/PKGBUILD +++ b/mingw-w64-gtk3/PKGBUILD @@ -2,7 +2,7 @@ pkgname=mingw-w64-gtk3 pkgver=3.16.1 -pkgrel=1 +pkgrel=2 pkgdesc='GObject-based multi-platform GUI toolkit (v3) (mingw-w64)' arch=(any) url='http://www.gtk.org' @@ -46,8 +46,8 @@ package() { cd "build-${_arch}" make DESTDIR="$pkgdir" install find "$pkgdir/usr/${_arch}" -name '*.exe' -o -name '*.bat' -o -name '*.def' -o -name '*.exp' -o -name '*.manifest' | xargs -rtl1 rm - find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip -x - find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs -rtl1 ${_arch}-strip -g + find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip --strip-unneeded + find "$pkgdir/usr/${_arch}" -name '*.a' | xargs -rtl1 ${_arch}-strip -g rm -r "$pkgdir/usr/${_arch}/etc" rm -r "$pkgdir/usr/${_arch}/share/man" cd .. diff --git a/mingw-w64-libepoxy/.SRCINFO b/mingw-w64-libepoxy/.SRCINFO index 5b6d1d9..e9f66d2 100644 --- a/mingw-w64-libepoxy/.SRCINFO +++ b/mingw-w64-libepoxy/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = mingw-w64-libepoxy pkgdesc = A library for handling OpenGL function pointer management for you (mingw-w64) pkgver = 1.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/anholt/libepoxy arch = any license = MIT diff --git a/mingw-w64-libepoxy/PKGBUILD b/mingw-w64-libepoxy/PKGBUILD index 56c7fd1..17d881b 100644 --- a/mingw-w64-libepoxy/PKGBUILD +++ b/mingw-w64-libepoxy/PKGBUILD @@ -2,7 +2,7 @@ pkgname=mingw-w64-libepoxy pkgver=1.2 -pkgrel=1 +pkgrel=2 pkgdesc="A library for handling OpenGL function pointer management for you (mingw-w64)" arch=(any) url="https://github.com/anholt/libepoxy" @@ -38,8 +38,8 @@ package() { cd "build-${_arch}" make DESTDIR="$pkgdir" install find "$pkgdir/usr/${_arch}" -name '*.exe' -o -name '*.bat' -o -name '*.def' -o -name '*.exp' -o -name '*.manifest' | xargs -rtl1 rm - find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip -x - find "$pkgdir/usr/${_arch}" -name '*.a' -o -name '*.dll' | xargs -rtl1 ${_arch}-strip -g + find "$pkgdir/usr/${_arch}" -name '*.dll' | xargs -rtl1 ${_arch}-strip --strip-unneeded + find "$pkgdir/usr/${_arch}" -name '*.a' | xargs -rtl1 ${_arch}-strip -g cd .. done } -- cgit v1.2.3