summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2017-08-28 18:20:03 +0200
committerAmy Liffey <amynka@gentoo.org>2017-08-28 18:21:06 +0200
commitb4892d73b5d0c05d5127e90acb2d6b246b6f42e3 (patch)
treeac7c4c4b6d8f45a3c5461956e410bbe6b3f480f7 /x11-misc/tint2
parentsys-cluster/heat: 7.0.6 and 8.0.4 bup (diff)
downloadgentoo-b4892d73b5d0c05d5127e90acb2d6b246b6f42e3.tar.gz
gentoo-b4892d73b5d0c05d5127e90acb2d6b246b6f42e3.tar.bz2
gentoo-b4892d73b5d0c05d5127e90acb2d6b246b6f42e3.zip
x11-misc/tint2: fix tint2rc for prefix bug #629134
Submitted-by: tastu teche <tastuteche@yahoo.com> Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'x11-misc/tint2')
-rw-r--r--x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch12
-rw-r--r--x11-misc/tint2/tint2-0.14.6-r1.ebuild (renamed from x11-misc/tint2/tint2-0.14.6.ebuild)2
2 files changed, 14 insertions, 0 deletions
diff --git a/x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch b/x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch
new file mode 100644
index 000000000000..73da5b15a410
--- /dev/null
+++ b/x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch
@@ -0,0 +1,12 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -257,7 +257,7 @@
+ install( TARGETS tint2 DESTINATION bin )
+ install( FILES tint2.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps )
+ install( FILES tint2.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications )
+-install( FILES themes/tint2rc DESTINATION /etc/xdg/tint2 )
++install( FILES themes/tint2rc DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/xdg/tint2 )
+ install( FILES default_icon.png DESTINATION ${CMAKE_INSTALL_DATADIR}/tint2 )
+ install( FILES AUTHORS ChangeLog README.md doc/tint2.md DESTINATION ${docdir} )
+ install( FILES doc/manual.html doc/readme.html DESTINATION ${htmldir} )
+
diff --git a/x11-misc/tint2/tint2-0.14.6.ebuild b/x11-misc/tint2/tint2-0.14.6-r1.ebuild
index c34f97885496..7e9b1d536726 100644
--- a/x11-misc/tint2/tint2-0.14.6.ebuild
+++ b/x11-misc/tint2/tint2-0.14.6-r1.ebuild
@@ -31,6 +31,8 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/${PV}-sysconfdir-xdg.patch" )
+
src_configure() {
local mycmakeargs=(
-Ddocdir="${EPREFIX}/usr/share/doc/${PF}"