diff options
Diffstat (limited to 'xfce-extra')
-rw-r--r-- | xfce-extra/xfce-theme-manager/Manifest | 1 | ||||
-rw-r--r-- | xfce-extra/xfce-theme-manager/xfce-theme-manager-0.3.7.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/xfce-extra/xfce-theme-manager/Manifest b/xfce-extra/xfce-theme-manager/Manifest index a1de31ecc592..10fbda70334f 100644 --- a/xfce-extra/xfce-theme-manager/Manifest +++ b/xfce-extra/xfce-theme-manager/Manifest @@ -1 +1,2 @@ DIST Xfce-Theme-Manager-0.3.6.tar.gz 339444 BLAKE2B fb4b1c2370b05c5a571487799a51ef209f3b10e1a9c8b87ed2b62936662c9f609c70ec84a497d1c75e8642bafcc9d3b3aaa663a51e1e3d1f1dd49cff04d45261 SHA512 4590f454675d9303ad9de3a3d7dc99e40c923bf7fe66195731ba7b4d42bbfba56e005e9d6c5629b4fa536fb05f221e10ade5098a171d179b9224cc4bb7fd28ca +DIST Xfce-Theme-Manager-0.3.7.tar.gz 231995 BLAKE2B 0ea78f6d40675e1b4ee8d1bf97656739c2a1ee816ffd95480c115d0103ee8ed9abbe06d1ac03396ce171d598c083a4039c92324b1b5fccf174e72aff6f0f44f4 SHA512 3d7441adb02af53b7dcf6bddaa3004ed0ca33e258e9c9058c3cd295e6eb1507bf71937488015f57dc837cc013487e50ff2f46c34962d191117ea6c60fb606046 diff --git a/xfce-extra/xfce-theme-manager/xfce-theme-manager-0.3.7.ebuild b/xfce-extra/xfce-theme-manager/xfce-theme-manager-0.3.7.ebuild new file mode 100644 index 000000000000..117f03bbb4bd --- /dev/null +++ b/xfce-extra/xfce-theme-manager/xfce-theme-manager-0.3.7.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN=Xfce-Theme-Manager +MY_P=${MY_PN}-${PV} + +DESCRIPTION="An alternative theme manager for The Xfce Desktop Environment" +HOMEPAGE="http://khapplications.darktech.org/pages/apps.html#themeed" +SRC_URI="https://dl.dropboxusercontent.com/s/bh16k3am8q7zvat/${MY_P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-libs/glib-2.30 + >=x11-libs/gtk+-2.24:2 + x11-libs/libXcursor + >=xfce-base/libxfce4ui-4.10:= + >=xfce-base/xfconf-4.10:= + >=xfce-base/xfdesktop-4.10:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + local PATCHES=( + "${FILESDIR}"/${PN}-0.3.6-format-security.patch + ) + + default + + sed -i \ + -e '/^Cat/s:;;Settings::' \ + -e '/^Cat/s:Gnome:GNOME:' \ + ${MY_PN}/resources/pixmaps/${MY_PN}.desktop || die + + local desktopversion=10 + has_version '>=xfce-base/xfdesktop-4.11' && desktopversion=11 + + sed -i \ + -e '/^CFLAGS/s:-Wall:& ${CFLAGS}:' \ + -e '/^CXXFLAGS/s:-Wall:& ${CXXFLAGS}:' \ + -e "/^desktopversion/s:=.*:=${desktopversion}:" \ + configure || die +} + +src_install() { + default + find "${D}" -name '*.gz' -exec gzip -d {} + || die + rm -f "${ED%/}"/usr/share/${MY_PN}/docs/gpl-3.0.txt || die +} |