diff options
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 42 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | UNLICENSE | 24 |
5 files changed, 96 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4206baa1594b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +# Generated by mksrcinfo v8 +# Sat Dec 26 19:43:27 UTC 2015 +pkgbase = qt5-imageformats-git + pkgdesc = Plugins for additional image formats: TIFF, MNG, TGA, WBMP + pkgver = v5.6.0.alpha1.r10.g8f7d6e7 + pkgrel = 1 + url = http://code.qt.io/cgit/qt/qtimageformats.git + arch = i686 + arch = x86_64 + license = GPL3 + license = LGPL + makedepends = git + depends = qt5-base-git + depends = libtiff + depends = jasper + depends = libmng + depends = libwebp + provides = qt5-imageformats + conflicts = qt5-imageformats + source = qt5-imageformats::git+https://code.qt.io/qt/qtimageformats.git#branch=dev + sha256sums = SKIP + +pkgname = qt5-imageformats-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f78f8102b958 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/pkg/ +/src/ +/*.tar* +/qt5-imageformats/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2e5fb5c9dc00 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Dāvis Mosāns <davispuh at gmail dot com> + +_pkgname=qt5-imageformats +pkgname=$_pkgname-git +pkgver=v5.6.0.alpha1.r10.g8f7d6e7 +pkgrel=1 +pkgdesc='Plugins for additional image formats: TIFF, MNG, TGA, WBMP' +arch=('i686' 'x86_64') +url='http://code.qt.io/cgit/qt/qtimageformats.git' +license=('GPL3' 'LGPL') +depends=('qt5-base-git' 'libtiff' 'jasper' 'libmng' 'libwebp') +makedepends=('git') +provides=("$_pkgname") +conflicts=("$_pkgname") +source=("$_pkgname::git+https://code.qt.io/qt/qtimageformats.git#branch=dev") +sha256sums=("SKIP") + +pkgver() { + cd "$srcdir/$_pkgname" + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd "$srcdir" + mkdir -p build +} + +build() { + cd "$srcdir/build" + + qmake "$srcdir/$_pkgname" + make +} + +package() { + cd "$srcdir/build" + + make INSTALL_ROOT="$pkgdir" install + + install -D -m644 $srcdir/$_pkgname/LGPL_EXCEPTION.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/LGPL_EXCEPTION.txt +} + diff --git a/README.md b/README.md new file mode 100644 index 000000000000..a8a0607be21b --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# qt5-imageformats-git + diff --git a/UNLICENSE b/UNLICENSE new file mode 100644 index 000000000000..68a49daad8ff --- /dev/null +++ b/UNLICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +For more information, please refer to <http://unlicense.org/> |