diff options
author | Sven 'sleipnir' Rebhan <odinshorse@googlemail.com> | 2009-02-15 20:23:19 +0000 |
---|---|---|
committer | Sven 'sleipnir' Rebhan <odinshorse@googlemail.com> | 2009-02-15 20:23:19 +0000 |
commit | f20460c4fc6580cc3bda678ac3bb43be0514df94 (patch) | |
tree | 1bb1cbdc0786b4e397d0fe0b4355eeb98d36e9f6 /eclass | |
parent | Unmask the new E snapshot using our keywords. (diff) | |
download | embedded-cross-f20460c4fc6580cc3bda678ac3bb43be0514df94.tar.gz embedded-cross-f20460c4fc6580cc3bda678ac3bb43be0514df94.tar.bz2 embedded-cross-f20460c4fc6580cc3bda678ac3bb43be0514df94.zip |
Provide an easy way for applying patches in E17 packages.
With this change simply set: E17_PATCHES="patch1 patch2 ... patchN"
in the ebuild without ${FILESDIR} and the patches get applied in that order.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/enlightenment.eclass | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass index f5cc74d..f35d1d5 100644 --- a/eclass/enlightenment.eclass +++ b/eclass/enlightenment.eclass @@ -2,17 +2,24 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -inherit autotools subversion - +inherit autotools eutils subversion ESVN_REPO_URI="http://svn.enlightenment.org/svn/e/trunk$SVN_SUBDIR/${PN}" ESVN_REVISION="r39002" +E17_PATCHES="${E17_PATCHES:=}" + + enlightenment_src_unpack() { subversion_src_unpack cd "${S}" + # Applying all user specified patches + for patch in ${E17_PATCHES}; do + epatch "${FILESDIR}/${patch}" + done + eautoreconf || die "eautoreconf failed" } @@ -29,4 +36,4 @@ enlightenment_src_install () { } -EXPORT_FUNCTIONS src_unpack src_compile src_install
\ No newline at end of file +EXPORT_FUNCTIONS src_unpack src_compile src_install |