mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
71 lines
1.6 KiB
Bash
71 lines
1.6 KiB
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=4
|
|
inherit eutils multilib toolchain-funcs
|
|
|
|
DESCRIPTION="A file manager that implements the popular two-pane design"
|
|
HOMEPAGE="http://emelfm2.net/"
|
|
SRC_URI="http://emelfm2.net/rel/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-3 LGPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
|
|
IUSE="acl gimp kernel_linux nls policykit spell udisks"
|
|
|
|
COMMON_DEPEND=">=dev-libs/glib-2.26:2
|
|
>=x11-libs/gtk+-2.12:2
|
|
acl? ( sys-apps/acl )
|
|
gimp? ( media-gfx/gimp )
|
|
policykit? ( sys-auth/polkit )
|
|
spell? ( >=app-text/gtkspell-2.0.14:2 )"
|
|
RDEPEND="${COMMON_DEPEND}
|
|
udisks? ( sys-fs/udisks:0 )"
|
|
DEPEND="${COMMON_DEPEND}
|
|
virtual/pkgconfig
|
|
nls? ( sys-devel/gettext )"
|
|
|
|
RESTRICT="test"
|
|
|
|
pkg_setup() {
|
|
emel_use() {
|
|
use ${1} && echo "${2}=1" || echo "${2}=0"
|
|
}
|
|
|
|
#363813
|
|
myemelconf=(
|
|
GTK3=0
|
|
DOCS_VERSION=1
|
|
$(emel_use nls I18N)
|
|
WITH_TRANSPARENCY=1
|
|
$(emel_use kernel_linux WITH_KERNELFAM)
|
|
$(emel_use spell EDITOR_SPELLCHECK)
|
|
$(emel_use udisks WITH_DEVKIT)
|
|
$(emel_use gimp WITH_THUMBS)
|
|
$(emel_use acl WITH_ACL)
|
|
$(emel_use policykit WITH_POLKIT)
|
|
STRIP=0
|
|
)
|
|
}
|
|
|
|
src_prepare() {
|
|
sed -i \
|
|
-e 's:dbus-glib-1::' \
|
|
-e 's:@$(CC):$(CC):g' \
|
|
-e 's:@$(BIN_MSGFMT):$(BIN_MSGFMT):g' \
|
|
Makefile || die
|
|
}
|
|
|
|
src_compile() {
|
|
tc-export CC
|
|
emake LIB_DIR="/usr/$(get_libdir)" PREFIX="/usr" \
|
|
${myemelconf[@]}
|
|
}
|
|
|
|
src_install() {
|
|
emake LIB_DIR="${D}/usr/$(get_libdir)" PREFIX="${D}/usr" \
|
|
${myemelconf[@]} install $( use nls && echo install_i18n )
|
|
newicon icons/${PN}_48.png ${PN}.png
|
|
}
|