From: | "Ben de Groot (yngwin)" <yngwin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-libs/libfm-extra: metadata.xml libfm-extra-1.2.3.ebuild Manifest ChangeLog |
Date: | Fri, 06 Mar 2015 12:38:11 |
Message-Id: | 20150306123802.C637C132A1@oystercatcher.gentoo.org |
1 | yngwin 15/03/06 12:38:02 |
2 | |
3 | Added: metadata.xml libfm-extra-1.2.3.ebuild Manifest |
4 | ChangeLog |
5 | Log: |
6 | Initial commit. Split off from libfm to prevent circular dep with menu-cache. |
7 | |
8 | (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x4FDF9CFD2FAC514E!) |
9 | |
10 | Revision Changes Path |
11 | 1.1 x11-libs/libfm-extra/metadata.xml |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm-extra/metadata.xml?rev=1.1&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm-extra/metadata.xml?rev=1.1&content-type=text/plain |
15 | |
16 | Index: metadata.xml |
17 | =================================================================== |
18 | <?xml version="1.0" encoding="UTF-8"?> |
19 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
20 | <pkgmetadata> |
21 | <herd>lxde</herd> |
22 | <herd>lxqt</herd> |
23 | </pkgmetadata> |
24 | |
25 | |
26 | |
27 | 1.1 x11-libs/libfm-extra/libfm-extra-1.2.3.ebuild |
28 | |
29 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm-extra/libfm-extra-1.2.3.ebuild?rev=1.1&view=markup |
30 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm-extra/libfm-extra-1.2.3.ebuild?rev=1.1&content-type=text/plain |
31 | |
32 | Index: libfm-extra-1.2.3.ebuild |
33 | =================================================================== |
34 | # Copyright 1999-2015 Gentoo Foundation |
35 | # Distributed under the terms of the GNU General Public License v2 |
36 | # $Header: /var/cvsroot/gentoo-x86/x11-libs/libfm-extra/libfm-extra-1.2.3.ebuild,v 1.1 2015/03/06 12:38:02 yngwin Exp $ |
37 | |
38 | EAPI=5 |
39 | inherit autotools fdo-mime |
40 | |
41 | MY_PV=${PV/_/} |
42 | MY_PN="libfm" |
43 | MY_P="${MY_PN}-${MY_PV}" |
44 | DESCRIPTION="A library for file management" |
45 | HOMEPAGE="http://pcmanfm.sourceforge.net/" |
46 | SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${MY_P}.tar.xz" |
47 | |
48 | KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~x86-linux" |
49 | LICENSE="GPL-2" |
50 | SLOT="0/4.3.0" #copy ABI_VERSION because it seems upstream change it randomly |
51 | IUSE="" |
52 | |
53 | RDEPEND=">=dev-libs/glib-2.18:2" |
54 | DEPEND="${RDEPEND} |
55 | app-arch/xz-utils |
56 | >=dev-util/intltool-0.40 |
57 | virtual/pkgconfig |
58 | sys-devel/gettext" |
59 | |
60 | S="${WORKDIR}"/${MY_P} |
61 | |
62 | src_prepare() { |
63 | sed -ie '/^SUBDIR.*=/s#docs##' "${S}"/Makefile.am || die "sed failed" |
64 | sed -ie '/^[[:space:]]*docs/d' configure.ac || die "sed failed" |
65 | sed -i -e "s:-O0::" -e "/-DG_ENABLE_DEBUG/s: -g::" \ |
66 | configure.ac || die "sed failed" |
67 | |
68 | #disable unused translations. Bug #356029 |
69 | for trans in app-chooser ask-rename exec-file file-prop preferred-apps \ |
70 | progress;do |
71 | echo "data/ui/"${trans}.ui >> po/POTFILES.in |
72 | done |
73 | #Remove -Werror for automake-1.12. Bug #421101 |
74 | sed -i "s:-Werror::" configure.ac || die |
75 | |
76 | # subslot sanity check |
77 | local sub_slot=${SLOT#*/} |
78 | local libfm_major_abi=$(sed -rne '/ABI_VERSION/s:.*=::p' src/Makefile.am | tr ':' '.') |
79 | |
80 | if [[ ${sub_slot} != ${libfm_major_abi} ]]; then |
81 | eerror "Ebuild sub-slot (${sub_slot}) does not match ABI_VERSION(${libfm_major_abi})" |
82 | eerror "Please update SLOT variable as follows:" |
83 | eerror " SLOT=\"${SLOT%%/*}/${libfm_major_abi}\"" |
84 | eerror |
85 | die "sub-slot sanity check failed" |
86 | fi |
87 | |
88 | eautoreconf |
89 | rm -r autom4te.cache || die |
90 | } |
91 | |
92 | src_configure() { |
93 | econf --sysconfdir="${EPREFIX}/etc" --disable-dependency-tracking \ |
94 | --disable-static --with-extra-only |
95 | } |
96 | |
97 | src_install() { |
98 | default |
99 | find "${D}" -name '*.la' -exec rm -f '{}' + |
100 | # Sometimes a directory is created instead of a symlink. No idea why... |
101 | # It is wrong anyway. We expect a libfm-1.0 directory and then a libfm |
102 | # symlink to it. |
103 | if [[ -h ${D}/usr/include/${MY_PN} || -d ${D}/usr/include/${MY_PN} ]]; then |
104 | rm -r "${D}"/usr/include/${MY_PN} |
105 | fi |
106 | } |
107 | |
108 | pkg_preinst() { |
109 | # Resolve the symlink mess. Bug #439570 |
110 | [[ -d "${ROOT}"/usr/include/${MY_PN} ]] && \ |
111 | rm -rf "${ROOT}"/usr/include/${MY_PN} |
112 | if [[ -d "${D}"/usr/include/${MY_PN}-1.0 ]]; then |
113 | cd "${D}"/usr/include |
114 | ln -s --force ${MY_PN}-1.0 ${MY_PN} |
115 | fi |
116 | } |
117 | |
118 | pkg_postinst() { |
119 | fdo-mime_mime_database_update |
120 | } |
121 | |
122 | pkg_postrm() { |
123 | fdo-mime_mime_database_update |
124 | } |
125 | |
126 | |
127 | |
128 | 1.1 x11-libs/libfm-extra/Manifest |
129 | |
130 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm-extra/Manifest?rev=1.1&view=markup |
131 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm-extra/Manifest?rev=1.1&content-type=text/plain |
132 | |
133 | Index: Manifest |
134 | =================================================================== |
135 | DIST libfm-1.2.3.tar.xz 898256 SHA256 c692f1624a4cbc8d1dd55f3b3f3369fbf5d26f63a916e2c295230b2344e1fbf9 SHA512 f4c214daffc47f05ba31c65203ab0542a03f5a246ea4bb62b6b365ac3fa120a1a51e37b00f8a43afe56875eb69f9be327ac724dafb6fc2de13aa77deea23f443 WHIRLPOOL ae5354c5ef5154ebce8a9124b47e0a645171d50d4034fd1e6000ff084acc15261398029c58b067b9027d4ba68d36d8addf91a28678c91a3fbd9ce0806e9b6046 |
136 | EBUILD libfm-extra-1.2.3.ebuild 2638 SHA256 1bc2313d6f2d9e2dde24443ac33751b7f2fca18caec093cf7a3952a82471f5a8 SHA512 0ecf2816fc2228c7bac189def65a087b32f20813cc382b219697261f93cf55b9566d83191db0f39127095ea5c9a76503d00b2ef7a462fa5c32e6499bcffeb7ce WHIRLPOOL 77ba44bbeae0033c2b3e51b64287709eebf279a0b36694f8be39b560db6cdb64e7acc769e89372170f4af9db741ec7cb996589bcc9e78c4a60c16e5816de16f3 |
137 | MISC metadata.xml 179 SHA256 f2fb09f29eb86b99a43176e7c3e23a9050944bc16d3c8a24de81d68769f7972c SHA512 3e4198ffd569b62911dc8625912ebbf9935ba8fed89b89d8fc9365fc5ae8820e0c191a0eb6bfb1e7945b8ed598004f3b1d945314bb7b9dfcc366174598084ee0 WHIRLPOOL af31d78fddcc9f5642aae3fb6ee6ba593c1c3f8e5fa4b16636b23c363418c1bb10d3b82ada595403ec2099d5edf69a31f8080af6015bdf68b1de4a6f423f4842 |
138 | |
139 | |
140 | |
141 | 1.1 x11-libs/libfm-extra/ChangeLog |
142 | |
143 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm-extra/ChangeLog?rev=1.1&view=markup |
144 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/libfm-extra/ChangeLog?rev=1.1&content-type=text/plain |
145 | |
146 | Index: ChangeLog |
147 | =================================================================== |
148 | # ChangeLog for x11-libs/libfm-extra |
149 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
150 | # $Header: /var/cvsroot/gentoo-x86/x11-libs/libfm-extra/ChangeLog,v 1.1 2015/03/06 12:38:02 yngwin Exp $ |
151 | |
152 | *libfm-extra-1.2.3 (06 Mar 2015) |
153 | |
154 | 06 Mar 2015; Ben de Groot <yngwin@g.o> +libfm-extra-1.2.3.ebuild, |
155 | +metadata.xml: |
156 | Initial commit. Split off from libfm to prevent circular dep with menu-cache. |