Commit graph

10 commits

Author SHA1 Message Date
Dmitry Marakasov
704bb9e997 - Remove bogus (in presence of USE_GITHUB) USES=tar*
- Switch to options helpers
- Fix build with GBVAM and/or without SDL (add mising files and conditions to plist)
- Fix manpage installation (patch mandir instead of moving file later, no need to empty directory in the plist)
- Fix build with LIRC (remove double patching)
- Fix build with LINK (use correct version of SFML)

Approved by:	portmgr blanket
2016-12-29 14:20:46 +00:00
Jan Beich
7f3933d17c emulators/visualboyadvance-m: unbreak build with ffmpeg 3.x
In file included from src/common/ffmpeg.cpp:62:
src/common/ffmpeg.h:70:5: error: unknown type name 'PixelFormat'; did you mean 'AVPixelFormat'?
    priv_PixelFormat pixfmt;
    ^~~~~~~~~~~~~~~~
    AVPixelFormat
src/common/ffmpeg.cpp:61:26: note: expanded from macro 'priv_PixelFormat'
 #define priv_PixelFormat PixelFormat
                          ^
/usr/local/include/libavutil/pixfmt.h:60:6: note: 'AVPixelFormat' declared here
enum AVPixelFormat {
     ^
src/common/ffmpeg.cpp:81:11: error: use of undeclared identifier 'avcodec_alloc_frame'
    pic = avcodec_alloc_frame();
          ^
src/common/ffmpeg.cpp:92:28: error: use of undeclared identifier 'CODEC_ID_NONE'; did you mean 'AV_CODEC_ID_NONE'?
    if(fmt->audio_codec == CODEC_ID_NONE)
                           ^~~~~~~~~~~~~
                           AV_CODEC_ID_NONE
/usr/local/include/libavcodec/avcodec.h:192:5: note: 'AV_CODEC_ID_NONE' declared here
    AV_CODEC_ID_NONE,
    ^
src/common/ffmpeg.cpp:163:11: error: use of undeclared identifier 'PIX_FMT_RGB24'; did you mean 'AV_PIX_FMT_RGB24'?
        pixfmt = PIX_FMT_RGB24;
                 ^~~~~~~~~~~~~
                 AV_PIX_FMT_RGB24
/usr/local/include/libavutil/pixfmt.h:64:5: note: 'AV_PIX_FMT_RGB24' declared here
    AV_PIX_FMT_RGB24,     ///< packed RGB 8:8:8, 24bpp, RGBRGB...
    ^
src/common/ffmpeg.cpp:416:13: error: use of undeclared identifier 'avcodec_encode_video'; did you mean 'avcodec_encode_video2'?
        pkt.size = avcodec_encode_video(ctx, video_buf, VIDEO_BUF_LEN, f);
                   ^~~~~~~~~~~~~~~~~~~~
                   avcodec_encode_video2
/usr/local/include/libavcodec/avcodec.h:5322:5: note: 'avcodec_encode_video2' declared here
int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt,
    ^
src/common/ffmpeg.cpp:468:13: error: use of undeclared identifier 'avcodec_encode_audio'; did you mean 'avcodec_encode_audio2'?
        pkt.size = avcodec_encode_audio(ctx, audio_buf, frame_len,
                   ^~~~~~~~~~~~~~~~~~~~
                   avcodec_encode_audio2
/usr/local/include/libavcodec/avcodec.h:5283:5: note: 'avcodec_encode_audio2' declared here
int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt,
    ^

PR:		214190
Obtained from:	upstream
Approved by:	maintainer timeout (2 weeks)
2016-11-18 22:00:57 +00:00
Kurt Jaeger
271cb25988 emulators/visualboyadvance-m: 1.8.0 -> 2.0.0b2
- patted portlint
- patches are now makepatch compliant

PR:		210058
Changes:	http://vba-m.com/forum/showthread.php?tid=1037&pid=6091#pid6091
		http://vba-m.com/forum/showthread.php?tid=1036&pid=6090#pid6090
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
Reviewed by:	pawel
Approved by:	Allison N. Reid <root@cooltrainer.org> (maintainer)
2016-08-13 15:31:43 +00:00
John Marino
bbe2ea9e1d emulators/visualboyadvance-m: Expand patch to support malloc.h-less DF 2015-11-13 08:53:52 +00:00
John Marino
1dcf992440 emulators/visualboyadvance-m: Upgrade version r1001 => r1231
Improvements:
  * Add Link support
  * Add Lirc support
  * Patch SDL interface (thanks dennylin93)
  * Several new translations
  * Many small fixes to various titles

PR:		189647
Submitted by:	maintainer (Nicole Reid)
2014-06-20 10:20:17 +00:00
William Grzybowski
2a8a9303b5 emulators/visualboyadvance-m: fix build
- Fix build [1]
- Convert lib depends to new format
- Allow staging

PR:		ports/181413 [1]
Submitted by:	David Demelier <demelier.david gmail.com> (maintainer) [1]
2013-10-05 10:49:12 +00:00
Dmitry Marakasov
b527f085b3 - Update to 1001:
- Added support for GBA cheats
  - Added RTC support
  - Added vba-over.ini support
  - Added internationalization support
  - Added 7zip support

PR:		159387
Submitted by:	Nicole Reid <root@cooltrainer.org> (maintainer)
2011-08-04 21:08:37 +00:00
Nicola Vitale
3169297712 - Update to 1.8.0r966
- Patch CMakeList.txt to build properly with devel/cmake 2.8.3
- Remove MD5 checksum from distinfo

PR:		ports/152594
Submitted by:	Nicole Reid <root@cooltrainer.org> (maintainer)
2010-12-13 09:34:23 +00:00
Dmitry Marakasov
954fc2ef67 - Add missing bits of the previous commit that somehow were not committed, this also fixed build
- Bump PORTREVISION

PR:		144064
Submitted by:	okeeblow <root@cooltrainer.org>
2010-09-24 18:19:26 +00:00
Dmitry Marakasov
ef22b6d01e VisualBoyAdvance-M is an emulator of the Game Boy, Super Game Boy,
Game Boy Color, and Game Boy Advance. The -M fork is a collection
of community patches to the original VisualBoyAdvance. It includes an
option GTK frontend.

WWW: http://vba-m.com/

PR:		144064
Submitted by:	okeeblow <root@cooltrainer.org>
2010-09-15 22:37:41 +00:00