You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.2 KiB
58 lines
1.2 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
12 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
12 years ago
|
|
||
8 years ago
|
EAPI="6"
|
||
12 years ago
|
|
||
|
CMAKE_MIN_VERSION="2.8.5"
|
||
|
|
||
12 years ago
|
inherit cmake-utils eutils fdo-mime toolchain-funcs versionator
|
||
12 years ago
|
|
||
|
DESCRIPTION="CD and DVD image access library"
|
||
|
HOMEPAGE="http://cdemu.org"
|
||
|
SRC_URI="mirror://sourceforge/cdemu/${P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-2+"
|
||
8 years ago
|
SLOT="0/10" # subslot = libmirage soname version
|
||
|
KEYWORDS="~amd64 ~hppa ~x86"
|
||
12 years ago
|
IUSE="doc +introspection"
|
||
|
|
||
|
RDEPEND=">=app-arch/bzip2-1:=
|
||
|
>=app-arch/xz-utils-5:=
|
||
8 years ago
|
>=dev-libs/glib-2.28:2
|
||
11 years ago
|
>=media-libs/libsamplerate-0.1:=
|
||
12 years ago
|
>=media-libs/libsndfile-1.0:=
|
||
|
sys-libs/zlib:=
|
||
|
introspection? ( >=dev-libs/gobject-introspection-1.30 )"
|
||
|
DEPEND="${RDEPEND}
|
||
|
dev-util/desktop-file-utils
|
||
|
virtual/pkgconfig
|
||
|
doc? ( dev-util/gtk-doc )"
|
||
|
|
||
|
src_prepare() {
|
||
11 years ago
|
cmake-utils_src_prepare
|
||
12 years ago
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
8 years ago
|
-DGTKDOC_ENABLED="$(usex doc)"
|
||
|
-DINTROSPECTION_ENABLED="$(usex introspection)"
|
||
11 years ago
|
-DPOST_INSTALL_HOOKS=OFF # avoid sandbox violation, #487304
|
||
12 years ago
|
)
|
||
|
cmake-utils_src_configure
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
DOCS="AUTHORS README"
|
||
|
cmake-utils_src_install
|
||
|
prune_libtool_files --modules
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
|
fdo-mime_mime_database_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
fdo-mime_mime_database_update
|
||
|
}
|