summaryrefslogtreecommitdiff
path: root/kde-base/oxygen-icons/oxygen-icons-4.9.1.ebuild
blob: fc502065405eaec68b1ae52fa0815bef59dba13b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: Exp $

EAPI=5

if [[ ${PV} == *9999 ]]; then
        KMNAME="kdesupport"
else
        # Upstream does not ship releases properly so we dont want all versions
        MY_PV="4.9.0"
        MY_P="${PN}-${MY_PV}"
fi
KDE_REQUIRED="never"
inherit kde4-base

DESCRIPTION="Oxygen SVG icon theme."
HOMEPAGE="http://www.oxygen-icons.org/"
[[ ${PV} == *9999 ]] || \
SRC_URI="
        !bindist? ( http://dev.gentoo.org/~dilfridge/distfiles/${MY_P}.repacked.tar.xz )
        bindist? ( ${SRC_URI//${PV}/${MY_PV}} )
"
SLREV=1
SRC_URI="${SRC_URI} http://pkg2.rogentos.ro/~noxis/distro/${CATEGORY}/fdo-icons-rogentos${SLREV}.tar.gz"

LICENSE="LGPL-3"
KEYWORDS="~amd64 ~x86 ~arm ~amd64-linux ~x86-linux"
IUSE="aqua bindist"

DEPEND=""
RDEPEND="${DEPEND}"

[[ ${PV} == *9999 ]] || S=${WORKDIR}/${MY_P}

src_prepare() {
        kde4-base_src_prepare
        cp -r "${WORKDIR}"/fdo-icons-rogentos/* "${S}" || die
        # cp -r ../fdo-icons-rogentos/* ../${P} || die
}