summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2013-05-18 11:42:12 +0800
committerTing-Wei Lan <lantw44@gmail.com>2013-05-18 11:42:12 +0800
commitb28fcdca10a0b370d294a62c03959e3f6863ff20 (patch)
tree53a6348d183bc224a9c5f2748a2ec86d5cb21fda
downloadAUR4-PKGBUILD-b28fcdca10a0b370d294a62c03959e3f6863ff20.tar
AUR4-PKGBUILD-b28fcdca10a0b370d294a62c03959e3f6863ff20.tar.gz
AUR4-PKGBUILD-b28fcdca10a0b370d294a62c03959e3f6863ff20.tar.bz2
AUR4-PKGBUILD-b28fcdca10a0b370d294a62c03959e3f6863ff20.tar.lz
AUR4-PKGBUILD-b28fcdca10a0b370d294a62c03959e3f6863ff20.tar.xz
AUR4-PKGBUILD-b28fcdca10a0b370d294a62c03959e3f6863ff20.tar.zst
AUR4-PKGBUILD-b28fcdca10a0b370d294a62c03959e3f6863ff20.zip
Initial commit - Import old files
-rw-r--r--guix/.SRCINFO17
-rw-r--r--guix/PKGBUILD36
-rw-r--r--mingw-w64-gdk-pixbuf2/.SRCINFO23
-rw-r--r--mingw-w64-gdk-pixbuf2/PKGBUILD47
-rw-r--r--mingw-w64-gtk3/.SRCINFO27
-rw-r--r--mingw-w64-gtk3/PKGBUILD68
6 files changed, 218 insertions, 0 deletions
diff --git a/guix/.SRCINFO b/guix/.SRCINFO
new file mode 100644
index 0000000..68d6cae
--- /dev/null
+++ b/guix/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = guix
+ pkgdesc = GNU guix is a purely functional package manager
+ pkgver = 0.2
+ pkgrel = 1
+ url = https://www.gnu.org/software/guix/
+ arch = x86_64
+ arch = i686
+ license = GPL
+ depends = guile2
+ depends = sqlite
+ depends = bzip2
+ depends = libgcrypt
+ source = ftp://alpha.gnu.org/gnu/guix/guix-0.2.tar.gz
+ md5sums = 4bdbbd736d0bbcb6cd7e28220c4ea1fe
+
+pkgname = guix
+
diff --git a/guix/PKGBUILD b/guix/PKGBUILD
new file mode 100644
index 0000000..39412d6
--- /dev/null
+++ b/guix/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: lantw44 (at) gmail (dot) com
+# Modified from guix-git 20130119 PKGBUILD
+
+pkgname=guix
+pkgver=0.2
+pkgrel=1
+pkgdesc="GNU guix is a purely functional package manager"
+arch=('x86_64' 'i686')
+url="https://www.gnu.org/software/guix/"
+license=('GPL')
+depends=('guile2' 'sqlite' 'bzip2' 'libgcrypt')
+makedepends=()
+source=('ftp://alpha.gnu.org/gnu/guix/guix-0.2.tar.gz')
+md5sums=('4bdbbd736d0bbcb6cd7e28220c4ea1fe')
+
+build() {
+ current_arch="`uname -m`"
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --localstatedir=/var \
+ --disable-rpath --with-system=${current_arch}-linux
+ make
+}
+
+# guix-0.2 cannot pass all tests because of some strange problems.
+# eg. build.sh or bipvm5958i36 not found
+
+#check() {
+# cd ${srcdir}/${pkgname}-${pkgver}
+# make -k -j1 check
+#}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+# chmod -R u+w test-tmp
+}
diff --git a/mingw-w64-gdk-pixbuf2/.SRCINFO b/mingw-w64-gdk-pixbuf2/.SRCINFO
new file mode 100644
index 0000000..a84e04a
--- /dev/null
+++ b/mingw-w64-gdk-pixbuf2/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = mingw-w64-gdk-pixbuf2
+ pkgdesc = An image loading library (mingw-w64)
+ pkgver = 2.28.1
+ pkgrel = 1
+ url = http://www.gtk.org
+ arch = any
+ license = GPL2
+ makedepends = mingw-w64-gcc
+ makedepends = mingw-w64-pkg-config
+ depends = mingw-w64-crt
+ depends = mingw-w64-glib2>=2.34.0
+ depends = mingw-w64-jasper
+ depends = mingw-w64-libpng
+ depends = mingw-w64-libjpeg-turbo
+ depends = mingw-w64-libtiff
+ options = !libtool
+ options = !strip
+ options = !buildflags
+ source = http://download.gnome.org/sources/gdk-pixbuf/2.28/gdk-pixbuf-2.28.1.tar.xz
+ md5sums = 5c71cce316d08c559fc5970aa60754ab
+
+pkgname = mingw-w64-gdk-pixbuf2
+
diff --git a/mingw-w64-gdk-pixbuf2/PKGBUILD b/mingw-w64-gdk-pixbuf2/PKGBUILD
new file mode 100644
index 0000000..a317c9b
--- /dev/null
+++ b/mingw-w64-gdk-pixbuf2/PKGBUILD
@@ -0,0 +1,47 @@
+pkgname=mingw-w64-gdk-pixbuf2
+pkgver=2.28.1
+pkgrel=1
+pkgdesc="An image loading library (mingw-w64)"
+arch=(any)
+url="http://www.gtk.org"
+license=("GPL2")
+makedepends=(mingw-w64-gcc mingw-w64-pkg-config)
+depends=(mingw-w64-crt
+'mingw-w64-glib2>=2.34.0'
+mingw-w64-jasper
+mingw-w64-libpng
+mingw-w64-libjpeg-turbo
+mingw-w64-libtiff)
+options=(!libtool !strip !buildflags)
+source=("http://download.gnome.org/sources/gdk-pixbuf/${pkgver%.*}/gdk-pixbuf-$pkgver.tar.xz")
+md5sums=('5c71cce316d08c559fc5970aa60754ab')
+
+_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+
+build() {
+ for _arch in ${_architectures}; do
+ unset LDFLAGS
+ export CFLAGS="-O2 -pipe -mms-bitfields"
+ export CXXFLAGS="${CFLAGS}"
+ export CXX=$_arch-g++
+ mkdir -p "${srcdir}/${pkgname}-${pkgver}-build-${_arch}"
+ cd "${srcdir}/${pkgname}-${pkgver}-build-${_arch}"
+ ${srcdir}/gdk-pixbuf-${pkgver}/configure \
+ --prefix=/usr/${_arch} \
+ --build=$CHOST \
+ --host=${_arch} \
+ --with-included-loaders=wbmp,png,pnm,ras,ani,xpm,xbm,tga,icns,pcx,qtif,gdip-ico,gdip-wmf,gdip-emf,gdip-bmp,gdip-gif,gdip-jpeg,gdip-tiff
+ make
+ done
+}
+
+package() {
+ for _arch in ${_architectures}; do
+ cd "${srcdir}/${pkgname}-${pkgver}-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"
+ done
+}
diff --git a/mingw-w64-gtk3/.SRCINFO b/mingw-w64-gtk3/.SRCINFO
new file mode 100644
index 0000000..5a4e4e5
--- /dev/null
+++ b/mingw-w64-gtk3/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = mingw-w64-gtk3
+ pkgdesc = GTK+ is a multi-platform toolkit (v3) (mingw-w64)
+ pkgver = 3.8.2
+ pkgrel = 1
+ url = http://www.gtk.org
+ arch = any
+ license = LGPL
+ makedepends = mingw-w64-gcc
+ makedepends = mingw-w64-pkg-config
+ depends = mingw-w64-crt
+ depends = mingw-w64-atk
+ depends = mingw-w64-pango
+ depends = mingw-w64-glib2
+ depends = mingw-w64-cairo
+ depends = mingw-w64-gdk-pixbuf2>=2.27.1
+ options = !libtool
+ options = !strip
+ options = !buildflags
+ source = http://ftp.gnome.org/pub/gnome/sources/gtk+/3.8/gtk+-3.8.2.tar.xz
+ source = http://pkgs.fedoraproject.org/cgit/mingw-gtk3.git/plain/gtk-dont-define-initguid.patch?id=82ccf489f4763e375805d848351ac3f8fda8e88b
+ source = https://git.gnome.org/browse/gtk+/plain/demos/gtk-demo/brick.png?h=gtk-3-8&id=231d6c209f47edac828f52a7316980129c370eb1
+ md5sums = 8e878e18fc385f2b813419dc7b40a968
+ md5sums = 4038939df90f80ea6923d67afff28e03
+ md5sums = 523aea0be651baaba128c133751a0f01
+
+pkgname = mingw-w64-gtk3
+
diff --git a/mingw-w64-gtk3/PKGBUILD b/mingw-w64-gtk3/PKGBUILD
new file mode 100644
index 0000000..08009ed
--- /dev/null
+++ b/mingw-w64-gtk3/PKGBUILD
@@ -0,0 +1,68 @@
+# Maintainer: lantw44 at gmail dot com
+
+pkgname=mingw-w64-gtk3
+pkgver=3.8.2
+pkgrel=1
+pkgdesc="GTK+ is a multi-platform toolkit (v3) (mingw-w64)"
+arch=(any)
+url="http://www.gtk.org"
+license=("LGPL")
+makedepends=(mingw-w64-gcc mingw-w64-pkg-config)
+depends=(mingw-w64-crt
+mingw-w64-atk
+mingw-w64-pango
+mingw-w64-glib2
+mingw-w64-cairo
+'mingw-w64-gdk-pixbuf2>=2.27.1')
+options=(!libtool !strip !buildflags)
+source=(
+"http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-${pkgver}.tar.xz"
+"http://pkgs.fedoraproject.org/cgit/mingw-gtk3.git/plain/gtk-dont-define-initguid.patch?id=82ccf489f4763e375805d848351ac3f8fda8e88b"
+"https://git.gnome.org/browse/gtk+/plain/demos/gtk-demo/brick.png?h=gtk-3-8&id=231d6c209f47edac828f52a7316980129c370eb1")
+md5sums=('8e878e18fc385f2b813419dc7b40a968'
+ '4038939df90f80ea6923d67afff28e03'
+ '523aea0be651baaba128c133751a0f01')
+
+_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+
+build() {
+ cd "${srcdir}/gtk+-${pkgver}"
+ patch -Np0 < '../gtk-dont-define-initguid.patch?id=82ccf489f4763e375805d848351ac3f8fda8e88b'
+ for _arch in ${_architectures}; do
+ export CFLAGS="-O2 -mms-bitfields"
+ export CXXFLAGS="${CFLAGS}"
+ unset LDFLAGS
+ export PKG_CONFIG_FOR_BUILD="${_arch}-pkg-config"
+ mkdir -p "${srcdir}/${pkgname}-${pkgver}-build-${_arch}"
+ cp -r "${srcdir}/gtk+-${pkgver}/"* \
+ "${srcdir}/${pkgname}-${pkgver}-build-${_arch}"
+ cp '../brick.png?h=gtk-3-8&id=231d6c209f47edac828f52a7316980129c370eb1' \
+ "${srcdir}/gtk+-${pkgver}/demos/gtk-demo/brick.png"
+ cd "${srcdir}/${pkgname}-${pkgver}-build-${_arch}"
+ if [ $_arch = "x86_64-w64-mingw32" ]; then
+ rm "gtk/gtk.def"
+ fi
+ ${srcdir}/gtk+-${pkgver}/configure \
+ --prefix=/usr/${_arch} \
+ --build=$CHOST \
+ --host=${_arch} \
+ --enable-win32-backend \
+ --enable-gtk2-dependency \
+ --enable-static \
+ --enable-shared \
+ --disable-cups \
+ --with-included-immodules
+ make
+ done
+}
+
+package() {
+ for _arch in ${_architectures}; do
+ cd "${srcdir}/${pkgname}-${pkgver}-build-${_arch}"
+ make -j1 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
+ rm -r "$pkgdir/usr/${_arch}/"{etc,share}
+ done
+}