mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
x11-libs/xapps: Fixes to previous addition
Package-Manager: portage-2.3.2
This commit is contained in:
@@ -2,35 +2,55 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
inherit autotools gnome2-utils
|
||||
|
||||
DESCRIPTION="Cross-desktop libraries and common resources"
|
||||
HOMEPAGE="https://github.com/linuxmint/xapps/"
|
||||
LICENSE="GPL-3"
|
||||
|
||||
SRC_URI="https://github.com/linuxmint/xapps/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Cross-desktop libraries and common resources"
|
||||
HOMEPAGE="https://github.com/linuxmint/xapps/"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="
|
||||
>=x11-libs/gdk-pixbuf-2.22.0:2[introspection]
|
||||
>=x11-libs/gtk+-3.3.16:3[introspection]
|
||||
>=dev-libs/glib-2.37.3:2
|
||||
x11-libs/cairo
|
||||
gnome-base/libgnomekbd
|
||||
gnome-base/gnome-common
|
||||
dev-libs/gobject-introspection:0=
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gdk-pixbuf-2.22.0:2[introspection]
|
||||
>=x11-libs/gtk+-3.3.16:3[introspection]
|
||||
x11-libs/libxkbfile
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare(){
|
||||
DEPEND="${RDEPEND}
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
eautoreconf
|
||||
default
|
||||
}
|
||||
|
||||
src_install(){
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable introspection)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -rf "${D}/usr/bin/" || die
|
||||
[ use static-libs ] || rm -rf "${D}/usr/lib64/libxapp.la" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
Reference in New Issue
Block a user