mirror of https://gitlab.com/cppit/jucipp
5 changed files with 0 additions and 166 deletions
@ -1,15 +0,0 @@ |
|||||||
--- gtksourceview-3.13.90/configure.ac.orig 2014-08-22 00:42:28.532000000 +0400
|
|
||||||
+++ gtksourceview-3.13.90/configure.ac 2014-08-22 00:43:00.621200000 +0400
|
|
||||||
@@ -133,6 +133,12 @@
|
|
||||||
AC_MSG_RESULT([$GLADE_CATALOG_DIR])
|
|
||||||
AC_SUBST(GLADE_CATALOG_DIR)])
|
|
||||||
|
|
||||||
+case "$host" in
|
|
||||||
+ *-*-mingw*)
|
|
||||||
+ GLADE_CATALOG_DIR=`cygpath -u $GLADE_CATALOG_DIR`
|
|
||||||
+ ;;
|
|
||||||
+esac
|
|
||||||
+
|
|
||||||
# i18N stuff
|
|
||||||
IT_PROG_INTLTOOL([0.40])
|
|
||||||
AS_IF([test "$USE_NLS" = "yes"],
|
|
||||||
@ -1,27 +0,0 @@ |
|||||||
Copyright (c) 2013, Алексей |
|
||||||
All rights reserved. |
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification, |
|
||||||
are permitted provided that the following conditions are met: |
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice, this |
|
||||||
list of conditions and the following disclaimer. |
|
||||||
|
|
||||||
* Redistributions in binary form must reproduce the above copyright notice, this |
|
||||||
list of conditions and the following disclaimer in the documentation and/or |
|
||||||
other materials provided with the distribution. |
|
||||||
|
|
||||||
* Neither the name of the {organization} nor the names of its |
|
||||||
contributors may be used to endorse or promote products derived from |
|
||||||
this software without specific prior written permission. |
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
|
||||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
||||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
|
||||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
|
||||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
|
||||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
|
||||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
|
||||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
||||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
|
||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
||||||
@ -1,64 +0,0 @@ |
|||||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com> |
|
||||||
|
|
||||||
_realname=gtksourceview |
|
||||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}3" |
|
||||||
pkgver=3.12.0 |
|
||||||
pkgrel=2 |
|
||||||
pkgdesc="A text widget adding syntax highlighting and more to GNOME (mingw-w64)" |
|
||||||
arch=('any') |
|
||||||
url="http://www.gnome.org" |
|
||||||
license=("LGPL") |
|
||||||
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" |
|
||||||
"${MINGW_PACKAGE_PREFIX}-pkg-config" |
|
||||||
"${MINGW_PACKAGE_PREFIX}-gobject-introspection" |
|
||||||
"${MINGW_PACKAGE_PREFIX}-glade" |
|
||||||
"${MINGW_PACKAGE_PREFIX}-vala" |
|
||||||
"intltool" |
|
||||||
"gtk-doc") |
|
||||||
depends=("${MINGW_PACKAGE_PREFIX}-gtk3" |
|
||||||
"${MINGW_PACKAGE_PREFIX}-libxml2") |
|
||||||
options=(!libtool strip staticlibs) |
|
||||||
source=("http://ftp.gnome.org/pub/gnome/sources/gtksourceview/${pkgver%.*}/gtksourceview-${pkgver}.tar.xz" |
|
||||||
0006-hack-convert-path-back-to-unix.patch) |
|
||||||
md5sums=('8850fc0aee4893668ede37a30ef05e85' |
|
||||||
'324c9e3bb2e4fa2a4977653ce6ed6ef9') |
|
||||||
|
|
||||||
prepare() { |
|
||||||
cd ${_realname}-${pkgver} |
|
||||||
patch -p1 -i ${srcdir}/0006-hack-convert-path-back-to-unix.patch |
|
||||||
|
|
||||||
autoreconf -fi |
|
||||||
} |
|
||||||
|
|
||||||
build() { |
|
||||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}" |
|
||||||
cd "${srcdir}/build-${MINGW_CHOST}" |
|
||||||
|
|
||||||
mkdir -p docs/reference/html |
|
||||||
cp -rf ../${_realname}-${pkgver}/docs/reference/html/* docs/reference/html |
|
||||||
|
|
||||||
DATADIRNAME=share \ |
|
||||||
../${_realname}-${pkgver}/configure \ |
|
||||||
--prefix=${MINGW_PREFIX} \ |
|
||||||
--build=${MINGW_CHOST} \ |
|
||||||
--host=${MINGW_CHOST} \ |
|
||||||
--enable-shared \ |
|
||||||
--disable-static \ |
|
||||||
--enable-glade-catalog |
|
||||||
|
|
||||||
LC_ALL=C make |
|
||||||
} |
|
||||||
|
|
||||||
package() { |
|
||||||
cd "${srcdir}/build-${MINGW_CHOST}" |
|
||||||
make -j1 DESTDIR="${pkgdir}" install |
|
||||||
|
|
||||||
for ff in ${pkgdir}/${MINGW_PREFIX}/bin/libgtksourceview*.dll; do |
|
||||||
local _reallib=$(basename $ff) |
|
||||||
_reallib=${_reallib%.dll} |
|
||||||
_reallib=${_reallib#lib} |
|
||||||
sed -e "s|library=\"gtksourceview-3.0\"|library=\"${_reallib}\"|g" -i ${pkgdir}/${MINGW_PREFIX}/share/glade/catalogs/gtksourceview.xml |
|
||||||
done |
|
||||||
|
|
||||||
install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING" |
|
||||||
} |
|
||||||
@ -1,27 +0,0 @@ |
|||||||
Copyright (c) 2013, Алексей |
|
||||||
All rights reserved. |
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification, |
|
||||||
are permitted provided that the following conditions are met: |
|
||||||
|
|
||||||
* Redistributions of source code must retain the above copyright notice, this |
|
||||||
list of conditions and the following disclaimer. |
|
||||||
|
|
||||||
* Redistributions in binary form must reproduce the above copyright notice, this |
|
||||||
list of conditions and the following disclaimer in the documentation and/or |
|
||||||
other materials provided with the distribution. |
|
||||||
|
|
||||||
* Neither the name of the {organization} nor the names of its |
|
||||||
contributors may be used to endorse or promote products derived from |
|
||||||
this software without specific prior written permission. |
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
|
||||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
||||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
|
||||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
|
||||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
|
||||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
|
||||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
|
||||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
|
||||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
|
||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
||||||
@ -1,33 +0,0 @@ |
|||||||
_realname=gtksourceviewmm3 |
|
||||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" |
|
||||||
pkgver=3.12.0 |
|
||||||
pkgrel=1 |
|
||||||
pkgdesc="C++ bindings for gtksourceview3 (mingw-w64)" |
|
||||||
arch=('any') |
|
||||||
url="https://developer.gnome.org/gtksourceviewmm/" |
|
||||||
license=("LGPL") |
|
||||||
makedepends=("patch" "${MINGW_PACKAGE_PREFIX}-gcc" "${MINGW_PACKAGE_PREFIX}-pkg-config") |
|
||||||
depends=("${MINGW_PACKAGE_PREFIX}-gtksourceview3=${pkgver}") |
|
||||||
options=('staticlibs' 'strip') |
|
||||||
source=("https://download.gnome.org/sources/gtksourceviewmm/${pkgver%.*}/gtksourceviewmm-${pkgver}.tar.xz") |
|
||||||
sha256sums=("73939031bcc60e6ad31a315ec84b132deba15e5732de16e75fe424a619267ace") |
|
||||||
|
|
||||||
build() { |
|
||||||
mkdir -p "${srcdir}/build-${MINGW_CHOST}" |
|
||||||
cd "${srcdir}/build-${MINGW_CHOST}" |
|
||||||
../gtksourceviewmm-${pkgver}/configure \ |
|
||||||
CXXFLAGS=-std=c++11 \ |
|
||||||
--prefix=${MINGW_PREFIX} \ |
|
||||||
--build=${MINGW_CHOST} \ |
|
||||||
--host=${MINGW_CHOST} \ |
|
||||||
--enable-shared \ |
|
||||||
--enable-static \ |
|
||||||
--disable-documentation |
|
||||||
make |
|
||||||
} |
|
||||||
|
|
||||||
package() { |
|
||||||
cd "${srcdir}/build-${MINGW_CHOST}" |
|
||||||
make DESTDIR="${pkgdir}" install |
|
||||||
find "${pkgdir}${MINGW_PREFIX}" -name '*.def' -o -name '*.exp' | xargs -rtl1 rm |
|
||||||
} |
|
||||||
Loading…
Reference in new issue