mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-01 20:48:54 +02:00
* openimageio Re-ordering blocks Adding formerly unreferenced patchset. Doesn't build anyway. * ordereddict Removed "." from SUMMARY Re-ordering blocks * oricutron Removed "." from SUMMARY Still a non-building BEP file * orphilia_dropbox Removed "." from SUMMARY Re-ordering blocks * pachi Removed "(C)" from COPYRIGHT Re-ordering blocks * pari Removed "." from SUMMARY Re-ordering blocks * pciutils Improved DESCRIPTION Re-ordering blocks * phantomlimb Improved SUMMARY Re-ordering blocks * photograbber Removed "." from SUMMARY Re-ordering blocks * piozone Improved DESCRIPTION Re-ordering blocks * plee_the_bear Removed "." and improved SUMMARY Re-ordering blocks * postgresql_server Removed "." from SUMMARY Re-ordering blocks * privoxy Removed "." and improved SUMMARY Re-ordering blocks * proj-4 Removed "." and improved SUMMARY Re-ordering blocks Changed the SOURCE_URI to the github where they moved Added $secondaryArchSuffix to the provided cmd * protobuf Re-ordering blocks Updating and referencing patch Removed out-of-date patch.
73 lines
2.0 KiB
Bash
73 lines
2.0 KiB
Bash
SUMMARY="An open-source Dropbox client"
|
|
DESCRIPTION="Orphilia is an open-source Dropbox client written in Python. \
|
|
Project's main goal is to provide an open-source desktop Dropbox client for \
|
|
platforms, that aren't supported (for example, Haiku). Orphilia is \
|
|
script-based which makes it platform-independent. It's written using \
|
|
Dropbox SDK from here, which has been integrated into Orphilia's source \
|
|
code and is not required for installation."
|
|
HOMEPAGE="https://github.com/ksiazkowicz/orphilia-dropbox"
|
|
COPYRIGHT="2011-2014 Maciej Janiszewski"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="git+https://github.com/ksiazkowicz/orphilia-dropbox.git#f692f26793a48e2742f12c20767f0f22a9ff39af"
|
|
|
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
|
# Should be called after activating package
|
|
#POST_INSTALL_SCRIPTS="
|
|
# \"orphilia.py --configuration\"
|
|
# "
|
|
|
|
PROVIDES="
|
|
orphilia_dropbox = $portVersion
|
|
cmd:orphilia_haiku_notify = $portVersion
|
|
cmd:orphilia.py = $portVersion
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:gcc
|
|
cmd:python
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
python_setuptools
|
|
"
|
|
REQUIRES="
|
|
pathtools
|
|
python_setuptools
|
|
urllib3
|
|
watchdog
|
|
cmd:python
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
python build.py
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
# GENERIC: all python_setuptools-based installs need this
|
|
export PATH="$portPackageLinksDir/cmd~python/bin:$PATH"
|
|
pythonVersion=$(python --version 2>&1 | sed 's/Python //' | head -c3)
|
|
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
|
|
export PYTHONPATH=$installLocation:$PYTHONPATH
|
|
mkdir -p $installLocation
|
|
|
|
cd built/dependencies
|
|
python setup.py install \
|
|
--single-version-externally-managed \
|
|
--root=/ --prefix=$prefix
|
|
cd ../..
|
|
|
|
mkdir -p $installLocation/orphilia_dropbox
|
|
cp -R built/* $installLocation/orphilia_dropbox
|
|
|
|
mkdir -p $binDir
|
|
|
|
# create symlink which could be directly accessed
|
|
ln -s $installLocation/orphilia_dropbox/notify/haiku-notify $binDir/orphilia_haiku-notify
|
|
ln -s $installLocation/orphilia_dropbox/orphilia.py $binDir/orphilia.py
|
|
}
|