summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-27 22:06:39 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-28 01:26:05 +0100
commit836056021e23a3b92c646050d8d91adb3eb451d4 (patch)
treef2d998a2bb36d86832a4226f793020888d77aea3 /media-libs/libgpod
parentnet-misc/chrony: Added ~mips to KEYWORDS. (diff)
downloadgentoo-836056021e23a3b92c646050d8d91adb3eb451d4.tar.gz
gentoo-836056021e23a3b92c646050d8d91adb3eb451d4.tar.bz2
gentoo-836056021e23a3b92c646050d8d91adb3eb451d4.zip
media-libs/libgpod: Drop IUSE=mono, rm libgpod-sharp pkgconfig
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/libgpod')
-rw-r--r--media-libs/libgpod/libgpod-0.8.3-r4.ebuild69
1 files changed, 69 insertions, 0 deletions
diff --git a/media-libs/libgpod/libgpod-0.8.3-r4.ebuild b/media-libs/libgpod/libgpod-0.8.3-r4.ebuild
new file mode 100644
index 000000000000..6dd0be340168
--- /dev/null
+++ b/media-libs/libgpod/libgpod-0.8.3-r4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools udev
+
+DESCRIPTION="Shared library to access the contents of an iPod"
+HOMEPAGE="http://www.gtkpod.org/libgpod/"
+SRC_URI="mirror://sourceforge/gtkpod/${P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="+gtk ios +udev"
+
+RDEPEND="
+ >=app-pda/libplist-1.0:=
+ >=dev-db/sqlite-3:3
+ >=dev-libs/glib-2.16:2
+ dev-libs/libxml2:2
+ sys-apps/sg3_utils
+ gtk? ( x11-libs/gdk-pixbuf:2 )
+ ios? ( app-pda/libimobiledevice:= )
+ udev? ( virtual/udev )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-libs/libxslt
+ dev-util/intltool
+ dev-util/gtk-doc-am
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+DOCS=( AUTHORS NEWS README{,.overview,.sqlite,.SysInfo} TROUBLESHOOTING )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-comment.patch # bug 537968
+ "${FILESDIR}"/${P}-segfault.patch # bug 565052
+ "${FILESDIR}"/${P}-pkgconfig_overlinking.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-pygobject
+ --disable-static
+ --without-hal
+ --without-mono
+ --without-python
+ --with-udev-dir="$(get_udevdir)"
+ $(use_enable gtk gdk-pixbuf)
+ $(use_with ios libimobiledevice)
+ $(use_enable udev)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ rm "${ED}"/usr/$(get_libdir)/pkgconfig/libgpod-sharp.pc || die
+ rmdir "${ED}"/tmp || die
+ find "${ED}" -name '*.la' -type f -delete || die
+}