Commit 984b925a authored by philm's avatar philm

add oyranos and its deps

parent 92fa4a1c
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=libraw
pkgver=0.14.4
pkgrel=1
pkgdesc="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"
arch=('i686' 'x86_64')
url="http://www.libraw.org/"
license=('CDDL' 'LGPL' 'custom')
depends=('lcms')
options=('!makeflags')
source=(http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz)
sha256sums=('795a8615381868942b27636ea83d741d7c8d17afa9f00b5b7fe26212c42ee59c')
build() {
cd ${srcdir}/LibRaw-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/LibRaw-${pkgver}
make DESTDIR=${pkgdir} install
}
\ No newline at end of file
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=libxcm
pkgver=0.4.2
pkgrel=1
pkgdesc="The libXcm library contains the a reference implementation of the net-color \
spec. The net-color spec allows to attach colour regions to X windows to \
communicate with colour servers."
url="http://oyranos.org/"
arch=('i686' 'x86_64')
makedepends=()
depends=(xorg-server)
optdepends=()
source=("http://prdownloads.sourceforge.net/oyranos/libXcm-$pkgver.tar.gz")
license=('MIT')
build() {
cd $srcdir/libXcm-$pkgver
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR=$pkgdir install
}
md5sums=('cf1ad865a5fb0e91fee805ea13c8ea7e')
\ No newline at end of file
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=oyranos
pkgver=0.3.2
pkgrel=1
pkgdesc="A Colour Management System (CMS) on operating system level."
url="http://oyranos.org/"
arch=('i686' 'x86_64')
makedepends=(fltk qt elektra cups sane cairo openicc)
depends=(libxml2 libxinerama libxrandr libxfixes libxxf86vm doxygen graphviz lcms2 libraw xcalib libxcm yajl)
optdepends=(fltk qt elektra cups sane cairo openicc)
source=("http://prdownloads.sourceforge.net/oyranos/$pkgname-$pkgver.tar.bz2")
md5sums=('0c4bb2479efc37123db4ff8cd7bb787a')
license=('MIT')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --enable-threads --enable-xft --enable-shared
make -j1
make DESTDIR=$pkgdir install
}
md5sums=('c80d142741c284b06cbea29b9d859933')
\ No newline at end of file
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=xcalib
pkgver=0.8
pkgrel=1
pkgdesc="A tiny monitor calibration loader for X.org"
arch=(i686 x86_64)
url="http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/"
license=('GPL')
depends=(libx11 libxext libxxf86vm xf86vidmodeproto)
source=(http://downloads.sourceforge.net/xcalib/xcalib-source-$pkgver.tar.gz \
makefile-ldflags.patch)
md5sums=('1fbcae44ad8d754512fdd1e5f1b3a7e7'
'fd3aa535f50234ee7d46494913abc1a7')
build() {
cd $startdir/src/$pkgname-$pkgver
patch -p0 < ../makefile-ldflags.patch
make || return 1
install -D -m755 xcalib $startdir/pkg/usr/bin/xcalib
mkdir -p $startdir/pkg/usr/share/xcalib
cp README *.icc *.icm $startdir/pkg/usr/share/xcalib
}
\ No newline at end of file
--- Makefile 2005-08-24 08:17:13.000000000 +0200
+++ Makefile.ok 2007-05-17 16:05:14.000000000 +0200
@@ -58,7 +58,7 @@
# low overhead version (internal parser)
lo_xcalib: xcalib.c
$(CC) $(CFLAGS) -c xcalib.c -I$(XINCLUDEDIR) -DXCALIB_VERSION=\"$(XCALIB_VERSION)\"
- $(CC) $(CFLAGS) -L$(XLIBDIR) -lm -o xcalib xcalib.o -lX11 -lXxf86vm -lXext
+ $(CC) $(LDFLAGS) -L$(XLIBDIR) -o xcalib xcalib.o -lm -lX11 -lXxf86vm -lXext
fglrx_xcalib: xcalib.c
$(CC) $(CFLAGS) -c xcalib.c -I$(XINCLUDEDIR) -DXCALIB_VERSION=\"$(XCALIB_VERSION)\" -I$(FGLRXINCLUDEDIR) -DFGLRX
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of the <ORGANIZATION> nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=yajl
pkgver=1.0.9
pkgrel=3
pkgdesc="Yet Another JSON Library."
pkgver=2.0.4
pkgrel=1
pkgdesc='Yet Another JSON Library.'
arch=('i686' 'x86_64')
url="http://lloyd.github.com/yajl/"
license=('BSD')
makedepends=('cmake' 'doxygen')
source=("http://cloud.github.com/downloads/lloyd/yajl/yajl-${pkgver}.tar.gz"
'LICENSE')
md5sums=('8643ff2fef762029e51c86882a4d0fc6'
'd5a84aca97d77c2c60cff59d62e6d4bf')
url='http://lloyd.github.com/yajl/'
license=('ISC')
makedepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/lloyd/$pkgname/tarball/$pkgver")
md5sums=('ee6208e697c43dcccf798ce80d370379')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cmake -D CMAKE_INSTALL_PREFIX=/usr .
dirname=$(tar tf "$srcdir/$pkgname-$pkgver.tar.gz" | sed 1q);
cd "$dirname"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -Dm644 ${srcdir}/LICENSE \
${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
dirname=$(tar tf "$srcdir/$pkgname-$pkgver.tar.gz" | sed 1q);
cd "$dirname"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment