2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=xfce4-session
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://www.tx-us.xfce.org
/archive
/xfce-
$(PKG_VERSION
)/src
/
16 PKG_MD5SUM
:=7628be41ed3511a20cff5673d9d39858
21 include $(INCLUDE_DIR
)/package.mk
23 TARGET_CFLAGS
+=-I
$(STAGING_DIR
)/usr
/lib
/libintl
/include/
26 -Wl
,-rpath-link
=$(STAGING_DIR
)/usr
/lib \
28 -L
$(STAGING_DIR
)/usr
/lib
/libintl
/lib
30 define Package
/xfce4-session
35 DEPENDS
:=+libxfce4util
+libxfcegui4
+libwnck
+dbus
+libdbus
+libxfconf \
36 +libglade
+iceauth
+libX11
+libSM
+xfconf
+thunar
+xfce4-panel \
37 +xfce4-settings
+xfdesktop
+xfce-utils
+xfwm4
40 define Build
/Configure
41 $(call Build
/Configure
/Default
,\
42 ac_cv_header_linux_ioprio_h
=no \
46 define Build
/InstallDev
47 $(INSTALL_DIR
) $(1)/usr
/{lib
/pkgconfig
,include/xfce4
/xfce4-session-4.6
/libxfsm
}
49 $(PKG_INSTALL_DIR
)/usr
/include/xfce4
/xfce4-session-4.6
/libxfsm
/*.h \
50 $(1)/usr
/include/xfce4
/xfce4-session-4.6
/libxfsm
/
53 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{so
*,a
,la
} \
57 $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* \
58 $(1)/usr
/lib
/pkgconfig
/
61 define Package
/xfce4-session
/install
62 $(INSTALL_DIR
) $(1)/usr
/lib
/
64 $(PKG_INSTALL_DIR
)/usr
/lib
/*.so
* \
67 $(INSTALL_DIR
) $(1)/usr
/lib
/
69 $(PKG_INSTALL_DIR
)/usr
/lib
/{balou-
*,xfsm-shutdown-helper
} \
72 $(INSTALL_DIR
) $(1)/usr
/lib
/xfce4
/splash
/engines
74 $(PKG_INSTALL_DIR
)/usr
/lib
/xfce4
/splash
/engines
/*.so
* \
75 $(1)/usr
/lib
/xfce4
/splash
/engines
/
77 $(INSTALL_DIR
) $(1)/usr
/bin
/
79 $(PKG_INSTALL_DIR
)/usr
/bin
/* \
82 $(INSTALL_DIR
) $(1)/etc
/xdg
/xfce4
/xfconf
/xfce-perchannel-xml
84 $(PKG_INSTALL_DIR
)/etc
/xdg
/xfce4
/xfconf
/xfce-perchannel-xml
/* \
85 $(1)/etc
/xdg
/xfce4
/xfconf
/xfce-perchannel-xml
/
87 $(INSTALL_DIR
) $(1)/usr
/share
/icons
/hicolor
89 $(PKG_INSTALL_DIR
)/usr
/share
/icons
/hicolor
/* \
90 $(1)/usr
/share
/icons
/hicolor
/
92 $(INSTALL_DIR
) $(1)/usr
/share
/themes
94 $(PKG_INSTALL_DIR
)/usr
/share
/themes
/* \
95 $(1)/usr
/share
/themes
/
97 $(INSTALL_DIR
) $(1)/usr
/share
/applications
99 $(PKG_INSTALL_DIR
)/usr
/share
/applications
/* \
100 $(1)/usr
/share
/applications
102 $(INSTALL_DIR
) $(1)/usr
/share
/xfce4
/tips
104 $(PKG_INSTALL_DIR
)/usr
/share
/xfce4
/tips
/* \
105 $(1)/usr
/share
/xfce4
/tips
/
108 $(eval
$(call BuildPackage
,xfce4-session
))