x11-misc/tint2: fix tint2rc for prefix bug #629134
authorAmy Liffey <amynka@gentoo.org>
Mon, 28 Aug 2017 16:20:03 +0000 (18:20 +0200)
committerAmy Liffey <amynka@gentoo.org>
Mon, 28 Aug 2017 16:21:06 +0000 (18:21 +0200)
Submitted-by: tastu teche <tastuteche@yahoo.com>
Package-Manager: Portage-2.3.6, Repoman-2.3.1

x11-misc/tint2/files/0.14.6-sysconfdir-xdg.patch [new file with mode: 0644]
x11-misc/tint2/tint2-0.14.6-r1.ebuild [moved from x11-misc/tint2/tint2-0.14.6.ebuild with 95% similarity]

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 (file)
index 0000000..73da5b1
--- /dev/null
@@ -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} )
+
similarity index 95%
rename from x11-misc/tint2/tint2-0.14.6.ebuild
rename to x11-misc/tint2/tint2-0.14.6-r1.ebuild
index c34f978854960468c478a46523cdb1b233489273..7e9b1d536726a3e22c618ee00f53f22b9492b8dc 100644 (file)
@@ -31,6 +31,8 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+PATCHES=( "${FILESDIR}/${PV}-sysconfdir-xdg.patch" )
+
 src_configure() {
        local mycmakeargs=(
                -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"