wok-next view pidgin/receipt @ rev 19981
Add libvdpau
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 09:58:12 2017 +0300 (2017-10-18) |
parents | 6c12ac1293fc |
children | 522148bca4d8 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pidgin"
4 VERSION="2.12.0"
5 CATEGORY="network"
6 SHORT_DESC="Instant messaging client using GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pidgin.im/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 BUILD_DEPENDS="gtk+-dev libgcrypt-dev gnutls-dev \
13 startup-notification-dev libgpg-error-dev libxml2-dev libxcb-dev \
14 libidn-dev libtasn1-dev intltool expat-dev nss-dev \
15 ncurses-dev xcb-util-dev gmp-dev"
16 SPLIT="libpurple-dev pidgin pidgin-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 touch pidgin.desktop package_revision_raw.txt
22 MSGFMT=/usr/bin/msgfmt
24 # Pidgin doesn't explicitly link to libm
25 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --disable-perl \
31 --disable-screensaver \
32 --disable-gtkspell \
33 --disable-gstreamer \
34 --disable-gstreamer-interfaces \
35 --disable-meanwhile \
36 --disable-avahi \
37 --disable-nm \
38 --disable-tcl \
39 --disable-tk \
40 --disable-dbus \
41 --disable-farsight \
42 --disable-vv \
43 --disable-idn \
44 --disable-sm \
45 $CONFIGURE_ARGS &&
46 make -j 4 &&
47 make install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 case $PACKAGE in
54 pidgin)
55 PROVIDE="purple"
56 DEPENDS="gtk+ gnutls libgcrypt libgpg-error \
57 startup-notification gmp xorg-libXdamage libxml2 \
58 libxcb xcb-util libidn ncurses libtasn1 nss"
59 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
60 cp -a $install/usr/bin $fs/usr
61 cp -a $install/usr/lib/*.so* $fs/usr/lib
62 cp -a $install/usr/lib/pidgin $fs/usr/lib
63 cp -a $install/usr/lib/purple-2 $fs/usr/lib
64 rm $fs/usr/lib/pidgin/*.la
65 rm $fs/usr/lib/purple-2/*.la
66 cp -a $install/usr/share/purple $fs/usr/share
67 cp -a $install/usr/share/pixmaps/pidgin $fs/usr/share/pixmaps
68 cp -a $install/usr/share/icons/hicolor/24x24/apps/* $fs/usr/share/pixmaps
69 ;;
70 pidgin-dev)
71 CAT="development|Pidgin devel files."
72 DEPENDS="pkg-config"
73 mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/pidgin $fs/usr/include/pidgin $fs/usr/share
74 cp -a $install/usr/lib/pidgin/*.la $fs/usr/lib/pidgin
75 cp -a $install/usr/lib/pkgconfig/pidgin.pc $fs/usr/lib/pkgconfig
76 cp -a $install/usr/include/pidgin $fs/usr/include
77 cp -a $install/usr/share/aclocal $fs/usr/share
78 ;;
79 libpurple-dev)
80 CAT="development|Purple library devel files."
81 DEPENDS="pkg-config"
82 mkdir -p $fs/usr/lib/pkgconfig $fs/usr/lib/purple-2 $fs/usr/include/libpurple
83 cp -a $install/usr/lib/libpurple.la $fs/usr/lib
84 cp -a $install/usr/lib/purple-2/*.la $fs/usr/lib/purple-2
85 cp -a $install/usr/lib/pkgconfig/purple.pc $fs/usr/lib/pkgconfig
86 cp -a $install/usr/include/libpurple $fs/usr/include
87 ;;
88 esac
89 }