wok-next annotate compiz-core/receipt @ rev 20492

Up c_icap, colord, compiz-core, gtksourceview3, libsdl-perl, p910nd, polkit
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 13 05:24:06 2018 +0200 (2018-03-13)
parents c3a368c0cddb
children c0521c689857
rev   line source
al@20456 1 # SliTaz package receipt v2.
pascal@11219 2
pascal@11219 3 PACKAGE="compiz-core"
psychomaniak@19217 4 VERSION="0.8.12.3"
pascal@11219 5 CATEGORY="x-window"
al@20456 6 SHORT_DESC="Compiz is an OpenGL compositing manager for 3D effect"
pascal@11219 7 MAINTAINER="pankso@slitaz.org"
pascal@15022 8 LICENSE="MIT GPL LGPL"
al@20456 9 WEB_SITE="https://github.com/compiz-reloaded"
al@20456 10
psychomaniak@19217 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
psychomaniak@19217 12 WGET_URL="$WEB_SITE/compiz/releases/download/v$VERSION/compiz-$VERSION.tar.xz"
pascal@11219 13
psychomaniak@19217 14 BUILD_DEPENDS="xorg-dev intltool librsvg-dev libxslt-dev pango-dev libtool \
al@20492 15 startup-notification-dev mesa17-dev file dbus-dev dbus-glib-dev cairo-dev \
al@20492 16 util-linux-uuid-dev expat-dev xorg-libxshmfence-dev libglu-mesa-dev \
al@20492 17 xorg-xcb-util-dev"
al@20456 18 SPLIT="compiz-core-dev"
pankso@12405 19
al@20456 20 compile_rules() {
al@20456 21 ./configure \
al@20456 22 --prefix=/usr \
al@20456 23 --enable-shared \
al@20456 24 --enable-librsvg \
al@20456 25 --enable-dbus \
al@20456 26 --enable-dbus-glib \
al@20456 27 --enable-glib \
al@20456 28 --disable-static \
al@20456 29 --disable-inotify &&
psychomaniak@19217 30 make && make install
pascal@11219 31 }
pascal@11219 32
al@20456 33 genpkg_rules() {
al@20456 34 case $PACKAGE in
al@20456 35 compiz-core)
al@20456 36 mkdir -p $fs/usr/lib $fs/usr/share/locale
al@20456 37 cp -a $install/usr/bin $fs/usr
al@20456 38 cp -a $install/usr/lib/compiz $fs/usr/lib
al@20456 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@20456 40 cp -a $install/usr/share/compiz $fs/usr/share
al@20456 41 cp -a $install/usr/share/icons $fs/usr/share
al@20456 42 cp -a $install/usr/share/locale/ru $fs/usr/share
al@20456 43 rm -rf $fs/usr/lib/compiz/*.la
al@20456 44 sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator
al@20456 45 DEPENDS="librsvg libxslt mesa libglu-mesa dbus dbus-glib \
al@20456 46 startup-notification compiz-bcop compiz-libcompizconfig"
al@20456 47 ;;
al@20456 48 *-dev)
al@20456 49 mkdir -p $fs/usr/lib/compiz $fs/usr/share/compiz
al@20456 50 cp -a $install/usr/include $fs/usr
al@20456 51 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
al@20456 52 cp -a $install/usr/lib/*.la $fs/usr/lib
al@20456 53 cp -a $install/usr/lib/compiz/*.la $fs/usr/lib/compiz/
al@20456 54 ;;
al@20456 55 esac
pascal@11219 56 }