Various minor improvements

This commit is contained in:
2016-02-29 00:05:15 +01:00
parent 3fa0f3d96a
commit 1300f8bdd1
71 changed files with 291 additions and 280 deletions

View File

@@ -17,9 +17,9 @@ DESCRIPTION="
"
MY_PN="OpenSceneGraph"
MY_P=${MY_PN}-${PV}
MY_PNV=${MY_PN}-${PV}
HOMEPAGE="http://${PN}.org"
DOWNLOADS="http://trac.openscenegraph.org/downloads/developer_releases/${MY_P}.zip"
DOWNLOADS="http://trac.openscenegraph.org/downloads/developer_releases/${MY_PNV}.zip"
LICENCES="wxWinLL-3 LGPL-2.1"
SLOT="0"
@@ -87,3 +87,4 @@ src_prepare() {
cmake_src_prepare
}

View File

@@ -29,6 +29,9 @@ MYOPTIONS="
"
DEPENDENCIES="
build:
dev-libs/glm
virtual/pkg-config
build+run:
dev-libs/pcre[>=5.0]
media-libs/freetype:2[>=0.15.0]
@@ -48,9 +51,6 @@ DEPENDENCIES="
)
tinyxml? ( dev-libs/tinyxml )
xerces? ( dev-libs/xerces-c )
build:
dev-libs/glm
virtual/pkg-config
"
# TODO: python
@@ -94,3 +94,4 @@ CMAKE_SRC_CONFIGURE_OPTIONS=(
src_prepare() {
edo sed -i -e '/CEGUI_LIB_INSTALL_DIR/s#lib64#lib#' CMakeLists.txt
}

View File

@@ -1,6 +1,7 @@
From: Julian Ospald <hasufell@gentoo.org>
Date: Sat Oct 27 22:39:31 UTC 2012
Subject: FHS
Upstream: no
paths hardcoded until upstream fixed the logic

View File

@@ -1,4 +1,6 @@
Fix installation destination
Source: Julian Ospald <hasufell@posteo.de>
Upstream: no
Reason: Fix installation destination
diff -ru mygui-MyGUI3.2.2.orig/CMake/ConfigureBuild.cmake mygui-MyGUI3.2.2/CMake/ConfigureBuild.cmake
--- mygui-MyGUI3.2.2.orig/CMake/ConfigureBuild.cmake 2015-01-26 10:32:35.000000000 -0500

View File

@@ -1,6 +1,7 @@
From: Julian Ospald <hasufell@gentoo.org>
Date: Fri Jun 15 10:42:42 UTC 2012
Subject: build system
Upstream: no
fix underlinking

View File

@@ -1,24 +1,20 @@
# Copyright 2014 Julian Ospald <hasufell@posteo.de>
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2
MY_PN=MyGUI
MY_P=${MY_PN}${PV}
WORK="${WORKBASE}/${PN}-${MY_P}"
MY_PNV=${MY_PN}${PV}
WORK="${WORKBASE}/${PN}-${MY_PNV}"
require cmake [ api=2 ]
SUMMARY="A library for creating GUIs for games"
HOMEPAGE="http://mygui.info/"
DOWNLOADS="https://github.com/MyGUI/mygui/archive/${MY_P}.tar.gz"
DOWNLOADS="https://github.com/MyGUI/mygui/archive/${MY_PNV}.tar.gz"
LICENCES="MIT"
SLOT="0"
PLATFORMS="~amd64 ~x86"
DEPENDENCIES="
build+run:
media-libs/freetype:2
@@ -62,3 +58,4 @@ src_install() {
# wrapper not available for linux, remove related media
edo rm -rf "${IMAGE}"/usr/share/MYGUI/Media/Wrapper
}