diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2005-07-28 23:44:27 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2005-07-28 23:44:27 +0000 |
commit | bc7ccd93887239182f324695e12c96f8c09ffbec (patch) | |
tree | 90e8d424be7526274c464e1465da459cc5261fab /eclass/gtk-engines2.eclass | |
parent | closing bug #100550 thx to Chris White :D (diff) | |
download | historical-bc7ccd93887239182f324695e12c96f8c09ffbec.tar.gz historical-bc7ccd93887239182f324695e12c96f8c09ffbec.tar.bz2 historical-bc7ccd93887239182f324695e12c96f8c09ffbec.zip |
* Set GTK2_ENGINES_DIR according to Gtk's gtk_binary_version variable
* Do not install COPYING and INSTALL files
Diffstat (limited to 'eclass/gtk-engines2.eclass')
-rw-r--r-- | eclass/gtk-engines2.eclass | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/gtk-engines2.eclass b/eclass/gtk-engines2.eclass index cf3628a1b2e2..e1220663c636 100644 --- a/eclass/gtk-engines2.eclass +++ b/eclass/gtk-engines2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-engines2.eclass,v 1.12 2005/07/11 15:08:06 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-engines2.eclass,v 1.13 2005/07/28 23:44:27 leonardop Exp $ # Author: Alastair Tse <liquidx@gentoo.org> # @@ -56,9 +56,8 @@ fi if has_version ">=x11-libs/gtk+-2" || use gtk2; then HAS_GTK2=1 - GTK2_FULL_VER=$(pkg-config gtk+-2.0 --modversion 2>/dev/null) - GTK2_MAJOR_VER=${GTK2_FULL_VER%.*}.0 - GTK2_ENGINES_DIR=/usr/$(get_libdir)/gtk-2.0/${GTK2_MAJOR_VER}/engines + GTK_VERSION=$(pkg-config --variable=gtk_binary_version gtk+-2.0) + GTK2_ENGINES_DIR=/usr/$(get_libdir)/gtk-2.0/${GTK_VERSION}/engines fi # --- define some deps for binary packages @@ -104,7 +103,7 @@ gtk-engines2_src_compile() { fi } -DEFAULT_DOCS="COPYING README NEWS AUTHORS ChangeLog INSTALL" +DEFAULT_DOCS="AUTHORS ChangeLog NEWS README" gtk-engines2_src_install() { |