fsviewer-0.2.6-r2.ebuild 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit autotools multilib
  5. MY_P=${PN}-app-${PV}
  6. DESCRIPTION="A file system viewer for Window Maker"
  7. HOMEPAGE="http://www.bayernline.de/~gscholz/linux/fsviewer/"
  8. SRC_URI="http://www.bayernline.de/~gscholz/linux/${PN}/${MY_P}.tar.bz2"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="amd64 ppc x86"
  12. IUSE="nls"
  13. RDEPEND=">=x11-wm/windowmaker-0.95.2
  14. x11-libs/libXft
  15. x11-libs/libXpm
  16. x11-libs/libX11"
  17. DEPEND="${RDEPEND}
  18. x11-proto/xproto
  19. nls? ( sys-devel/gettext )"
  20. S=${WORKDIR}/${MY_P}
  21. PATCHES=(
  22. "${FILESDIR}"/${P}-configure.patch
  23. "${FILESDIR}"/${P}-gcc5.patch
  24. "${FILESDIR}"/${P}-wmaker-0.95_support.patch
  25. "${FILESDIR}"/${P}-fix_title_bar.patch
  26. )
  27. DOCS="AUTHORS ChangeLog NEWS README"
  28. src_prepare() {
  29. default
  30. eautoreconf
  31. }
  32. src_configure() {
  33. econf \
  34. $(use_enable nls) \
  35. --with-appspath=/usr/$(get_libdir)/GNUstep
  36. }
  37. src_install() {
  38. default
  39. dosym /usr/$(get_libdir)/GNUstep/FSViewer.app/FSViewer /usr/bin/FSViewer
  40. }