code format.

orphilia_dropbox: switch to archive.
This commit is contained in:
Jerome Duval
2018-09-17 07:36:01 +02:00
parent dbe7cd4f6a
commit 7593712723
5 changed files with 25 additions and 22 deletions

View File

@@ -4,13 +4,14 @@ The OptiPNGTranslator for Haiku allows you to save images as PNG files which \
have been optimized by OptiPNG. have been optimized by OptiPNG.
" "
HOMEPAGE="https://github.com/noryb009/OptiPNGTranslator" HOMEPAGE="https://github.com/noryb009/OptiPNGTranslator"
LICENSE="MIT"
COPYRIGHT="2013 Luke (noryb009)" COPYRIGHT="2013 Luke (noryb009)"
LICENSE="MIT"
REVISION="3" REVISION="3"
srcGitRev="8e3996a92d840f3c097cf954e001d4f371265161" srcGitRev="8e3996a92d840f3c097cf954e001d4f371265161"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz" SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="4bbcb970f42bc13bba1105cce03739601339c3c52f8aec6c16130a9a1834746d" CHECKSUM_SHA256="4bbcb970f42bc13bba1105cce03739601339c3c52f8aec6c16130a9a1834746d"
SOURCE_DIR="OptiPNGTranslator-$srcGitRev" SOURCE_DIR="OptiPNGTranslator-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86 x86_64" ARCHITECTURES="x86_gcc2 x86 x86_64"
if [ $buildArchitecture = x86_gcc2 ] && \ if [ $buildArchitecture = x86_gcc2 ] && \
@@ -22,7 +23,6 @@ PROVIDES="
optipngtranslator = $portVersion optipngtranslator = $portVersion
app:OptiPNGTranslator = $portVersion app:OptiPNGTranslator = $portVersion
" "
REQUIRES=" REQUIRES="
haiku haiku
cmd:optipng$optipngSuffix cmd:optipng$optipngSuffix
@@ -32,9 +32,9 @@ BUILD_REQUIRES="
haiku_devel haiku_devel
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
makefile_engine
cmd:as cmd:as
cmd:gcc cmd:gcc
makefile_engine
cmd:make cmd:make
" "

View File

@@ -9,9 +9,13 @@ HOMEPAGE="https://github.com/ksiazkowicz/orphilia-dropbox"
COPYRIGHT="2011-2014 Maciej Janiszewski" COPYRIGHT="2011-2014 Maciej Janiszewski"
LICENSE="MIT" LICENSE="MIT"
REVISION="2" REVISION="2"
SOURCE_URI="git+https://github.com/ksiazkowicz/orphilia-dropbox.git#f692f26793a48e2742f12c20767f0f22a9ff39af" srcGitRev="f692f26793a48e2742f12c20767f0f22a9ff39af"
SOURCE_URI="https://github.com/ksiazkowicz/orphilia-dropbox/archive/f692f26793a48e2742f12c20767f0f22a9ff39af.tar.gz"
CHECKSUM_SHA256="31d39a4aa08b3711bcc044045c2862ddbd831ff4e848b85c6c188ce7e4c562d1"
SOURCE_DIR="orphilia-dropbox-$srcGitRev"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
# Should be called after activating package # Should be called after activating package
#POST_INSTALL_SCRIPTS=" #POST_INSTALL_SCRIPTS="
# \"orphilia.py --configuration\" # \"orphilia.py --configuration\"
@@ -19,19 +23,8 @@ ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES=" PROVIDES="
orphilia_dropbox = $portVersion orphilia_dropbox = $portVersion
cmd:orphilia_haiku_notify = $portVersion
cmd:orphilia.py = $portVersion cmd:orphilia.py = $portVersion
" cmd:orphilia_haiku_notify = $portVersion
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc
cmd:python
cmd:sed
"
BUILD_REQUIRES="
haiku_devel
setuptools_python
" "
REQUIRES=" REQUIRES="
pathtools_python pathtools_python
@@ -41,6 +34,16 @@ REQUIRES="
cmd:python cmd:python
" "
BUILD_REQUIRES="
haiku_devel
setuptools_python
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:python
cmd:sed
"
BUILD() BUILD()
{ {
python build.py python build.py

View File

@@ -49,8 +49,8 @@ BUILD_REQUIRES="
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
makefile_engine makefile_engine
cmd:make
cmd:gcc cmd:gcc
cmd:make
" "
# For the time being the _debuginfo package has to be generated separately, as # For the time being the _debuginfo package has to be generated separately, as

View File

@@ -17,6 +17,9 @@ fi
ARCHITECTURES="x86_gcc2 ?x86 x86_64" ARCHITECTURES="x86_gcc2 ?x86 x86_64"
USER_SETTINGS_FILES="settings/TimeTracker
settings/TimeTrackerTasks"
PROVIDES=" PROVIDES="
timetracker = $portVersion timetracker = $portVersion
app:TimeTracker = $portVersion app:TimeTracker = $portVersion
@@ -30,13 +33,10 @@ BUILD_REQUIRES="
" "
BUILD_PREREQUIRES=" BUILD_PREREQUIRES="
makefile_engine makefile_engine
cmd:make
cmd:g++ cmd:g++
cmd:make
" "
USER_SETTINGS_FILES="settings/TimeTracker
settings/TimeTrackerTasks"
BUILD() BUILD()
{ {
cd src cd src

View File

@@ -23,8 +23,8 @@ Thomas Marsh and Jan Hubicka, and it is currently maintained by Zoltan Kovacs \
and J.B. Langston. Countless other improvements have been contributed by \ and J.B. Langston. Countless other improvements have been contributed by \
volunteers around the world. You can help improve XaoS, too." volunteers around the world. You can help improve XaoS, too."
HOMEPAGE="http://xaos.sourceforge.net/" HOMEPAGE="http://xaos.sourceforge.net/"
LICENSE="GNU GPL v2"
COPYRIGHT="2008 GNU XaoS Contributors" COPYRIGHT="2008 GNU XaoS Contributors"
LICENSE="GNU GPL v2"
REVISION="3" REVISION="3"
SOURCE_URI="https://github.com/xaos-project/XaoS/archive/release-$portVersion.zip" SOURCE_URI="https://github.com/xaos-project/XaoS/archive/release-$portVersion.zip"
CHECKSUM_SHA256="7b2a802c638ed880a86db4b2feccc7fc949599916329b799807758dca61d6eb8" CHECKSUM_SHA256="7b2a802c638ed880a86db4b2feccc7fc949599916329b799807758dca61d6eb8"